Skip to content

Instantly share code, notes, and snippets.

View laurenproctor's full-sized avatar

Lauren Proctor laurenproctor

View GitHub Profile
ab2c4b27eb0916d83c4a0955088c5ba1423e2f9753641854870d8d8d418883f91e0919240b486be0fe4fa71af9277c3ce93d1fbe76c9ed622b70cf1809abf95d
Verifying I am +laurenproctor on my passcard. https://onename.com/laurenproctor
//Adding the Open Graph in the language attributes
function add_opengraph_doctype( $output ) {
return $output . ' xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"';
}
add_filter('language_attributes', 'add_opengraph_doctype');
//Adding Open Graph Meta Info
function insert_fb_in_head() {
global $post;

Keybase proof

I hereby claim:

  • I am laurenproctor on github.
  • I am laurenproctor (https://keybase.io/laurenproctor) on keybase.
  • I have a public key whose fingerprint is 013F 6E7E 375D 63EE 233D A7EA 4CB4 8C1B F879 DDC3

To claim this, I am signing this object:

@laurenproctor
laurenproctor / gist:5337903
Created April 8, 2013 15:54
Person.rb in padrino
StudentDirectory::App.controllers :person do
# get :index, :map => '/foo/bar' do
# session[:foo] = 'bar'
# render 'index'
# end
# get :sample, :map => '/sample/url', :provides => [:any, :js] do
# case content_type
# when :js then ...
# else ...