install hugo
$ brew install hugo
check the version of hugo
$ hugo version
Hugo Static Site Generator v0.38 darwin/amd64 BuildDate:
$ sudo vim /boot/config.txt
180 degree add the following line
lcd_rotate=2
reboot
$ sudo reboot
install generator
$ npm install --global yo generator-electron
make a folder for an app
$ mkdir AppName
generate an Electron app
$ yo electron
sphere.frag
uniform float u_time;
uniform vec2 u_mouse;
uniform vec2 u_resolution;
const float PI = 3.14159265;
const float angle = 60.0;
const float fov = angle * 0.5 * PI / 180.0;
$ lsusb
Bus 001 Device 004: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 001 Device 005: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ arecord -l
check version
$ cat /etc/debian_version
$ apt-get update
$ apt-get -y install nginx
$ apt-get -y install uwsgi-plugin-python3
"#### settings ####
set number " display line numbers
set title
syntax on
set tabstop=4
set shiftwidth=4
set noswapfile
"set matchpairs& matchpairs+=<:>
$ pip install something
Command "python setup.py egg_info" failed with error code 1
$ sudo pip install --upgrade setuptools