Skip to content

Instantly share code, notes, and snippets.

@dcslin
Last active January 22, 2019 06:45
Show Gist options
  • Save dcslin/8c406ea26e850c21ff785e34f3974690 to your computer and use it in GitHub Desktop.
Save dcslin/8c406ea26e850c21ff785e34f3974690 to your computer and use it in GitHub Desktop.
singa-helpers
cmake \
-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python \
-DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.2 \
-DPYTHON_LIBRARY:FILEPATH=/usr/lib/libpython3.2.so \
..
# test github ssh key
ssh -T git@github.com
# docker mount host dir to container
docker run -v /host/directory:/container/directory -other -options image_name command_to_run
#
git remote -v
git remote add <upstream-name> <git-url>
git fetch <upstream-name>
git checkout --track <upstream-name>/<branch>
# find mkldnn lib for linker
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment