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://blog.huidesign.com/automatically-highlight-current-page-in-navigation-with-css-jquery/ | |
var str=location.href.toLowerCase(); | |
$(".nav a").each(function() { | |
if (str.indexOf(this.href.toLowerCase()) > -1) { | |
$("li.current").removeClass("current"); | |
$(this).parent().addClass("current"); | |
} | |
}); | |
$("li.current").parents().each(function(){ |
- Ruby was created in 94/95 to more resemble human speach
- Start out with "irb"
- Date formatting =
.strftime("")
- Rails is just a framework for Ruby
- Rails was created by David Hannson at 37Signals here in Chicago as Opensource
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
<svg xmlns="http://www.w3.org/2000/svg"><symbol viewBox="0 0 12.4 20.5" id="icon-arrow-left"><title>arrow-left</title><path stroke="#fff" stroke-width="3" stroke-linecap="round" d="M10.9 1.5l-8.8 8.7 8.8 8.8" fill="none"/></symbol><symbol viewBox="0 0 12.4 20.5" id="icon-arrow-right"><title>arrow-right</title><path stroke="#fff" stroke-width="3" stroke-linecap="round" d="M1.5 19l8.7-8.7-8.7-8.8" fill="none"/></symbol><symbol viewBox="0 0 10 18" id="icon-arrow-select-pink"><title>arrow-select-pink</title><path stroke="#E54C97" stroke-width="2" d="M.8 11.1l3.4 4.3.8 1 .8-1 3.5-4.3m0-4.2L5.8 2.6l-.8-1-.8 1L.8 6.9" fill="none"/></symbol><symbol viewBox="0 0 10 18" id="icon-arrow-select"><title>arrow-select</title><path d="M.8 11.1l3.4 4.3.8 1 .8-1 3.5-4.3m0-4.2L5.8 2.6l-.8-1-.8 1L.8 6.9" stroke="#fff" stroke-width="2" fill="none"/></symbol><symbol viewBox="0 0 9.6 15.8" id="icon-arrow"><title>arrow</title><path stroke="#fff" stroke-width="3" stroke-linecap="round" d="M1.5 14.3l6-6.4-6-6.4" fill="none"/></symbol>< |
Copy ssh key
cat ~/.ssh/id_rsa.pub
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
Show hidden characters
{ | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_triggers": | |
[ | |
{ | |
"characters": "<", | |
"selector": "text.html" | |
}, | |
{ | |
"characters": "/", |
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
Enough Git for your résumé in fewer than 100 lines | |
================================================== | |
1. Install Git | |
http://git-scm.com/download/mac | |
(But consider using Homebrew) | |
2. Make a GitHub account | |
https://github.com/ |
Revised date: 07/11/2012
Between us [company name] and you [customer name]
We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.
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
function EasyPeasyParallax() { | |
scrollPos = jQuery(this).scrollTop(); | |
jQuery('#banner').css({ | |
'background-position' : 'center ' + (-scrollPos/4)+"px" | |
}); | |
jQuery('#bannertext').css({ | |
'margin-top': (scrollPos/4)+"px", |
A Pen by Matt Soria on CodePen.
OlderNewer