$ umount /dev/sdx*
$ sudo fdisk –l
$ sudo mkfs.vfat /dev/sdx –I
$ sudo dd if=[path to iso] of=/dev/sdx
monitor progress $ pgrep –l ‘^dd$’ get the PID returned $ kill –USR1 [PID]
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Real-time LaTeX in browser</title> | |
| <!-- https://github.com/mathjax/MathJax/blob/master/test/sample-dynamic-2.html --> | |
| <!-- Copyright (c) 2012-2015 The MathJax Consortium --> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
Building from source without homebrew or any other package manager.
Download the latest version of the [https://pkg-config.freedesktop.org/releases/?C=M;O=A](pkg-config source).
LDFLAGS="-framework CoreFoundation -framework Carbon" ./configure --with-internal-glib
make
sudo make install
| /* | |
| Serve is a very simple static file server in go | |
| Usage: | |
| -p="8100": port to serve on | |
| -d=".": the directory of static files to host | |
| Navigating to http://localhost:8100 will display the index.html or directory | |
| listing file. | |
| */ | |
| package main |
| package main | |
| import ( | |
| "fmt" | |
| "net/http" | |
| auth "github.com/abbot/go-http-auth" | |
| ) | |
| func Secret(user, realm string) string { | |
| if user == "john" { |