start new:
tmux
start new with session name:
tmux new -s myname
| /* | |
| * Decide on your cache-busting strategy. In this example, we use the current timestamp, which will | |
| * force a change every time the app is visited, but not every time the partial is loaded within a | |
| * visit. Even better would be to use a hash of the file's contents to ensure that the file is always | |
| * reloaded when the file changes and never reloaded when it isn't. | |
| */ | |
| var cacheBustSuffix = Date.now(); | |
| // Optionally, expose the cache busting value as a constant so other parts of your app can use it. | |
| ngModule.constant("cacheBustSuffix", cacheBustSuffix); | 
| <?php | |
| $files = array_slice($argv, 1); | |
| foreach ($files as $file) { | |
| $picture = file_get_contents($file); | |
| $size = getimagesize($file); | |
| // base64 encode the binary data, then break it into chunks according to RFC 2045 semantics | |
| $base64 = chunk_split(base64_encode($picture)); | 
| ############################################# | |
| # Push de la rama actual | |
| git push origin $rama_actual | |
| ############################################# | |
| # Volver a un commit anterior, descartando los cambios | |
| git reset --HARD $SHA1 | |
| ############################################# | |
| # Ver y descargar Ramas remotas | 
| # First install tmux | |
| brew install tmux | |
| # For mouse support (for switching panes and windows) | |
| # Only needed if you are using Terminal.app (iTerm has mouse support) | |
| Install http://www.culater.net/software/SIMBL/SIMBL.php | |
| Then install https://bitheap.org/mouseterm/ | |
| # More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |