This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
class CreateWords < ActiveRecord::Migration | |
def change | |
create_table :words do |t| | |
t.string :word | |
t.string :sorted_letters | |
t.integer :length | |
end | |
end | |
end |
/* Here is your chance to take over Socrates! | |
Spend 10 minutes on each of the following hacks to the Socrates website. | |
Enter them in the console to make sure it works and then save | |
your results here. | |
Choose a new pair for each. Add your names to the section you complete. | |
*/ | |
/*1. Use basic selectors (id, class, element) to choose an element on the page. | |
Use the .css() method to alter at least two CSS properties of this element. */ |
<div id="die"> | |
<% if @roll %> | |
<img src="/<%= @roll.value %>.png" title="<%= @roll.value %>" alt="the roll"> | |
<% end %> | |
</div> |
$(function(){ | |
$('form').on('submit', function(e){ | |
e.preventDefault(); | |
$('#errors').empty(); | |
//EMAIL VALIDATION | |
var email = $('input[name="email"]').val(); | |
if (!(/.+/.test(email))){ | |
$('#errors').append('<li>Insert an Email</li>'); | |
} |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
I hereby claim:
To claim this, I am signing this object:
#Lightning Talks
Your goal is to create a 5 minute presentation on a topic that is useful to your fellow developer. We encourage you to dive right in with a demo! Please also create a brief gist / cheat sheet outlining your findings and any helpful resources you discover in your research.
##Topics: (You are welcome to suggest your own.)
###Getting Started with Python:
Open your terminal and type python
to open the Python REPL/console.
More info:
#Rails Lightning Talks
Your goal is to create an exceedingly brief presentation of a ruby gem (~5 min). We encourage you to try to do a live demo / have a working code example. Please also create a brief github gist (or "cheat sheet") for your fellow developers, outlining your findings, and linking to any helpful tutorials, resources, hints, and tips you discover in your research.
You should aim to answer the following questions:
##Topics: