Skip to content

Instantly share code, notes, and snippets.

View vpatel90's full-sized avatar

Vivek Patel vpatel90

View GitHub Profile
@vpatel90
vpatel90 / setup.rb
Created May 3, 2017 00:53 — forked from jah2488/setup.rb
A setup script for a new laptop. (Assumes you have homebrew and homebrew cask installed)
class Package < Struct.new(:command, :name, :opts)
def install!
if not_installed?
system("#{command} install #{name} #{opts.join(" ")}")
end
end
def not_installed?
!exists?
end

Keybase proof

I hereby claim:

  • I am vpatel90 on github.
  • I am vpatel90 (https://keybase.io/vpatel90) on keybase.
  • I have a public key whose fingerprint is 8E83 79D7 1F28 7811 AA55 C90C 18C6 4549 018D 430B

To claim this, I am signing this object: