Skip to content

Instantly share code, notes, and snippets.

Emmanuel Rosani manters2000

Block or report user

Report or block manters2000

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@manters2000
manters2000 / rails-commands
Last active Jan 21, 2016
Common Rails Commands
View rails-commands
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
@manters2000
manters2000 / git-commands
Last active Dec 19, 2015
Common Git Commands
View git-commands
Useful Git Commands:
git config --global user.name "Emmanuel Rosani"
git config --global user.email "manters2000@cicct.usjr.edu.ph"
//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 .
@manters2000
manters2000 / sublime.txt
Last active Dec 3, 2015
Useful Sublime Text Snippets
View sublime.txt
<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>
@manters2000
manters2000 / menu
Last active Sep 17, 2015 — forked from ikoner/menu
Forked Gist
View menu
functions.php
// register wp_nav_menu
add_action( 'init', 'register_my_menus' );
function register_my_menus() {
register_nav_menus( array(
'topMenu' => __( 'topMenu', 'smsApp' )
)
);
}
You can’t perform that action at this time.