Skip to main content

Posts

New Python Users Group in Lebanon LIPUG

Users of the Python programming language meet periodically in so-called  Python User Groups . Intermediate and advanced users share how they use the language and learn new tricks; they also welcome  beginners  and help them step in. It is a great place to ask for help and socialize with other people with a similar interest. Meetings are usually once every month, they are very informal and open to everyone. The Lebanese Python Users Group is an online group, hosted at github to share, exchange ideas, howtos, snipets, ... in many fields of the Python ecosystem * Functional paradigm * OOP Object paradigm * Reactive programming * Data Science * Machine learning All person and all ideas are welcome. This group will start with the students of the ISSAE Cnam Liban
Recent posts

Configurer l'encodage UTF-8 par défaut dans Apache Netbeans

How to create RESTful API usig Node for processing HTTP requests.

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine . Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. Node.js' package ecosystem, npm , is the largest ecosystem of open source libraries. Follow : Create RestFul API node.js and mysql : http://www.9lessons.info/2017/02/create-restful-api-nodejs-mysql.html

MySQL multiple instances on Ubuntu

Assumptions OS: Ubuntu 16.x edition – up to date Already has MySQL installed that comes default – you can easily install LAMP MySQL Server version: > 5.5 You have OS root privileges Default MySQL is running on port 3306 What will we do Set up 1 more MySQL instances on ports 3407 Each instance will have their own config files, data directories and log directories Stopping default MySQL instance sudo service mysql stop sudo ps -A | grep mysql Creating data directories MySQL cannot share data directories, so we need to set up new ones default basedir = /usr , this can be shared across instances default instance port = 3306 and data dir = /var/lib/mysql new instance        port = 3408 and data dir = /var/lib/mysql3408 MySQL must own data dirs we need to set rules in apparmor to let  MySQL  access the new dirs sudo mkdir /var/lib/mysql3408 sudo chown -R mysql /var/lib/mysql3408 Creating log directories create separate log dirs for new MySQL instances def