Skip to content

Instantly share code, notes, and snippets.

View tomas-stefano's full-sized avatar

Tomas D'Stefano tomas-stefano

  • Ministry of Justice
  • London
View GitHub Profile

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

@tomas-stefano
tomas-stefano / presenter.rb
Created December 19, 2011 00:45
Presenter on Rails
require 'delegate'
module Presenter
def presenter
presenter = "#{self.class.name}Presenter".constantize
presenter.new(self)
end
# Example of usage:
#
@tomas-stefano
tomas-stefano / _yerb.rb
Created June 16, 2011 14:06 — forked from josevalim/_yerb.rb
Who needs HAML when you have YAML + ERB?
# = YERB
#
# Who needs HAML when you have YAML + ERB? ;)
#
# See example.yaml below for an example. You can run this code
# by cloning this gist and then `ruby _yerb.rb example.yaml`.
#
# Notice that you need Ruby 1.9 so the hash order is preserved.
# Obviously, this is just for fun. Definitely slow as hell.
#

IMPORTANT! Wikified version of this page may be found here. Feel free to edit. :)

Game Engines

Name Latest Release Size (KB) License Type Unit Tests Docs Notes
The Render Engine 1.5.3 MIT Cross-browser; extensive API; open-source. 2
gameQuery 0.5.1 CC BY-SA 2.5 Designed to be used with jQuery
gTile 0.0.1 (2008-07-21) Tile based
Akihabara 1.3 GPL2/MIT Classic Repro Intended for making classic arcade-style games in JS+HTML5 3
### HAML AND DATAMAPPER ######
### Assuming that @episodes is:
#
# [#<Episode @id=1 @title="Cache Variable">, #<Episode @id=2 @title="Cache Variable"> , #<Episode @id=3 @title="Cache Variable">]
#
#current_episode
- unless @episodes.empty?

World famous FFFFFFFFUUUUUUUUU autotest-growl icon set

fucons

Passed: EWBTE

Failed: problem?

HOME_DIR = "/home/nelson"
versions = Dir[File.join('#{HOME_DIR}/.rvm/rubies', "ruby*")]
versions.each do |version|
version.match(/-([\d\.]\+)-/)
ruby_version_string = version.split('/').last
ruby_version = $1
ENV["RAILS_ENV"] ||= 'test'
require 'rubygems'
require 'spork'
require File.expand_path(File.join(File.dirname(__FILE__),'..','config','environment'))
require File.expand_path(File.dirname(__FILE__) + "/blueprints")
require 'spec/autorun'
require 'spec/rails'
require 'authlogic/test_case'