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
end
it 'works for a repeating string' do
expect(Inspector.uniq?('abcabc')).to be false
View gist:4717638
<!-- 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> -->