This file contains hidden or 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
@import 'compass'; | |
$include-default: true !default; | |
$include-default-uis: true !default; | |
@import 'ext4/default/functions'; | |
@import 'ext4/default/variables'; | |
@mixin background-gradient($bg-color, $type: $base-gradient, $direction: top) { | |
background-image: none; |
This file contains hidden or 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: #f00; | |
$b: #00F; | |
@if $a == a {} | |
@else{ | |
@if $a == b {} | |
@else{ | |
@if $a == c {} | |
@else{ | |
@if $a == d {} |
This file contains hidden or 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 i18n_strings = { | |
"{0} is a great friend of mine": "{0} is a great friend of mine" | |
"some_key": "A string of text" | |
}; |
This file contains hidden or 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
// Load this file for the english version | |
var i18n_strings = { | |
"{0} is a great friend of mine": "{0} is a great friend of mine" | |
"some_key": "A string of text" | |
}; |
This file contains hidden or 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
md5 -s banana | md5 | pbcopy |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>{Title}</title> | |
<link rel='icon' href='{Favicon}'> | |
<link rel='shortcut icon' href='{Favicon}'> | |
<link rel='alternate' type='application/rss+xml' href='{RSS}'> | |
<meta name='description' content='{MetaDescription}'> | |
<meta name='color:Link' content='#6699cc'> |
This file contains hidden or 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
{ | |
"hits": [], | |
"total_pages": 3, | |
"total": 72, | |
"count": 25, | |
"entries": [{ | |
"mention_in_reply_to_screen_name": "BadAssCoffeeRC", | |
"fetcher_type": "TwitterApiMention", | |
"pid": "mentions-twitter:3824990225", | |
"created_at": 1327367066, |
This file contains hidden or 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 oscillator(low, high, inc) { | |
// basic test for illegal parameters | |
if (low > high || inc < 0 || 2 * (high - low) < inc) | |
return function() { return NaN; }; | |
var curr = low; | |
return function() { | |
var ret = curr; | |
curr += inc; |
This file contains hidden or 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 json; | |
json = [ | |
{ | |
foo: { | |
bar: ['ka', 'boom'] | |
} | |
}, { | |
foo: { | |
bar: ['sna', 'fu'] |
This file contains hidden or 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 callForJS = $.ajax( { | |
complete: function( jqXhr ){ | |
var unsafeResponse = jqXhr.responseText | |
, empty = {}; | |
new Function( '', jqXhr.responseText ).call( empty ) // empty object as scope | |
} | |
} ); | |
// Safer, if you want to restrict access to some globals |