Skip to content

Instantly share code, notes, and snippets.

View antoniosb's full-sized avatar

Antônio Augusto antoniosb

View GitHub Profile
@antoniosb
antoniosb / perfectelementary.bash
Created May 11, 2016 03:41
HowTo Install the perfect Elementary-OS
#Download Elementary OS from here:
#http://sourceforge.net/projects/elementaryos/files/stable/
#First you update your system
sudo apt-get update && sudo apt-get dist-upgrade
#Install Google Chrome
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
module Shoulda
module Matchers
module ActiveRecord
# https://gist.github.com/mackato/6972768
def have_store_accessor(key)
HaveStoreAccessor.new(key)
end
class HaveStoreAccessor
def initialize(key)