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
Common Rails Commands | |
rails new app | |
rails server | |
rails generate Scaffold name:string email:string | |
bundle exec rake db:migrate | |
rails console | |
bundle exec rake test | |
bundle exec guard init | |
bundle exec guard |
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
Useful Git Commands: | |
git config --global user.name "Emmanuel Rosani" | |
git config --global user.email "[email protected]" | |
//Ignore files globally | |
//Create .gitignore_global file in the user directory containing files/folders you wish to ignore | |
git config --global core.excludesfile Users\Rosani\.gitignore_global | |
git add . |
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
<snippet> | |
<content><![CDATA[ | |
(function(){ | |
$0 | |
})(); | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>siaf</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.js</scope> |