Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


dil_bert last won the day on June 12 2019

dil_bert had the most liked content!

Profile Information

  • Interests
    used OpenSuse for more than 10 years - now stick to Mx-Linux; Interested in all raspi-things, Python, Perl, PHP and GIS,

Recent Profile Visitors

11,872 profile views

dil_bert's Achievements

Prolific Member

Prolific Member (5/5)




Community Answers

  1. dear phpFreaks Community,😉 hello dear all; this is a slightly off-topic-question whats the most appropiate way and method to import the dataset (and the map) of a healthsites.io-request to wordpress: lets take for example the following request: https://healthsites.io/map?country=Italy should we do this via a shapefle note: A Line layer consists of two different types of OSM features, Ways and Nodes. ... sections of this plugin section according to their functionality (editing, identification, etc.). BTW - can i export the data of healthsits only in CSV formate - that means: what if i only want to gather the POI Then i can poulate the data in to a MySQL or PostGreSQL db is this doable too!? btw: i am also running https://healthsites.io/api/docs/#api-v2-facilities-list and I have an error 502. Healthsites API Version 2 https://healthsites.io/api/docs/#api-v2-facilities-list look forward to hear from you
  2. dear friends, and freaks dear Community today no talk about the latest MX-release, or Anaconda & Miniconda or tools like VScode / Spyder that i need. Also - no talk about Thunderbird and the Enigma or the latest Linux-kernel and things like that. And yes. Today also no question or posting regarding php or MySQL, here in this posting a little note about the fact that the WordPress version 5.8 was released in BETA 4 - for testing. note: The final relase is sheduled for the July 20th - stay tuned. - 215 tickets were adressed & gefixt in WordPress 5.8, - 88 new Features and improvements; see : many new Features in WordPress 5.8 in BETA 4: Direct Download of Beta Version here (zip): https://wordpress.org/wordpress-5.8-beta1.zip Alpha/Beta/RC Forum Feedback and bug reports report here please https://wordpress.org/support/forum/alphabeta/ more data, Infos, Links and Details here: WordPress 5.8 Beta 4 is now available for testing! https://wordpress.org/news/2021/06/wordpress-5-8-beta-1/ see vgl. https://wordpress.org/news/2021/06/wordpress-5-8-beta-1/ In addition to those changes, contributors have fixed 215 tickets in WordPress 5.8, 88 new features and enhancements, with more bug fixes on the way.
  3. dear PHP-Freaks first of all i hope youre well and every thinggoes well. I hope that your hometown is doing well and is able to manage all the covid 19 things. here i want to share some ideas on a installation of Miniconda on a MX-Linux-System. To write down these steps help me to learn. So i want to share with you the first steps in working with Miniconda on a linux box. My approach: i am currently installing Miniconda on a MX-Linux and i am doing this via Terminal (commandline) the first steps are the follwing first i am heading for the download of the latest shell script with the following line: wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh now we have the repo on the machine: Fine - but let us go ahead_ now we have to make the miniconda installation script executable chmod +x Miniconda3-latest-Linux-x86_64.sh This is a pretty important step: Next the installer will prompt us where we want to install Miniconda. We will be given exactly three different options or let us say: choices or methods. We need to decide the location where we want to install all that stuff: so here we go: We need to press the ENTER - button on the keyboard to accept the choosen default install location i.e. our $HOME directory. on a sidenote: even more important: if we don't want to install in the default location, we are of course free to press the following buttons on the keyboard CTRL+C to cancel the installation or mention an alternate installation directory. Note: if we want to go with the default installation path, which is /var/home/doctor_linux/miniconda3 then we can run the miniconda installation script to go ahead: creating and activating our so called conda environment. well this is one of the last steps: We now need to create and activate an so called conda environment on our machine. To create a conda environment, we need to run the following command - (see the conda-cheetsheet for more commands) we can also create the environment from a file like the so called environment.yml, and besides this we also are free to use the conda env create -f command: if you like conda: just see the conda-cheetsheet for more commands. for the fully fledged installation to take effect, we have to do some additional steps e.g. we have to do the following: close and re-open our Terminal. Alternatively, we re able to run the following command to get the changes immediately in effect - (in other words: to verify all that above steps): we will now see the so called prefix (base) in front of our shell prompt of our machine. It means that the conda's base environment is activated. And as mentioned above: if you like conda: just see the conda-cheetsheet for more commands. well so far so good: if you like conda: just see the conda-cheetsheet for more commands. but wait: there is even more: there is another option the so called Miniconda unattended (or let us say silent) installation . the Miniconda installer script comes with options to perform a so called unattended installation. 'This is somewhat fantastic since it doesn't require any manual intervention from the us - the user. it is also called a still-installation that runs in the background: great. to go this way we need to do some steps. First, we need to create a directory for Miniconda installation: Download the installer script: $ wget https://repo.anaconda.com/miniconda/Miniconda3-py39_3.1.2-Linux-x86_64.sh Btw: Wget is a famous way. See the beginning of the thread: we also have used this at the top - in the first approach. now we have to verify the checksum as shown above. And then we follow the steps of the so called silent installation to some more commands to install Miniconda in silent mode: well so far so good: if you like conda: just see the conda-cheetsheet for more commands. I hope you find this useful - if you have any ideas or comments on this approach i love to hear from you
  4. good day dear community, installing Miniconda on a Linux-Box: adding the vscode and Spyder to the whole system i have done lots of setups - for example i am running Anaconda both on Win and MX-Linux. well now i want to give conda a try: well i guess it is a bit more tricky: can we do it like so: we need a snippet that helps to create a directory to install miniconda into it, After we have set up this - then we can start to download the latest python 3 based install script for Linux 64 bit, Done so we an go ahead and try to execute or run the install script which helps us :- subsequently we can at the end delete the install script, Then - at this point we can do the adding and intializing of Conda: --a conda initialize to our bash or the so called zsh shell. That said: If we follow ths path then we at the can do a cool restart of the shell and conda will be ready to go. mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm -rf ~/miniconda3/miniconda.sh ~/miniconda3/bin/conda init bash ~/miniconda3/bin/conda init zsh If we are here we can go ahead: # note: we just have done one important thing. We ve fetched Anaconda via wget that wen very nice. now we can do even more: the miniconda.sh has got some cool basic options. Most notably we can say that we just have used -b to be able to run the whole thing unattended, which means that all of the agreements are automatically accepted without user prompt. I like this option very very much. It is pretty cool. But there is even more. -u updates any existing installation in the directory of install if there is one. -p is the directory to install into. here i have a litte - lets say - cheat sheet that helps us with the usage: see more /root/miniconda3/miniconda.sh [options] Installs Miniconda - the version - see 3 4.6.14 -b run install in batch mode (without manual intervention), it is expected the license terms are agreed upon -f no error if install prefix already exists -h print this help message and exit -p PREFIX install prefix, defaults to /root/miniconda3, must not contain spaces. -s skip running pre/post-link/install scripts -u update an existing installation -t run package tests after installation (may install conda-build) at the end oft theday we have even more options Silent/Logged A quick and easy way to silence everything or to log it to a file during an automated install is to wrap the script into a bash function, or save it to its own file, and call the file. I like the function method since I can still copy it right into a terminal, or keep my install script as one single file. and besides that install_miniconda () { mkdir -p ~/miniconda3 wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3 rm -rf ~/miniconda3/miniconda.sh ~/miniconda3/bin/conda init bash ~/miniconda3/bin/conda init zsh } normal But wait: What do we do now: note: now we need to have packages and all that things. how to do now more - a. the installation of all the packages b.. the installation of VSCode and Spyder and Jupyter notebook!? any idea or tipp!?
  5. Philwiss we follow you whereever you are. all of the folks here should know that you are a user from Linuxquestions.org - and they hate you over there: Your have not many friends over there. They know who you are. lets have a closer look at your fancy funny and dull postings: and at your terrible habits - and the user at Linuxquestions-they know him very well: they have beaten him - they do not like him over there. in Fact: they call him what he is: a troll with ugly nasty habbits. see ugly minded troll at linuxquestion. They treat him as a ugly Troll - see the threads https://www.linuxquestions.org/questions/linux-newbie-8/help-me-4175623526/page2.html https://www.linuxquestions.org/questions/linux-server-73/how-to-disable-directory-listing-for-specific-directories-in-apache-4175685395/page2.html https://www.linuxquestions.org/questions/linux-newbie-8/linux-shell-script-content-4175687413/page2.html https://www.linuxquestions.org/questions/linux-desktop-74/difficulties-w-19-1-a-4175647896/ and so forth poor guy - tbone... your lost now. we know you and we follow you
  6. hello dear all conda update spyder vs. pip-methods : some basic decisions i run Anaconda on MX-Linux and i love it. btw; my python version is python 3.8.4 my spyder is 4.0.1 vsCode 1.52.1 i want to update all these how can i do this!? note: see the spyder.-man.-pages for some details: https://docs.spyder-ide.org/5/installation.html While this installation method is a viable option for experienced users, installing Spyder (and other PyData-stack packages) with pip can lead to a number of tricky issues. While you are welcome to try this on your own, we unfortunately do not have the resources to help you if you do run into problems, except to recommend you use Anaconda instead. You can install Spyder with the pip package manager, which comes by default with most Python installations. Before installing Spyder itself by this method, you need to acquire the Python programming language. You’ll first want to create and activate a virtual environment in which to install Spyder, via one of the following methods. With virtualenvwrapper: mkvirtualenv spyder-env workon spyder-env Otherwise, on macOS/Linux/Unix: python3 -m venv spyder-env source spyder-env/bin/activate (base) martin@mx:~ $ conda update spyder Collecting package metadata (current_repodata.json): done Solving environment: - Updating spyder is constricted by anaconda -> requires spyder==4.0.1=py37_0 If you are sure you want an update of your package either try `conda update --all` or install a specific version of the package you want using `conda install <pkg>=<version>` done # All requested packages already installed. (base) martin@mx:~ $ conda install spyder 5.00 Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. PackagesNotFoundError: The following packages are not available from current channels: - 5.00 Current channels: - https://repo.anaconda.com/pkgs/main/linux-64 - https://repo.anaconda.com/pkgs/main/noarch - https://repo.anaconda.com/pkgs/r/linux-64 - https://repo.anaconda.com/pkgs/r/noarch To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page. (base) martin@mx:~ $ conda update spyder Collecting package metadata (current_repodata.json): done Solving environment: - Updating spyder is constricted by anaconda -> requires spyder==4.0.1=py37_0 If you are sure you want an update of your package either try `conda update --all` or install a specific version of the package you want using `conda install <pkg>=<version>` done well - while doint the update - i got into abortion....see https://pastebin.com/bB16kKJp
  7. update: i have a closer look: in synaptic we have xrdp and other thigns. and yes: i also will consult the manpages to see how you should configure the inifile cf the following pages: man xrdp https://linux.die.net/man/8/xrdp man xrdp-sesman https://linux.die.net/man/8/xrdp-sesman man xrdp.ini https://www.mankier.com/5/xrdp.ini besides this - i have heard that some folks tend to look for for an GUI clients: remmina had a plugin for rdp, and IIRC vinagre supports rdp, and other things more
  8. dear community, How to Use Remote Desktop Connection in MX-Linux well - i need to get an idea how to use Remote Desktop Connection in mx-Linux: i need to connect to a remote server - the only instruction i have found so far is this How to Use Remote Desktop Connection in Ubuntu https://www.nakivo.com/blog/how-to-use-remote-desktop-connection-ubuntu-linux-walkthrough/ sudo apt-get install -y vim net-tools openssh-server the question is: In order to configure Ubuntu RDP connections, you need to install the RDP client or/and the RDP server, depending on the connection direction. well the question is - is it enough to run this command: sudo apt-get install -y vim net-tools openssh-server
  9. hello dear community, first of all : i hope that youre well and all goes well ! one question regarding google - calendar: - i want to add multiple events to each day. i have a large table with 365 quotes - for one day one row... see below: well i want to add these data to the g calendar - and i want to add the texts of the three colums to each day. that means: and each day contains all the three texts - that means a the question is: how to achive that!? with automated process i only have managed to do this manually if i t ry to do this automatically - look forward to hear from you regards
  10. update: tried to install all anaconda-things according the official instruction - went the hard way - on terminal: see these docs: https://docs.anaconda.com/anaconda/install/linux/ a quick walktrough through the steps ended up in fully-fledged installation of Anaconda3 next steps are shown here: https://docs.anaconda.com/anaconda/user-guide/getting-started/ Linux: Open a terminal window and type anaconda-navigator. voila - now Anaconda3 starts... conclusio: all is fine now.. have a great day
  11. update: tried to install all anaconda-things according the official instruction - went the hard way - on terminal: see these docs: https://docs.anaconda.com/anaconda/install/linux/ a quick walktrough through the steps ended up in fully-fledged installation of Anaconda3 next steps are shown here: https://docs.anaconda.com/anaconda/user-guide/getting-started/ Linux: Open a terminal window and type anaconda-navigator. voila - now Anaconda3 starts... conclusio: all is fine now.. have a great day
  12. due to some hints we are aware of risks that are combined with php mail cf https://blog.ripstech.com/2017/why-mail-is-dangerous-in-php/
  13. dear friends dear Jamesbrown - good day hope youre well and all goes all right at your hometown. Hope that your town is dealing well with the covic-19 things. i did some further tests: and i runned some scripts in order to test the the mail-functions oft he sever by the way and on a sidenote: i also checked some things in the php.ini: The php.ini has smtp_port = 25 set but this function - we do not need for our checks... at the moment. . below some of the tests - / note i tested some scripts -... all of them see below - with the results mailtest10.php: Test-results: email sent - but no mail received at my inbox taken from: https://conetix.com.au/support/simple-php-mail-test/ <?php ini_set( 'display_errors', 1 ); error_reporting( E_ALL ); $from = "My_testmai_adress_@mywebserver.com"; $to = "My_testmai_adress_@mywebserver.com"; $subject = "PHP Mail Test script"; $message = "This is a test to check the PHP Mail functionality"; $headers = "From:" . $from; mail($to,$subject,$message, $headers); echo "Test email sent"; ?> <<<<<<<<<<<<<<<<<< mailtest20.php: Test-results: Error: Message not accepted taken from: https://www.arclab.com/en/kb/php/how-to-test-and-fix-php-mail-function.html <?PHP $sender = 'My_testmai_adress_@mywebserver.com'; $recipient = 'My_testmai_adress_@mywebserver.com'; $subject = "php mail test"; $message = "php test message"; $headers = 'From:' . $sender; if (mail($recipient, $subject, $message, $headers)) { echo "Message accepted"; } else { echo "Error: Message not accepted"; } ?> <<<<<<<< mailtest30.php: Test-results: Testing PHP mail - this text was shown up taken from: https://tekeye.uk/html/php-mail-script-for-testing-email-sending <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>PHP Mail Test</title> </head> <body> <h1>Testing PHP mail</h1> <?php //Use your test email address $to = 'My_testmai_adress_@mywebserver.com'; //Use an appropriate email subject $subject = 'A Test Email'; $message = 'The quick brown fox jumped over the lazy dog. Then the fox jumped over the dog again.'; //wordwrap long content $message = wordwrap($message, 70, "\r\n"); $headers = 'From: some.body@example.com'; //Send the email if(mail($to, $subject, $message, $headers)) { echo 'Email sent out'; } else { echo '<pre>'; print_r(error_get_last()); echo '</pre>'; } ?> </body> </html> Well - now i will have a closer look at the server-conditions. btw - besides the various scripts i found some other ressoruces that cover the topic-mail-deliverability and sending mails from a server: here i found a with explanaitions - on a sidenote with explanaitions i found a great and a very interesting site that reveals lots of information for mail-deliverabilty see https://stackoverflow.com/questions/24644436/php-mail-function-doesnt-complete-sending-of-e-mail interesting points here are some of the following:
  14. dear comunity .... years later i am facing issues - with a new and fresh install, i guess that i have to recapitulate and to "revisite" the old taks - in order to get done all the steps to configure the settings - especially the e-mail-settings. pm a fresh installed wp - the newest version 5.6 i ve got an Error: background: with a new project i want to make sure, that works all propper and is set up correctly. so i just wanted to check the e-mail-setting of the server. i have heard that there are appropiate ways and methods to check mail functions. Well to check whether an email is sent out - we can do this with simple methods: a good and nice option is the following: we can do this by doing a password-reset-email: well, by far the :easiest method to check: if WordPress can send email is to request a password reset. To do this, we have to make sure to log out of the account on the site and go to the login page, e.g. like so: go the wordpress-page.il/wp-login.php if we arrive on that page we just click the following notion “Lost your password?” text: then we will arrive on the next page, here we can add our e-mail address of the according user account and demand our new passwd: a texts pops up: “Get New Password.” last step: if get the new passwd - then the system works propperly. but i do not get any password mailed - instand of this i get the message: Error: The email could not be sent. Your site may not be correctly configured to send emails. Get support for resetting your password. further checks: to do more tests to check if wp_mail is working properly if i have configured the server correctly? in other words: i want to check whether an email is sent out using: what is important here: The php.ini has smtp_port = 25 set - this i have checked. What can i do now - what should i do - which steps should i take!?
  15. hi there - good day dear Gizmola, first of all: many thank😊 these links reveal lot of information and show very interstings pathways to the topic of geospatial approach. many thanks for these great hints: Looking from a backend perspective i am at the point to work with stored geographic data of many locations. Working with these data is a important step. working out functions that calculate the distance between between two locations (to show how far the location is from another). Its all about working out an algorithm that suppots these geospatial work. Thank you for sharing these tutorials and study material. Well i am very happy that you have shown some tutorials in the field of MySQL; i am working with openstreetmap-data for many months now - in the last time i thought that need to have - not only requests to the endpoint of Openstreetmap API but more than that - - ability and capability to store the datasets in a db and to work with the data - to have internal procedures/functions to calculate & search locations in the database I am very happy dear Gizmola that you show my MySQL tutorials and study material since i am a bit familiar with MySQL. on a sidenote: many many of my friends have installed PostGreSQL and suggest PostGIS. but i need to have a lean start here - i only want to work with POI - and i do not want to work with full maps and Shapefiles at the moment. So i am happy to have these approaches and pathways that you have shown me. I look at all the datasets, materials and your shared stuff. Also many many thanks for sharing the study materials and tutorials regarding PostGIS and PostgreSQL. Thats a great addition to the MySQL-tutorial-stuff. And here some (many many!!) thank to you, and all the others that do such a great support. You, dear Gizmola, but also the others here namely: requinix and Barand but also Kicken, gw1500se - all of you do a superb job here. This is a great place to be. A place where programmers share ideas and help each other to grow. I love phpFreaks since it is an online community that supports sharing and discovering new ideas and pathways to solve issues in programming. I love this place for discussing computer topics - not only php-realted but also lots of others more. Many thanks for your support - that you are here. Many thanks for this place where we can have debates, and make friends. In the next few days i will have a closer look at all the stuff that you provided. have a great day regards Dil_bert😊
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.