Skip to content

Instantly share code, notes, and snippets.


Tim Sims timsims

  • Moe Cat Productions
  • Guangzhou, China
View GitHub Profile
timsims / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View gist:d77167794cb9c0eeef90
use Bosnadev\Repositories\Contracts\RepositoryInterface;
class MovieCacheRepo implements RepositoryInterface
public function __construct(RepositoryInterface $repo, MyCustomCache $cache, MyCustomCacheKeyGenerator $keygen)
$this->repo = $repo;
$this->cache = $cache;
$this->keygen = $keygen;
timsims / mountain-lion-brew-setup.markdown
Created Jul 28, 2012 — forked from myobie/mountain-lion-brew-setup.markdown
Get Mountain Lion and Homebrew to Be Happy
View mountain-lion-brew-setup.markdown

Get Mountain Lion and Homebrew to Be Happy

1) Install XCode 4.4 into /Applications

Get it from You will not be able to submit apps to any stores using this XCode version, so turn away if that is something you might want to do.

2) Install Command Line Tools

In XCode's Preferences > Downloads you can install command line tools.

View gist:2785645
#UPDATE:12-05-09 02:30 localhost
#SmartHosts START
#Google Services START