Skip to content

Instantly share code, notes, and snippets.

View squanto's full-sized avatar

Hugo Melo squanto

View GitHub Profile
@squanto
squanto / gist:4717638
Created February 5, 2013 21:06
Why Rudy's gists were breaking.
<!-- Does Not Work -->
<script src="https://gist.github.com/2191625.js?file=UIViewController_TourGuide.h"></script>
<!-- Does Work. Note Rudy's username -->
<!-- <script src="https://gist.github.com/rudyjahchan/2191625.js?file=UIViewController_TourGuide.h"></script> -->
require 'rspec'
describe 'Inspector' do
describe '.uniq?' do
it 'works for a unique string' do
expect(Inspector.uniq?('abc')).to be true
end
it 'works for a repeating string' do
expect(Inspector.uniq?('abcabc')).to be false
@squanto
squanto / action-cable.bash
Last active July 4, 2016 00:07
action-cable tutorial
rails --version # => Rails 5.0.0
rails new slack --database=postgresql --skip-test --skip-spring
@squanto
squanto / cloudSettings
Last active March 16, 2021 20:28
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-03-16T20:27:53.841Z","extensionVersion":"v3.4.3"}