Skip to content

Instantly share code, notes, and snippets.

View darkmoves's full-sized avatar

Matt Clement darkmoves

View GitHub Profile
@kevinelliott
kevinelliott / osx-10.11-setup.md
Last active April 10, 2022 15:47
Mac OS X 10.11 El Capitan Setup

Mac OS X 10.11 El Capitan

Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.10 Yosemite setup recipe (as found on this gist https://gist.github.com/kevinelliott/0726211d17020a6abc1f). Note that I expect this to change significantly as I install El Capitan several times.

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.

@molivier
molivier / gist:271bba5d67de1583a8e3
Last active June 28, 2024 22:38
Set $GOPATH on Mac OSX : bash_profile
# Edit ~/.bash_profile
export GOPATH=/Users/$USER/go
export PATH=$GOPATH/bin:$PATH
# Reload profile : source ~/.bash_profile
@JunichiIto
JunichiIto / alias_matchers.md
Last active July 18, 2024 15:03
List of alias matchers in RSpec 3

This list is based on aliases_spec.rb.

You can see also Module: RSpec::Matchers API.

matcher aliased to description
a_truthy_value be_truthy a truthy value
a_falsey_value be_falsey a falsey value
be_falsy be_falsey be falsy
a_falsy_value be_falsey a falsy value
@heiko-s
heiko-s / gist:7258494
Last active March 8, 2020 16:27 — forked from nthj/gist:5297916
How to get gandi.net ssl certs working with Heroku.
How to setup Heroku Hostname SSL with GoDaddy SSL Certificate and Zerigo DNS
Heroku recently added an exciting new 'Hostname SSL' option. This option offers the broad compatibility of IP-based SSL, but at 1/5 the price ($20 / month at the time of this writing).
The following tutorial explains how to use Heroku's new 'Hostname SSL' option on your Heroku project. Before we begin, let's list what we're using here:
* Heroku Hostname SSL
* GoDaddy Standard SSL Certificate
* Zerigo DNS
Note: I am not using the Heroku Zerigo DNS add-on, instead I have a separate Zerigo account for my DNS needs. I do this because Zerigo offers 30 hosts on free direct accounts, versus only 10 hosts on the free Heroku add-on.
@tibbon
tibbon / sublimehints.md
Created October 31, 2013 18:36
Sublime Hints of the Day

David's Sublime Hints

Hint 1 - Set default indentation to 2 spaces

A tab size of 2 almost always looks better and can fit more on screen

  • Click on Sublime Text -> Preferences -> Settings - User
  • Alter the file to add "tab_size: 2" and save it

Mine looks like the following:

@hofmannsven
hofmannsven / README.md
Last active July 16, 2024 01:30
Git CLI Cheatsheet
@tibbon
tibbon / gist:6800776
Created October 2, 2013 21:27
RSpec Reading
https://github.com/rspec/rspec
http://www.codeschool.com/courses/testing-with-rspec
http://en.wikipedia.org/wiki/RSpec
http://rspec.info/
https://relishapp.com/rspec/rspec-core/docs
http://betterspecs.org/
@meise
meise / layout.haml
Created September 9, 2013 12:31
dashing haml example files
!!!
%html{:lang => "en"}
%head
%meta{:charset => "utf-8"}/
%meta{:content => "", :name => "description"}/
%meta{:content => "width=device-width", :name => "viewport"}/
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
%title= yield_content(:title)
/ The javascript and css are managed by sprockets. The files can be found in the /assets folder
%script{:src => "/assets/application.js", :type => "text/javascript"}
@ronny
ronny / gist:5035800
Last active February 10, 2016 19:05
Nokogiri with libxml2 installed via homebrew -- should fix "WARNING: Nokogiri was built against LibXML version 2.7.8, but has dynamically loaded 2.9.0"
brew install libxml2 libxslt libiconv
brew link --force libxml2 libxslt libiconv
gem install nokogiri -v 1.6.2 -- --use-system-libraries
brew unlink libiconv libxml2 libxslt
@nikcub
nikcub / README.md
Created October 4, 2012 13:06
Facebook PHP Source Code from August 2007