start new:
tmux
start new with session name:
tmux new -s myname
| /* | |
| author: jbenet | |
| os x, compile with: gcc -o testo test.c | |
| linux, compile with: gcc -o testo test.c -lrt | |
| */ | |
| #include <time.h> | |
| #include <sys/time.h> | |
| #include <stdio.h> |
| /*! | |
| * Bootstrap v2.2.1 | |
| * | |
| * Copyright 2012 Twitter, Inc | |
| * Licensed under the Apache License v2.0 | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Designed and built with all the love in the world @twitter by @mdo and @fat. | |
| */ |
Remove rbenv and any rubies, gems etc.:
$ rm -rf ~/.rbenv
Uninstall rbenv if installed via Homebrew
$ brew uninstall rbenv
Remove references to rbenv in ~/.bash_profile etc.
| import java.util.ArrayList; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| import java.util.concurrent.Callable; | |
| import java.util.concurrent.ExecutorService; | |
| import java.util.concurrent.Future; | |
| import java.util.concurrent.LinkedBlockingQueue; | |
| import java.util.concurrent.ThreadPoolExecutor; | |
| import java.util.concurrent.TimeUnit; |
| App = Ember.Application.create({ | |
| customEvents: { | |
| swipeLeft: 'swipeLeft', | |
| swipeRight: 'swipeRight', | |
| swipeLeftTwoFinger: 'swipeLeftTwoFinger', | |
| swipeRightTwoFinger: 'swipeRightTwoFinger', | |
| dragDown: 'dragDown', | |
| dragUp: 'dragUp', | |
| dragDownTwoFinger: 'dragDownTwoFinger', | |
| dragUpTwoFinger: 'dragUpTwoFinger' |
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| #RewriteBase /blog/ | |
| RewriteBase /~accountname/ | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| #RewriteRule . /blog/index.php [L] | |
| RewriteRule . /~accountname/index.php [L] |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.