Skip to content

Instantly share code, notes, and snippets.

View chuongvhn's full-sized avatar
😃

Chuong Vo chuongvhn

😃
  • York, UK
  • 14:32 (UTC +01:00)
View GitHub Profile
$ git remote add upstream https://github.com/[Original Owner Username]/[Original Repository].git
$ git fetch upstream
$ git checkout master
$ git merge upstream/master
$ git push
@chuongvhn
chuongvhn / keybase.md
Created November 20, 2019 05:44
Keybase proof

Keybase proof

I hereby claim:

  • I am chuongvhn on github.
  • I am chuongvo (https://keybase.io/chuongvo) on keybase.
  • I have a public key ASCOqIkA8M_u6wFepynhcXuU5g9BZAsL4V0oGKbnmiA0fQo

To claim this, I am signing this object:

@chuongvhn
chuongvhn / gist:32d0496c3d2feedde59ba39b817ed04b
Last active March 24, 2019 08:08
BOOST build instruction

Assume we're on 64-bit PC

Windows:

$bootstrap.bat --libdir=<where to store lib file> --includedir=<where to store header file>

  • 32-bit

$b2 --toolset=msvc-12.0 --layout=versioned --build-type=complete address-model=32 architecture=x86 cflags=-m32 cxxflags=-m32 instruction-set=i686 threading=multi install

  • 64-bit

$b2 --toolset=msvc-12.0 --layout=versioned --build-type=complete threading=multi install

Linux:

$bootstrap.sh --libdir=<where to store lib file> --includedir=<where to store header file>

  • 32-bit