Skip to content

Instantly share code, notes, and snippets.

View ahmdrefat's full-sized avatar
🏗️
I may be slow to respond.

Ahmed R. Hussein ahmdrefat

🏗️
I may be slow to respond.
View GitHub Profile
# source http://media.pragprog.com/titles/bhtmux/code/config/tmux.conf
# Our .tmux.conf file
# Setting the prefix from C-b to C-a
# START:prefix
set -g prefix C-a
# END:prefix
# Free the original Ctrl-b prefix keybinding
# START:unbind
{
"bold_folder_labels": true,
"caret_extra_width": 1,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Vintage Terminal/Green.tmTheme",
"draw_minimap_border": true,
"enable_tab_scrolling": false,
"ensure_newline_at_eof_on_save": true,
"fade_fold_buttons": false,
"font_face": "cosmicsansneuemono",
rails g scaffold Post title:string description:text
rake db:migrate
rails g bootstrap:themed Posts
zeus s # to start rails server
zeus c # to start rails console
zeus test # to run tests
zeus generate model <name> # go generate modle
#<Account:0x1033220b8> {
:id => 1,
:user_id => 5,
:assigned_to => 7,
:name => "Hayes-DuBuque",
:access => "Public",
:website => "http://www.hayesdubuque.com",
:toll_free_phone => "1-800-932-6571",
:phone => "(111)549-5002",
:fax => "(349)415-2266",
require "awesome_print"
ap object, options = {}
group :development do
gem 'awesome_print'
end
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
belongs_to :user
gem 'oauth'
gem 'devise'
gem 'twitter'
gem 'twitter-bootstrap-rails'