2018年2月4日 星期日

Optimizing WebGL

use emscripten
編譯OpenGL ES "-s FULL_ES2=1"

kripken 

2018年1月28日 星期日

WebAssembly

Download

$ git clone https://github.com/juj/emsdk.git
$ cd emsdk
$ ./emsdk install latest
$ ./emsdk activate latest

source
$ source ./emsdk_env.sh --build=Release

compile
emcc hello.c -s WASM=1 -o hello.html

$mv hello.html /var/www/html/.

open it in your browser.

2017年11月20日 星期一

Latex 安裝在ubuntu上

安裝

sudo apt-get install texlive-full

sudo apt-get install texmaker

編譯成pdf

pdflatex filename.lex

2017年11月2日 星期四

apache restart fail

AH00557: apache2: apr_sockaddr_info_get() failed for excellentjay-Satellite-L750
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
 
add the following line in /etc/apache2/apache2.conf 
 
ServerName localhost