Skip to content

Instantly share code, notes, and snippets.

View bobthecow's full-sized avatar

Justin Hileman bobthecow

View GitHub Profile
  1. Open Console, filter it by "Coda"
  2. Download this version of the Docblock plugin
  3. Install it, start Coda, watch Console for errors
  4. Open or create a PHP file and attempt to document a function, watch Console for errors
  5. Let me know what you see!

Thanks :)

Welcome to Drift!

Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.

Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.

To name a gist, touch its name in the toolbar.

You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.

#pdf.erb
<% chapters.each do |chapter| %>
<%= chapter.compiled_content, :snapshot => :pre %>
<% end %>
#default.rb
def chapters
source ~/.rprompt.bash
export RPROMPT='$(date)'
SEO| Internet Marketing| Website Designing
HI,
I am Bob Smith Online SEO Consultant.
Do you want to see your website in Top 10 position in Google or other
major search engine?
Do you want more targeted visitors on your website?
$("body").bind("click", function (e) {
$('.dropdown-toggle, .menu').parent("li").removeClass("open");
});
$(".dropdown-toggle, .menu").click(function (e) {
var $li = $(this).parent("li").toggleClass('open');
return false;
});
@bobthecow
bobthecow / create_article.rb
Created July 25, 2011 00:28
nanoc create_article command
# encoding: utf-8
usage 'create_article [options] identifier'
summary 'create an article'
aliases :ca
description <<-EOS
Create a new article in the current site. The first data source in the site
configuration will be used.
EOS
<?php
class A {
public $foo = null;
public function getFooClass() {
return get_class($this->foo);
}
}
$a = new A();
<?php
$user2->expects($this->infinite())
->method('getSalt')
->will(
$this->returnCallback(function() use (&$user2) {
return $user2->getSalt();
})
);
My Personal Credit Card
Number: 4111111111111111
CVV: 111
Expires: You're a dick for looking at this