start new:
tmux
start new with session name:
tmux new -s myname
| // Type-safe varargs with C++11 variadic templates. | |
| // | |
| // Andreas Fredriksson <deplinenoise at gmail dott com> | |
| // | |
| // This code is in the public domain. | |
| #include <stdio.h> | |
| #include <stdarg.h> |
| #!/usr/bin/env python | |
| """ | |
| Assist in performing online Text-To-Speech and immediate playback. | |
| """ | |
| import sys | |
| import requests | |
| import urllib | |
| import tempfile | |
| import commands |
| #!/usr/bin/python | |
| # | |
| # git-slim | |
| # | |
| # Remove big files from git repo history. | |
| # | |
| # Requires GitPython (https://github.com/gitpython-developers/GitPython) | |
| # | |
| # References: | |
| # - http://help.github.com/remove-sensitive-data/ |
| If you want to clone an svn repository with git-svn but don't want it to push all the existing branches, here's what you should do. | |
| * Clone with git-svn using the -T parameter to define your trunk path inside the svnrepo, at the same time instructing it to clone only the trunk: | |
| git svn clone -T trunk http://example.com/PROJECT | |
| * If instead of cloning trunk you just want to clone a certain branch, do the same thing but change the path given to -T: | |
| git svn clone -T branches/somefeature http://example.com/PROJECT |
| # Function for setting up precompiled headers. Usage: | |
| # | |
| # add_library/executable(target | |
| # pchheader.c pchheader.cpp pchheader.h) | |
| # | |
| # add_precompiled_header(target pchheader.h | |
| # [FORCEINCLUDE] | |
| # [SOURCE_C pchheader.c] | |
| # [SOURCE_CXX pchheader.cpp]) | |
| # |