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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
/** | |
* Targetting iPhone X Series of Smartphones | |
* | |
*/ | |
$iphone-x-main-nav-height: 80px; | |
$iphone-x-main-nav-padding: calc(#{$iphone-x-main-nav-height} / 2); | |
$iphone-x-header-height: $header-height; | |
$iphone-x-height-offset: $iphone-x-main-nav-height + $iphone-x-header-height; |
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
#!/bin/bash | |
# Author: Frank Stallone | |
# $CF_AID, $CF_EMAIL, $CF_API_KEY are exported from .bashrc | |
# Update $IPLIST and $CF_NOTES | |
# Test API: Works | |
# curl -X GET "https://api.cloudflare.com/client/v4/memberships?status=accepted" \ | |
# -H "X-Auth-Email: $CF_EMAIL" \ | |
# -H "X-Auth-Key: $CF_API_KEY" \ | |
# -H "Content-Type: application/json" |
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
/* | |
* Media Queries for 📱 5 📱 6 & 📱 6+ in Portrait Mode | |
* | |
* Note: Do these in order of smallest to largest | |
* Example: | |
* | |
* @include respond-to(iPhone5) { top: 10px; } | |
* @include respond-to(iPhone6) { top: 12px; } | |
* @include respond-to(iPhone6Plus) { top: 14px; } | |
* |
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 |
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
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
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
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
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; |
NewerOlder