start new:
tmux
start new with session name:
tmux new -s myname
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Edit: I few months ago I got a new laptop and did the same thing on Mavericks.
I just replaced the hard drive of my mbp and decided to do a clean install of Mountain Lion (10.8.5) since I was still using Snow Leopard (10.6.8).
I kinda regret for not using Boxen to automate the
#UI Caveats
http://stackoverflow.com/questions/19927542/ios7-backgroundimage-for-uisearchbar
//clear the transparent background when search bar promot
[self.searchDisplayController.searchBar setBackgroundImage:[self imageWithColor:[UIColor yourColor]]
forBarPosition:0
barMetrics:UIBarMetricsDefault];
require 'net/http' | |
require 'json' | |
require 'uri' | |
# tokens can be obtained from https://api.slack.com/docs/oauth-test-tokens | |
@token = '' | |
def list_files | |
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago | |
params = { |