Skip to content

Instantly share code, notes, and snippets.

View quantjin's full-sized avatar

QuantJin quantjin

View GitHub Profile
@quantjin
quantjin / install python package.md
Created March 28, 2017 08:28
install local python package
cd path/to/foo
python setup.py install --user
@quantjin
quantjin / babelify.md
Created March 3, 2017 05:38
browserify + babelify
node node_modules/browserify/bin/cmd.js lib/client/honeycomb/main.js -o assets/honeycomb.js -t babelify
@quantjin
quantjin / mount vboxsf.md
Created January 18, 2017 01:02
mount vboxsf
[jerry@chemlabtest ~]$ mkdir share
[jerry@chemlabtest ~]$ sudo mount -t vboxsf Downloads ~/share/
@quantjin
quantjin / cat.md
Created December 13, 2016 03:43
concatenate files
find . -type f -name '*.txt' -exec cat {} + >> output.file
@quantjin
quantjin / swig.md
Created November 24, 2016 09:15
swig to parse hpp to xml
swig -xml -c++ -module cashflow cashflow.hpp
@quantjin
quantjin / forceSSL.md
Created July 22, 2015 09:24
Angular.js enforce SSL
@quantjin
quantjin / backtrace.md
Created June 23, 2015 07:56
GDB Back Trace
$ ulimit -c unlimited

$ gdb ntest core.5711
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
LN -s /cygdrive/c/Program\ Files/Java/<jre name> /usr/local/<jre name>