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
<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet"> |
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
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> |
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
<link rel="icon" type="image/png" href="<%= asset_path 'favicon.png' %>"> |
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
get '/admin', to: 'admin_users#index', as: :admin_user |
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
UPDATE Persons SET Age=36 WHERE FirstName='Peter' AND LastName='Griffin' |
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
pdflatex -output-directory=./_ paper3.tex |
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
grant all privileges on database_name.* to 'user_name'@'localhost' identified by 'password'; |
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
[alias] | |
s = status | |
co = checkout | |
b = branch | |
cm = commit -m | |
a = add --all | |
p = push origin | |
pu = pull origin | |
l = log --oneline |
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 'turn' #pretty print | |
gem 'rspec-rails' | |
gem 'capybara' #simulates user | |
gem 'guard-rspec' #running all the time | |
gem 'growl_notify' #notify mac | |
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
#Grade QP Grade QP Grade QP Grade QP Grade QP | |
#A 4.0 B+ 3.3 B- 2.7 C 2.0 D 1.0 | |
#A- 3.7 B 3.0 C+ 2.3 C- 1.7 F 0.0 | |
# 3.7 < x <= 4.0 : A | |
# 3.3 < x <= 3.7 : A- | |
# 3.0 < x <= 3.3 : B+ | |
# 2.7 < x <= 3.0 : B | |
# 2.3 < x <= 2.7 : B- | |
# 2.0 < x <= 2.3 : C+ | |
# 1.7 < x <= 2.0 : C |