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
$("#contact-form").submit(function(){ | |
var self = $(this), | |
emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/, | |
email = $('#email'), | |
message = $('#message'); | |
if( !email.val() || !emailReg.test(email.val()) ) { | |
email.parent().addClass('invalid'); | |
} else if ( !message.val() ) { | |
message.parent().addClass('invalid'); | |
email.parent().removeClass('invalid'); |
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
var img = new Image(); | |
$(img).load(function () { | |
setTimeout(function() { | |
$('section').addClass('full'); | |
$('span').addClass('fix'); |
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
setTimeout(function() { | |
alert('Hey morgan its Brad! This happened 3 seconds after you called this function :)') | |
}, 3000) |
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
.inline-block { | |
display: -moz-inline-box; | |
display:inline-block; | |
zoom:1; | |
*display:inline; | |
vertical-align:top; | |
} |
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
//BSD Licensed | |
var YourGlobal = { | |
namespace: function(ns){ | |
var parts = ns.split("."), | |
object = this, | |
i, len; | |
for (i=0, len=parts.length; i < len; i++) { | |
if (!object[parts[i]]) { |
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
{ | |
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme", | |
"font_face": "Meslo LG S", | |
"font_size": 13.0, | |
"gutter": true, | |
"highlight_line": true, | |
"line_numbers": false, | |
"tab_size": 2, | |
"translate_tabs_to_spaces": true, | |
"word_wrap": true |
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
<!--[if lt IE 7 ]> | |
<script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script> | |
<script> | |
CFInstall.check(); | |
</script> | |
<![endif]--> |
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
hr { | |
background:#d8d8d8; | |
border:none; | |
border-bottom:1px solid #fff; | |
height:1px; | |
overflow: hidden; | |
line-height: 1px; | |
width: 100%; | |
display: block; | |
clear:both; |
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
dscacheutil -flushcache |
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
INCLUDE 'derivative.inc' | |
XREF MCU_init | |
XDEF Entry, _Startup, main | |
ORG $2000 | |
ValueA ds.b 1 | |
ValueB ds.b 1 | |
ValueC ds.b 1 | |
ValueA2 ds.b 1 |
NewerOlder