start new:
tmux
start new with session name:
tmux new -s myname
<?PHP | |
/* | |
* PHP upload for Gyazo - v1.2.1 - 3/13/2011 | |
* http://benalman.com/news/2009/10/gyazo-on-your-own-server/ | |
* | |
* Copyright (c) 2011 "Cowboy" Ben Alman | |
* Licensed under the MIT license | |
* http://benalman.com/about/license/ | |
*/ |
<?PHP | |
/* | |
* PHP upload for Gyazo - v1.2 - 02/16/2011 | |
* http://benalman.com/news/2009/10/gyazo-on-your-own-server/ | |
* | |
* Copyright (c) 2009 "Cowboy" Ben Alman | |
* Licensed under the MIT license | |
* http://benalman.com/about/license/ | |
*/ |
$(document).ready(function() { | |
// Support for AJAX loaded modal window. | |
// Focuses on first input textbox after it loads the window. | |
$('[data-toggle="modal"]').click(function(e) { | |
e.preventDefault(); | |
var url = $(this).attr('href'); | |
if (url.indexOf('#') == 0) { | |
$(url).modal('open'); | |
} else { |
/* Pinterest layout mashed up */ | |
/* ----------------------------> See Line 8 of CSS for instructions of how the layout mashes up with Masonry */ | |
div.statcol{ float: left; padding: 0px; vertical-align: middle; overflow: hidden; text-align: left; margin-bottom: 42px; } | |
/* div.statrow{ padding-top: 0px; vertical-align: middle; clear: both; float: none; } */ | |
div.statrow { width: 100%; margin: 0 auto; overflow: hidden; } | |
.polaroid { padding: 10px 10px 19px 10px; background-color: #f7f7f7; | |
display: inline-table; font-style: italic; line-height: 1.45em; } | |
.statcol:nth-child(4) { padding-bottom: 40px; clear:both; } | |
.statcol { text-align: center; } |
person_num = ARGV.first.to_i | |
person_names = ('A'..'Z').to_a | |
height = 10 | |
person_num.times do |p| | |
print "#{person_names[p]} " | |
end | |
puts |
class Amida | |
def amida_def() | |
base1 = "| " | |
base2 = "|---" | |
base3 = "" | |
y="|" | |
records = Array.new(5,base1) | |
flg = 0 | |
records.each do |elem| | |
x1 = rand(2) |
consumer_key: your_consumer_key_here | |
consumer_secret: your_consumer_secret_here | |
users: | |
- screen_name: favshower | |
oauth_token: your_oauth_token | |
oauth_token_secret: your_oauth_token_secret_here | |
- screen_name: favshower1 | |
oauth_token: your_oauth_token | |
oauth_token_secret: your_oauth_token_secret_here |
--- molokai.vim 2012-08-15 02:26:31.780396257 +0900 | |
+++ molokai.vim 2012-08-15 02:29:12.374546127 +0900 | |
@@ -133,7 +133,7 @@ | |
hi Normal ctermbg=234 | |
hi CursorLine ctermbg=235 cterm=none | |
else | |
- hi Normal ctermfg=252 ctermbg=233 | |
+ hi Normal ctermfg=252 ctermbg=none | |
hi CursorLine ctermbg=234 cterm=none | |
endif |
#!/bin/bash | |
sudo apt-get install build-essential automake checkinstall intltool git | |
sudo apt-get install mono-complete mono-addins-utils gtk-sharp2 gnome-sharp2 | |
git clone git://github.com/mono/monodevelop | |
cd monodevelop | |
git checkout monodevelop-4.0 | |
git submodule update --init --recursive | |
./configure |