- Can I Use? // List of browser support.
- Choose a License // Guide to open source software licenses.
- Interview Questions // Questions for front-end developers.
- Mozilla Devloper Network // Documentation for the web.
- Web Platform // Documentation for the web.
- Web Platform Daily // Daily digest for web developers.
- Why's Poignant Guide // Artful introduction to Ruby.
- GitHub Staff
- https://www.smockle.com/
This file contains 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
Request.ApplicationPath = "/virtual_dir"; | |
Request.CurrentExecutionFilePath = "/virtual_dir/webapp/page.aspx"; | |
Request.FilePath = "/virtual_dir/webapp/page.aspx"; | |
Request.Path = "/virtual_dir/webapp/page.aspx"; | |
Request.PhysicalApplicationPath = "d:\Inetpub\wwwroot\virtual_dir\"; | |
Request.QueryString = "/virtual_dir/webapp/page.aspx?q=qvalue"; | |
Request.Url.AbsolutePath = "/virtual_dir/webapp/page.aspx"; | |
Request.Url.AbsoluteUri = "http://localhost:2000/virtual_dir/webapp/page.aspx?q=qvalue"; | |
Request.Url.Host = "localhost"; | |
Request.Url.Authority = "localhost:80"; |
This file contains 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
// http://smockle.com:80/home/index?s=build+the+internet#lorem | |
window.location = { | |
hash: "#lorem", | |
host: "smockle.com", | |
hostname: "smockle.com", | |
href: "http://smockle.com:80/home/index?s=build+the+internet#lorem", | |
pathname: "/home/index", | |
port: "80", | |
protocol: "http:", | |
search: "?s=build+the+internet", |
This file contains 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
# DATABASE TYPES | |
# eg. field_name:field_type | |
:string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean, :references |
This file contains 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
\u00E1 á | |
\u00C1 Á | |
\u00E9 é | |
\u00C9 É | |
\u00ED í | |
\u00CD Í | |
\u00F3 ó | |
\u00D3 Ó | |
\u00FA ú | |
\u00DA Ú |
This file contains 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
cd <Project> | |
git init . | |
git add . | |
git commit -am 'Initial commit.' | |
github | |
git remote add origin https://github.com/smockle/<Project>.git | |
git push origin master |
This file contains 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
# NEW PROJECT | |
rails new <Project> | |
cd <Project> | |
rake db:create | |
rails g controller home index | |
rm public/index.html | |
sed -i '' "s/# root :to => 'welcome#index'/root :to => 'home#index'/g" config/routes.rb | |
# HEROKU CREATE | |
heroku create --remote staging |
This file contains 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
brew doctor | |
brew update | |
brew doctor | |
rvm requirements | |
rvm get head | |
rvm requirements | |
# rvm install ruby-head | |
rvm install 2.0.0 | |
rvm use 2.0.0 | |
rvm default 2.0.0 |
-
Register your application by appending this to config/application.rb:
config.exceptions_app = self.routes
-
Add routes by appending this to config/routes.rb:
match '/404', :to => 'errors#not_found'
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlueColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECYw | |
LjQyNzQ1MTAxNDUgMC42MTE3NjQ3MjkgMC43NDUwOTgwNTQ0ABACgALSEBESE1okY2xh | |
c3NuYW1lWCRjbGFzc2VzV05TQ29sb3KiEhRYTlNPYmplY3RfEA9OU0tleWVkQXJjaGl2 |