See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # update brew because `brew update` is broken after updating to El Capitan | |
| cd `brew --prefix` | |
| git fetch origin | |
| git reset --hard origin/master | |
| sudo shutdown -r now # restart the computer | |
| # open terminal and run the following | |
| brew update | |
| brew cleanup |
| #!/bin/bash | |
| fdisk -lu | |
| pvscan | |
| vgscan | |
| vgchange -a y | |
| lvscan | |
| mount /dev/ubuntu-vg/root /mnt | |
| mount --bind /dev /mnt/dev | |
| mount --bind /proc /mnt/proc |
| # This is just a scratchpad after I hacked what I needed in an irb session | |
| require 'octokit' | |
| Octokit.configure do |c| | |
| c.login = 'searls' | |
| c.password = 'c0d3b4ssssss!' | |
| end | |
| client = Octokit::Client.new | |
| repos = client.repos #Note, for an org's repos, see `client.orgs.first.rels[:repos].get.data` |
| # How Clearance / Hoptoad does it | |
| module Clearance | |
| class << self | |
| attr_accessor :configuration | |
| end | |
| def self.configure | |
| self.configuration ||= Configuration.new | |
| yield(configuration) | |
| end |
| package main | |
| import ( | |
| "encoding/csv" | |
| "net/http" | |
| "html/template" | |
| "fmt" | |
| "strconv" | |
| ) |
| source "http://rubygems.org" | |
| gem "janky", "~>0.9" | |
| gem "pg" | |
| gem "thin" |