Skip to content

Instantly share code, notes, and snippets.

squanto / cloudSettings
Last active Mar 16, 2021
Visual Studio Code Settings Sync Gist
View cloudSettings
squanto / action-cable.bash
Last active Jul 4, 2016
action-cable tutorial
View action-cable.bash
rails --version # => Rails 5.0.0
rails new slack --database=postgresql --skip-test --skip-spring
View string_algorithms.rb
require 'rspec'
describe 'Inspector' do
describe '.uniq?' do
it 'works for a unique string' do
expect(Inspector.uniq?('abc')).to be true
it 'works for a repeating string' do
expect(Inspector.uniq?('abcabc')).to be false
squanto / gist:4717638
Created Feb 5, 2013
Why Rudy's gists were breaking.
View gist:4717638
<!-- Does Not Work -->
<script src=""></script>
<!-- Does Work. Note Rudy's username -->
<!-- <script src=""></script> -->