Read MySQL database with PHP – php-pdo

Install LAMP web development stack, and write a simple PHP program to read MySQL database.

Posted in Uncategorized | Leave a comment

Ubuntu 16.04 Xenial Guest on Vagrant – vagrant init bento/ubuntu-16.04

Vagrant can install a virtual guest system in two minutes. Vagrant also configures guest SSH server automatically. To use latest Ubuntu 16.04 LTS Xenial, you should use box bento/ubuntu-16.04. $ vagrant init bento/ubuntu-16.04 $ vagrant up $ vagrant ssh That’s … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Instant Firewall – sudo ufw enable

Firewall prevents access to all ports, except the ones you allow. Ubuntu ‘ufw’ command makes it easy to set up a firewall on Ubuntu. It only takes two commands to set up a firewall: $ sudo ufw allow 22/tcp $ … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Simple Line Graph with Plotly.js

Draw a simple line graph with Plotly.js. With Plotly, drawing a line graph is just a single line of code.

Posted in Uncategorized | Tagged , , , , , , | Leave a comment
  • Picks

  • Boxing Clock for AndroidOcton8 Diving T-ShirtsShaking Tower Panda Android GameLearn Chinese with Android
  • Student projects