Just prepend $PATH with .bundle/bin:
$ cat ~/.bashrc
...
export PATH=".bundle/bin:$PATH"
...
| ## The quick-and-nasty CVE-2013-0156 Heroku inspector! | |
| ## Originally brought to you by @elliottkember with changes by @markpundsack @ Heroku | |
| ## Download and run using: | |
| ## ruby heroku-CVE-2013-0156.rb | |
| `heroku list`.split("\n").each do |app| | |
| app = app.strip | |
| # Some "heroku apps" lines have === formatting for grouping. They're not apps. | |
| next if app[0..2] == "===" |
| .socialcount .button { | |
| display: block; | |
| width: 100%; | |
| position: absolute; | |
| left: 0; | |
| bottom: -6px; | |
| text-align: center; | |
| pointer-events: none; | |
| } |
| /* | |
| Given the following html | |
| <nav> | |
| <ul> | |
| <li class="home"><a>Home</a></li> | |
| <li class="about"><a>About</a></li> | |
| <li class="blog"><a>Blog</a></li> | |
| <li class="contact"><a>Contact</a></li> | |
| </ul> | |
| </nav> |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
##Simply annoying Tweets
Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD
([a-z])/1{4}
Tweet w/ just a single hashtag: #omgthissucks
^ *#[^ ]+$
| @mixin category-colors($after: false) | |
| @each $category in $categories | |
| @if $after == true | |
| .cat-#{nth($category, 1)}:after | |
| background-color: nth($category, 2) | |
| @else | |
| .cat-#{nth($category, 1)} | |
| background-color: nth($category, 2) |
| #!/usr/bin/php | |
| <?php | |
| error_reporting(E_ALL); | |
| if (count($argv) <= 1) { | |
| print("usage createMockup src_dir dst_dir images_dir\n"); | |
| print("\tsrc_dir : dir where all bmml file are\n"); | |
| print("\tdst_dir : dir where write all html files\n"); | |
| print("\timages_dir : dir where all export mockup png are (will be copied to the \$dst_dir/images directory)\n"); | |
| exit(1); | |
| } |
| #model (idea 100% stolen from ryanb) | |
| def author_tokens=(ids) | |
| ids.gsub!(/CREATE_(.+?)_END/) do | |
| Author.create!(:name => $1).id | |
| end | |
| self.author_ids = ids.split(",") | |
| end | |
| # jquery.tokeninput.js |