(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| #include "dynamicarray.h" | |
| using namespace std; | |
| DynamicArray::DynamicArray() { | |
| DynamicArray::DynamicArray(5); | |
| } | |
| DynamicArray::DynamicArray(int initSize) { | |
| size = initSize; |
| source :rubygems | |
| gem 'sinatra' | |
| gem 'sinatra-assetpack' | |
| gem 'json' | |
| gem 'therubyracer' | |
| gem 'less' |
| pandoc -f markdown -t mediawiki test.md -o test.wiki | |
| # Thanks to @tillmanj for the updated formatting |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| // iMacro CheatSheet - Command Reference | |
| // http://wiki.imacros.net/Command_Reference | |
| // iMacros supports 3 types of variables: | |
| // * The macro variables !VAR0 thru !VAR9. They can be used with the SET and ADD command inside a macro. | |
| // * Built-in variables. They contain certain values set by iMacros. | |
| // * User-defined variables. They are defined in-macro using the SET command. | |
| docker logs nginx 2>&1 | grep "127." | |
| # ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container |