Skip to content

Instantly share code, notes, and snippets.

@levigideon
levigideon / colors.json
Created August 20, 2015 19:19
Datsun Color Codes
[
{
"year": "1967",
"make": "Datsun",
"color-name": "White",
"hex": "E6DDCA"
},
{
"year": "1967",
"make": "Datsun",
@levigideon
levigideon / jqui.regex
Created November 13, 2014 22:45
FInd JQUI widgets
(?=\S*)\.(dialog|button|datepicker|accordion|buttonset|menu|progressbar|selectmenu|slider|tooltip|tabs)(?=\()
@levigideon
levigideon / localstorage.dump.js
Created July 18, 2014 00:30
localstorage dump
Storage.prototype.dump = function () {
var count = this.length,
dump = {};
for (var i = 0; i < count; i++) {
try {
dump[localStorage.key(i)] = JSON.parse(this.getItem(localStorage.key(i)));
} catch (e) {
dump[localStorage.key(i)] = this.getItem(localStorage.key(i));
}
}
@levigideon
levigideon / SassMeister-input.scss
Created July 1, 2014 16:15
Generated by SassMeister.com.
// ----
// Sass (v3.3.9)
// Compass (v1.0.0.alpha.20)
// ----
$elements: test, test-2, somehthing, something-else;
@each $el in $elements {
.#{$el} {
@levigideon
levigideon / 0_reuse_code.js
Created June 6, 2014 20:38
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@mixin box-shadow($top, $left, $blur, $color, $inset: false) {
@if $inset {
-webkit-box-shadow:inset $top $left $blur $color;
-moz-box-shadow:inset $top $left $blur $color;
box-shadow:inset $top $left $blur $color;
} @else {
-webkit-box-shadow: $top $left $blur $color;
-moz-box-shadow: $top $left $blur $color;
box-shadow: $top $left $blur $color;
}