I hereby claim:
- I am denniskeefe on github.
- I am thecommongeek (https://keybase.io/thecommongeek) on keybase.
- I have a public key whose fingerprint is 4D6D 4061 9309 5C23 CFE0 F76F 9AF4 BB9F C6F7 714A
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am denniskeefe on github. | |
| * I am thecommongeek (https://keybase.io/thecommongeek) on keybase. | |
| * I have a public key ASBmy8awe2VjY-GVc3uJsySWOwoRpBgjSyGIfPyyycUCuQo | |
| To claim this, I am signing this object: |
| public static function lower_links(){ | |
| $options = get_option( 'purecharity_sponsorships_settings' ); | |
| $go_back = htmlspecialchars($_SERVER['HTTP_REFERER']); | |
| $html = ''; | |
| if(isset($options['show_back_link'])){ | |
| $html .= '<a href="'. $go_back .'" class="back"><span> < </span>Back to all kids</a>'; | |
| } |
| rsync -av --delete -e "ssh -p 22" | |
| [email protected]:/backups/full-system-backup.tar /backups/ > backup.log |
I hereby claim:
To claim this, I am signing this object:
| avg_fuel_economy = 22 | |
| avg_fuel_price = 3.60 | |
| avg_fuel_price.to_f | |
| #make sure we're calculating float and float in cost below | |
| print "How many miles will you travel?" | |
| distance = gets.chomp | |
| puts "Distance as input: #{distance}" |
| class DeviseCreateViews < ActiveRecord::Migration | |
| def change | |
| create_table(:views) do |t| | |
| ## Database authenticatable | |
| t.string :email, :null => false, :default => "" | |
| t.string :encrypted_password, :null => false, :default => "" | |
| ## Recoverable | |
| t.string :reset_password_token | |
| t.datetime :reset_password_sent_at |
| <h1>Welcome aspiring rubyists!</h1> | |
| <p>I created this site as a resource for those who want to give ruby/rails a try and just don't really know where to start. There are so many resources out there, it can be a bit overwhelming. I decided to put together a site with some of the most popular resources in hopes of helping people get off to a great start!</p> | |
| <p>If you are new to programming and want to see if ruby is something you might like, I recommend checking out some of the free interactive resources in the sidebar. These are great starters and will give you an general understanding of how ruby works. | |
| </p> | |
| <p>Once you get a feel for things and decide that you want to move forward, use one of the simple installation tools at the top of the page. Setting up ruby/rails manually can be difficult, especially on a Windows machine, these tools will get you up and running fast. | |
| </p> |
| source 'https://rubygems.org' | |
| gem 'rails', '3.2.12' | |
| group :development do | |
| gem 'sqlite3' | |
| end | |
| group :production do |
| source :rubygems | |
| def darwin_only(require_as) | |
| RUBY_PLATFORM.include?('darwin') && require_as | |
| end | |
| def linux_only(require_as) | |
| RUBY_PLATFORM.include?('linux') && require_as | |
| end |
| 22:45][myapp(master)][v. ruby-1.9.3-p194]$ heroku logs | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:50:in `tap' | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:50:in `<top (required)>' | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from script/rails:6:in `require' | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from script/rails:6:in `<main>' | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.4/lib/rack/builder.rb:40:in `eval' | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from /app/config.ru:in `<main>' | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands.rb:55:in `block in <top (required)>' | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.11/lib/rails/commands/server.rb:46:in `app' | |
| 2013-02-05T20:30:24+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1 |