Bash HTTP server

5 lines code make a HTTP server 1

Principles of a Good Research Report

12 principles 1 :

PHP Data Analysis

php execute linux shell command

  • exec : returns the last line of the output by default, but can provide all output as an array specifed as the second parameter.
  • shell_exec : returns all of the output stream as a string. 1
  • system() : displays output directly without using echo or print. 2
  • passthru() : when the output from the Unix command is binary data 3
  • proc_open(): proc_open — Execute a command and open file pointers for input/output 4

PhantomJS

centos 7

``` yum install epel-release -y yum install nodejs npm bzip2 fontconfig -y

Chrome headless

Mac OS 1

GIT SSH key

Generate key 1

Linux DNS

Using network-manager 1.

apt-get install network-manager
nmcli dev show | grep DNS
nm-tool | grep DNS

Compress and extract files

Command line

Docker in Raspberry Pi 3

Remove Docker 1.8

apt-get remove docker.io
apt-get autoremove
apt-get clean