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]> <html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie10 lt-ie9 lt-ie8 ie7" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie10 lt-ie9 ie8" lang="en"> <![endif]--> | |
<!--[if IE 9 ]> <html class="no-js lt-ie10 ie9" lang="en"> <![endif]--> | |
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![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
<blockquote> | |
<p>“The best client!”</p> | |
<footer> | |
— <cite>Anonymous</cite> | |
</footer> | |
</blockquote> |
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 progressBar(v) { | |
'use strict'; | |
var value = parseInt(v); | |
var currentBar = parseInt($('.meter')[0].style.width.replace(/[^\d]/g, '')); | |
var newBar = value + currentBar; | |
if (value + currentBar > 100) { | |
$('.meter').css('width', '100%'); | |
} else if (value + currentBar < 0) { | |
$('.meter').css('width', '0%'); |
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
RewriteCond %{HTTP_REFERER} semalt\.com [NC] | |
RewriteRule ^ - [F,L] |
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 puzzlers = [ | |
function ( a ) { return 8*a - 10; }, | |
function ( a ) { return (a-3) * (a-3) * (a-3); }, | |
function ( a ) { return a * a + 4; }, | |
function ( a ) { return a % 5; } | |
]; | |
var start = 2; | |
var applyAndEmpty = function( input, queue ) { | |
var length = queue.length; |
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 statusQuestions() { | |
'use strict'; | |
// Enable/disable whyNoResponse after checking if firm responded. | |
if ($('#ppcNo').prop('checked') === true) { | |
$('select[name=whyNoResponse]').prop('disabled', false); | |
$('input[name=ppcConsult],input[name=ppcCase]').prop('disabled', true); | |
} else if ($('#ppcYes').prop('checked') === true) { | |
$('select[name=whyNoResponse]').prop('disabled', true); | |
$('input[name=ppcConsult],input[name=ppcCase]').prop('disabled', false); |
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 toggleIdent(v) { | |
'use strict'; | |
// Defining all varables at the top | |
var value, ssnField, ssnFieldConfirm, taxField, taxFieldConfirm, socialParent, taxParent; | |
// Value of selector selection | |
value = $(v).val(); | |
// Finding all the form fields (Used to enable/disable them) |
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
a { | |
position: relative; | |
z-index: 0; | |
&:focus { | |
outline: none; | |
&::before { | |
background-color: rgba(0,0,0,.1); | |
border-radius: 2px; | |
bottom: -4px; | |
content: ' '; |
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
# Fire up Terminal! Yeehaw! | |
today=$(date +"%m-%d-%Y") | |
time=$(date +"%H:%M:%S") | |
freespace=$(df -h / | grep -E "\/$" | awk '{print $4}') | |
printf -v d "Current User:\t%s\nDate:\t\t%s @ %s\nFreespace:\t%s\n" $USER $today $time $freespace | |
echo "$d" | |
# History Settings |
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 way is best if you want to stay up to date | |
# or submit patches to node or npm | |
mkdir ~/local | |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
# could also fork, and then clone your own fork instead of the official one | |
git clone git://github.com/joyent/node.git |
OlderNewer