Skip to content

Instantly share code, notes, and snippets.

View sfgeorge's full-sized avatar

Stephen George sfgeorge

View GitHub Profile
@sfgeorge
sfgeorge / 0_reuse_code.js
Created March 13, 2014 12:23
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<?php
class A {
public $foo = null;
public function getFooClass() {
return get_class(); // null param means "What's *my* class?"
}
}
$a = new A();