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
# THIS IS MY RESUME | |
name = "Mike Land" | |
email = "MikePLand@gmail.com" | |
website = "http://MikePLand.com" | |
blog = "http://MikePLand.com/blog" | |
# Skills Include | |
ror = "Ruby on Rails" | |
wp = "Wordpress" |
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
<%= f.collection_select(:client, Client.all, :name, :name) %> | |
collection_select( | |
[what field is it populating?], | |
[Where is it getting the data], | |
[What specifically is being written], | |
[What information is going to be displayed on the screem]) |
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
" surround.vim - Surroundings | |
" Author: Tim Pope <http://tpo.pe/> | |
" Version: 2.0 | |
" GetLatestVimScripts: 1697 1 :AutoInstall: surround.vim | |
if exists("g:loaded_surround") || &cp || v:version < 700 | |
finish | |
endif | |
let g:loaded_surround = 1 |
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
ActiveRecord::StatementInvalid in MessagesController#new | |
PG::Error: ERROR: relation "messages" does not exist | |
LINE 5: WHERE a.attrelid = '"messages"'::regclass | |
^ | |
: SELECT a.attname, format_type(a.atttypid, a.atttypmod), | |
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod | |
FROM pg_attribute a LEFT JOIN pg_attrdef d | |
ON a.attrelid = d.adrelid AND a.attnum = d.adnum | |
WHERE a.attrelid = '"messages"'::regclass |
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
## Blackjack in Ruby | |
puts "=============================" | |
puts "Welcome to Terminal Blackjack" | |
stack_of_cards = [ | |
"2 D", "3 D", "4 D", "5 D", "6 D", "7 D", "8 D", "9 D", "10 D", "J D", "Q D", "K D", "A D", | |
"2 H", "3 H", "4 H", "5 H", "6 H", "7 H", "8 H", "9 H", "10 H", "J H", "Q H", "K H", "A H", | |
"2 C", "3 C", "4 C", "5 C", "6 C", "7 C", "8 C", "9 C", "10 C", "J C", "Q C", "K C", "A C", | |
"2 S", "3 S", "4 S", "5 S", "6 S", "7 S", "8 S", "9 S", "10 S", "J S", "Q S", "K S", "A S" | |
] |
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
<%= form_tag position_game_stats_path do %> | |
<%= label_tag "recipient_email[:share_cards]" %> | |
<%= number_field_tag "position_game_stat[at_bats]" %> | |
<%= submit_tag("submit") %> | |
<% end %> |
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
<p style="display:none"> | |
Hello World | |
</p> | |
<button> | |
Click This | |
</button> | |
<script type="text/javascript"> |
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
<p style="display:none"> | |
Hello World | |
</p> | |
<form id="approve_bg"> | |
<input type="checkbox" id="approve_bg_check"> | |
Click This | |
</form> |
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
.strftime("%I:%M %p") |
OlderNewer