This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2021-03-16T20:27:53.841Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails --version # => Rails 5.0.0 | |
rails new slack --database=postgresql --skip-test --skip-spring |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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> --> |