I hereby claim:
- I am adelcambre on github.
- I am adelcambre (https://keybase.io/adelcambre) on keybase.
- I have a public key whose fingerprint is 1BE4 CF33 AB8C F585 CF98 9A63 52A4 7A77 8EDE D0B4
To claim this, I am signing this object:
++++++++++ | |
[ | |
>+++++++>++++++++++>+++>+<<<<- | |
] this loop set the next four cells to 70/100/30/10 | |
>++. print 'H' | |
>+. print 'e' | |
+++++++. 'l' | |
. 'l' | |
+++. 'o' | |
>++. space |
I hereby claim:
To claim this, I am signing this object:
# use PathPrefix Middleware if :path_prefix is set in Merb::Config | |
if prefix = ::Merb::Config[:path_prefix] | |
use Merb::Rack::PathPrefix, prefix | |
end | |
# comment this out if you are running merb behind a load balancer | |
# that serves static files | |
use Merb::Rack::Static, Merb.dir_for(:public) |
for i in `seq 1000`; do | |
echo $i | |
touch $i | |
# or dd if=/dev/zero of=$i count=100 bs=1m | |
done |
Just like in Europe. It's the same normal international data plan for most carriers (I've done it on At&t and Verizon).
And you get cash from 7-11 (yes I'm serious). American cards very very frequently don't work. Especially in any sort of machine, particularly vending machines and the train ticket machines. Many atm's won't take american cards either. But, every single 7-11 (which are everywhere) has an atm which takes american cards. They sometimes say 7-i, or Seven and i holdings. It's all the same thing (7-11 is actually a japanese company, and they are everywhere). Other than 7-11, every Post office should have an ATM that works too, but they are way less common.
rush> git clone git://github.com/rails/rails.git | |
(eval):1: warning: parenthesize argument(s) for future version | |
(eval):1: warning: parenthesize argument(s) for future version | |
Exception NameError -> undefined local variable or method `github' for localhost:Rush::Box | |
/Library/Ruby/Gems/1.8/gems/rush-0.4/lib/rush/shell.rb:36:in `eval' | |
/Users/andy/projects/engineyard/diablo-rojo/(eval):1:in `initialize' | |
/Library/Ruby/Gems/1.8/gems/rush-0.4/bin/rush:6:in `new' | |
/Library/Ruby/Gems/1.8/gems/rush-0.4/bin/rush:6 | |
/usr/bin/rush:19:in `load' | |
/usr/bin/rush:19 |
def get_archive_hash | |
counts = repository.adapter.query("SELECT COUNT(*) as count, #{specific_date_function} FROM articles WHERE published_at IS NOT NULL AND published = ? GROUP BY year, month ORDER BY year DESC, month DESC", true) | |
archives = counts.map do |entry| | |
{ | |
:name => "#{Date::MONTHNAMES[entry.month.to_i]} #{entry.year}", | |
:month => entry.month.to_i, | |
:year => entry.year.to_i, | |
:article_count => entry.count | |
} | |
end |
$(document).ready(function() { | |
$(".photo").each(function(i, e) { | |
$zoom_id = i + '_zoom'; | |
$show_link = $('<a class="jquery_link">Toggle Photo</a>'); | |
$show_link.click(function () { $(this).siblings('img').toggle() }); | |
$(this).append($show_link); | |
if (($original = $(this).find(".original")).size() > 0) { | |
$zoom_link = $('<a class="jquery_link">Zoom</a>'); | |
$zoom_div = $('<div class="zoom"><img class="dialog_img" src="' + $original.attr("href") + '"/></div>'); |
irb(main):001:0> require 'rubygems' | |
=> true | |
irb(main):002:0> require 'redcloth' | |
=> true | |
irb(main):005:0> a = RedCloth.new "_italic_ <pre><code>var a = 'blah';</code></pre> *bold*" | |
=> "_italic_ <pre><code>var a = 'blah';</code></pre> *bold*" | |
irb(main):006:0> a.to_html | |
=> "<p><em>italic</em> <pre><code>var a = 'blah';</code></pre> <strong>bold</strong></p>" |