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
| group :test, :development do | |
| gem 'rspec-rails' | |
| gem 'cucumber-rails' | |
| gem 'database_cleaner' | |
| end |
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
| set gfn=Bitstream\ Vera\ Sans\ Mono\ 12 | |
| colorscheme desert |
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
Show hidden characters
| { | |
| "draw_white_space": "all", | |
| "file_exclude_patterns": | |
| [ | |
| "*.pyc", | |
| "*.pyo", | |
| "*.exe", | |
| "*.dll", | |
| "*.obj", | |
| "*.o", |
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 'aws-sdk' | |
| aws = AWS.config(access_key_id: ENV['AWS_ACCESS_KEY'], secret_access_key: ENV['AWS_SECRET_KEY']) | |
| s3 = AWS::S3.new | |
| bucket = s3.buckets[ARGV[0]] | |
| form = bucket.objects[ARGV[1]].presigned_post | |
| hidden_inputs = form.fields.map do |(name, value)| | |
| %(<input type="hidden" name="#{name}" value="#{value}" />) |
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
| github $ git clone https://github.com/fivemini/git-submodule-sample.git | |
| Cloning into 'git-submodule-sample'... | |
| remote: Counting objects: 3, done. | |
| remote: Total 3 (delta 0), reused 0 (delta 0) | |
| Unpacking objects: 100% (3/3), done. | |
| github $ | |
| github $ | |
| github $ cd git-submodule-sample/ | |
| git-submodule-sample $ | |
| git-submodule-sample $ |
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
| github $ brew tap homebrew/binary | |
| Cloning into '/usr/local/Library/Taps/homebrew-binary'... | |
| remote: Reusing existing pack: 110, done. | |
| remote: Total 110 (delta 0), reused 0 (delta 0) | |
| Receiving objects: 100% (110/110), 16.96 KiB | 0 bytes/s, done. | |
| Resolving deltas: 100% (51/51), done. | |
| Tapped 10 formula | |
| github $ | |
| github $ | |
| github $ brew install docker |
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
| belongs_to :company, foreign_key: :company_id, foreign_type: :string, primary_key: :company_id | |
| has_many :employees, foreign_key: :company_id, primary_key: :company_id |
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
| ssh -o "ProxyCommand nc -X connect -x ddd.ddd.ddd.ddd:8080 %h %p" -i ~/.ssh/key.pem user@host |
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
| csshX --login user --ssh_args '-i /path/to/key.pem' ddd.ddd.ddd.dd1 ddd.ddd.ddd.dd2 |
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
| pslurp -r --user user -H ddd.ddd.ddd.dd1 -H ddd.ddd.ddd.dd2 -x '-i /path/to/key.pem' -L ~/local/dst/dir /remote/src/dir . |
OlderNewer