Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


dil_bert last won the day on June 12

dil_bert had the most liked content!

Community Reputation

5 Neutral

About dil_bert

  • Rank
    Prolific Member

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

5,196 profile views
  1. hello dear experts good day dear PHP-Freaks the question today is: VScode vs VScodium on Debian - which one to use!? i want to work with VSCode on Debian - now i have heard that there also a alternative Kit exists. vscodium - i want to configure this to work with Python and MicroPython - and of course also with PHP. what do you say - can we install this on Debian too - without any hassle?
  2. hello dear experts, i have - installed MX-Linux on a notebook. the question of the day: how to actualize all tize all the installed packages in the MX-Paket-installer!? at once!? - installed approx 4000 Packgages - 190 of them could be actualized question: how can we do a update /& actualization of all of them - at once: in other words: how to actualize all tize all the installed packages in the MX-Paket-installer!? love to hear from you
  3. hi dear Barand as allways - i am happy to hear from you - okay why Pyhton is interesting to me. I guess that there are many many ideas & things to mention here. I like Python for its cristal clear structure and the options of doing rapid prototyping. For the web - i love PHP and MySQL but for things like programming Microcontroller like ESP8266 and ESP32 ... i love using MicroPython. to reccommend the pthon-forum - this is a good idea . thanks for that. Above all: i am very very glad to be here - since this site has got such a broad variety of topics that are covered in other words: here a broad range of topics were discussed and we re able to exchange ideas, tipps and knowledge in so many fields. This is a extraordinary place. i am really happy to be here. keep up the great work - it rocks - and a specal thanks to you dear Barand for all your engagement and your encouraging in so many ways and times .. i am so glad to be here. regards Dil_bert;)
  4. hi @ all - good day dear friends, well - here some more findings: ideas and tipps for the setup of VSCode on MXlinux. some additional ideas regarding the powerful editor VSCode that i want to make ready to run with Python -(and MicroPython) why do we need a virtual environment in the Python development with VSCode how to make Python work well in the VSCode-editor. VS Code it is a powerful multi-language editor that is pretty similar to Atom and also to Sublime Text. To make it work with Python we have to enter some settings: we should make sure that python and pip work from our command line, before we start the installation-process. This has got a great impact on the following steps: In fact it will make the setup in editor and stuff like the setting and configurinig of the very important virtual environment alot easier. here i rely on a great thread - found on the pyhon-developer-page: https://python-forum.io/Thread-VS-Code-from-start?highlight=VSCode many thanks @snippsat: for the great hints he gave to us all Python 3.6/3.7 and pip installation under Windows C:\code λ python -V Python 3.7.0 C:\code λ pip -V pip 18.0 from c:\python37\lib\site-packages\pip (python 3.7) Linux if python3 point to Python 3 use that in setup later. We need that because with a a virtual environment we are able to Start VS Code literally from any folder on the whole machine, eg for a virtual environment With code . from command line in any folder will open files in that folder in VS Code. Example with virtual environment that build into Python venv # Make E:\div_code λ python -m venv my_env # cd in E:\div_code λ cd my_env # Activate E:\div_code\my_env λ E:\div_code\my_env\Scripts\Activate # Test pip (my_env) E:\div_code\my_env λ pip -V pip 10.0.1 from e:\div_code\my_env\lib\site-packages\pip (python 3.7 # Install required package (my_env) E:\div_code\my_env λ pip install requests Collecting requests to start the VS-Code: # Start VS Code (my_env) E:\div_code\my_env λ code . so now we have a setting that is very powerful: it automatically find Python interpreter in virtual environment. So if we push run button it will use Python version in the so called virtual environment. again': here i rely on a great thread - found on the pyhon-developer-page: https://python-forum.io/Thread-VS-Code-from-start?highlight=VSCode one question: this was a setup and configuration-text that is based on windows Well i want to run VSCode in MX-Linux - which is debian based. Guess that i can give it a try and i can install VSCode on the MX-Linux. conclusio; i will give it a try and come back here and report all the findings. regards dil_bert
  5. hello again;) hello dear phpfreaks - again me - dil_bert: there were many options to rin VSCode under Linux. But what about the very intersting MX-Linux!? i would love to hear from you - what are your experiences and what were your steps. Which extensions do you use - and how do you manage to prepare VSCode to work with a. PYthon b. MicroPython here we need certain plugins and extensions - here we have to set up the environment. How do we do that!?
  6. Installing the Visual Studio Code on Linux - how to do that!? the well known open source code editor Visual Studio Code is becoming more and more well known. the question is: how to install Visual Studio Code in Ubuntu and - even more interesting in many other Linux distributions. Ubuntu is not the only Linux-system it is only a very very little part of the linux world. by releasing Visual Studio Code for all major desktop platforms that includes Linux as well the Coding Community was enlighted and yes: they are very happy.. The Visual Code became more and more famous - and during the time one of the best open source code editors. To sume up: The feature it provides are useful not only to web developers but for other languages too. I am not going to list the features of Visual Studio Code here. Zhe question is: how to install Visual Studio Code on Ubuntu and other Linux distributions. the idea 1. Install Visual Studio Code in Linux using Snap visual Studio Code is available as a Snap package. theUbuntu users can find it in the Software Center itself and install it in a couple of clicks. Visual Studio Code in Ubuntu Software Center - but again: ubuntu is not the only linux - only one of many many distributions. The Idea of using snap is somewhat strange. Snap packaging means you can install it in any Linux distribution that supports Snap packages. Make sure to enable Snap support on your Linux distribution. if we are on a certain linux-system then we can then install VS Code using this command: sudo snap install code --classic idea 2. Using the .deb/.rpm installation files: the good thing: the developer of the VSCode provides packages to install Visual Studio Code in Linux. To go this way seems to be pretty easy: Just head over to the download page of Visual Studio Code and you’ll find the .deb and .rpm files (for Fedora systems) options under Linux. But what about the very intersting MX-Linux!?
  7. hello dear Baraqnd many many thanks for the quick answer - and the idea - that sounds very interesting. regards
  8. If we want to know the hostname of the Mysql-database - then we can use this following query in the terminal resp. the MySQL Command line-terminal: we can run the following command in the terminal: SHOW VARIABLES WHERE Variable_name = 'hostname'; mysql> SHOW VARIABLES WHERE Variable_name = 'hostname'; +-------------------+-------+ | Variable_name | Value | +-------------------+-------+ | hostname | Dell | +-------------------+-------+ 11 row in set (0.00 sec) It will give us all the hostname-data for mysql. and furthermore : if we want to get more - if we want to know the username of our Mysql then we can run more commands to get these data; We can run this query on MySQL Command line client -- select user(); mysql> select user(); +----------------+ | user() | +----------------+ | root@localhost | +----------------+ 1 row in set (0.00 sec) It will give us the username for mysql. but if we want to get more data the n eg - if we want to know the port number of the local host on which Mysql is running we can find out thhis with the following command,. SHOW VARIABLES WHERE Variable_name = 'port'; mysql> SHOW VARIABLES WHERE Variable_name = 'port'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | port | 3306 | +---------------+-------+ 1 row in set (0.00 sec) this command is very vers intersting: It will give us the port number on which MySQL is running. but i have some questions - If a installation attempt can't find my socket file, or if we have multiple MySQL servers running on our computer, we must enter the location of the socket file. this means wee have to see Where are the MySQL's Files? for common socket file locations. sometimes we can try using localhost instead of MySQL treats the hostname localhost specially. well the question is - where do i need to add the socketpath - and where do i need to enter #"localhost" - or love to hear from you
  9. i needed to do a quick change / Reset of the WordPress password using MySQL / PHPMyAdmin well what happened: i have forgotten te password to login to the wordpress-page: so i need to do a reset of the Recover lost WordPress password from PHPMyAdmin / MySQL. UPDATE `wp_users` SET `user_pass`= MD5('yourpassword') WHERE `user_login`='yourusername'; whereas i do the following i put the new password in place of the term: yourpassword and furthermore i replace the term yourusername with the current WordPress username. that worked well! is there a quicker way to do this!? btw: the optoin of __Reseding__ the credentials did not function : - the system gave back that the mail- was not running !? what can i do here!? greetings
  10. root@MartinsMX-Rechner:/home/martin# su root@MartinsMX-Rechner:/home/martin# apt-get install python3-venv Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig The following additional packages will be installed: python3.5-venv Die folgenden NEUEN Pakete werden installiert: python3-venv python3.5-venv 0 aktualisiert, 2 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen [ration werden 39,9 kB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] j Holen:1 http://ftp.de.debian.org/debian stretch/main amd64 python3.5-venv amd64 3.5.3-1+deb9u1 [5.954 B] Holen:2 http://ftp.de.debian.org/debian stretch/main amd64 python3-venv amd64 3.5.3-1 [1.066 B] Es wurden 7.020 B in 0 s geholt (40,6 kB/s). Vormals nicht ausgewähltes Paket python3.5-venv wird gewählt. (Lese Datenbank ... 256952 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../python3.5-venv_3.5.3-1+deb9u1_amd64.deb ... Entpacken von python3.5-venv (3.5.3-1+deb9u1) ... Vormals nicht ausgewähltes Paket python3-venv wird gewählt. Vorbereitung zum Entpacken von .../python3-venv_3.5.3-1_amd64.deb ... Entpacken von python3-venv (3.5.3-1) ... python3.5-venv (3.5.3-1+deb9u1) wird eingerichtet ... Trigger für man-db ( werden verarbeitet ... python3-venv (3.5.3-1) wird eingerichtet ... root@MartinsMX-Rechner:/home/martin well i did this - but at the moment i guess that the com port is not showing up1? i will do more further research
  11. if i go this way and do this - then i run into errors... root@MartinsMX-Rechner:/home/martin# python3 -m venv myVirtEnv The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command. apt-get install python3-venv You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: [‘/home/martin/myVirtEnv/bin/python3’, ‘-Im’, ‘ensurepip’, ‘–upgrade’, ‘–default-pip’] root@MartinsMX-Rechner:/home/martin# hmm - i have to try out and to find out more... - i do that and come back to report all the findings...
  12. hi there . good evening dear Barand, 😃 first of all - many many thanks for the reply. - your replies and your tipps allway were wellcome. 😉 well probably i ve forgotten to do some environment-settings. And yes - since i have used a debian based instruction - this should also work on MX-Linux which is debian based too!? i now will do some more resarch... and will take care for more set-up-things...: cf: https://randomnerdtutorials.com/install-upycraft-ide-linux-ubuntu-instructions/#comment-396915
  13. i can do some tests with a spimple test the connection script : <?php if(function_exists('mysqli_connect')){ if(!($link = mysqli_connect('localhost','username','password','my_db'))){ die('could not connect: ' . mysqli_error($link)); } } else { die("don't have mysqli"); } echo 'connect successfully'; mysqli_close($link);[/CODE]
  14. hello dear experts, where to change the wordpress-password for the access to the page!? can i change this in the admin area!?
  15. just have installed upyCraft IDE - on a MX-Linux - want to run this with a ESP8266 board which is connectexd via USB-wire but there is no com port visible... Install uPyCraft IDE – Linux Ubuntu Instructions vgl der Link : "https://randomnerdtutorials.com/install-upycraft-ide-linux-ubuntu-instructions/ well - at the moment i have no glue ....
  • 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.