Skip to content

Instantly share code, notes, and snippets.

@uberbuilder
uberbuilder / gist:5698539
Created June 3, 2013 14:27
Friend asked me to answer the question of which markup I would use for this site: http://i.imgur.com/jHUAzfw.png
<form>
<p>Which of the following destinations and travel services would you consider including in a travel package?</p>
<ul>
<li>Domestic Holiday <input type="checkbox" name="domesticHolliday" /></li>
<li>...</li>
<ul>
</form>
@uberbuilder
uberbuilder / colortest.pl
Created March 31, 2013 04:49
Terminal/Command Line Color Sampler
#!/usr/bin/perl
# Author: Jeremy Iglehart <jeremy@uberbuilder.com>
# --- Modified Terminal/Command Line Color Sampler :: v1.0 2013-03-30 23:59:02 ---
# Here's The Original Author Info:
#
# Original Author: Todd Larason <jtl@molehill.org>
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.1 1999/07/11 08:49:54 dawes Exp $
$colorBlockTextForegroundIsNowDark = 0;
@uberbuilder
uberbuilder / BEM_test1.html
Last active December 15, 2015 14:18
BEM Code Example
<ul class="goods">
<li class="goods__item box">
<h3 class="goods__title">
Apple iPhone 4S 32Gb
</h3><img class="goods__image" src="..."><span class="goods__price"><a class="b-link goods__link" href="/">259</a></span>
</li>
<li class="goods__item box">
<h3 class="goods__title">
Samsung Galaxy Ace S5830
</h3><img class="goods__image" src="..."><span class="goods__price"><a class="b-link goods__link" href="/">73</a></span>
@uberbuilder
uberbuilder / .profile
Created March 1, 2013 21:51
uberBuilder's .profile
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PS1="\u@MacBook-Air \w/\$ "
export PATH=~/bin:$PATH
@uberbuilder
uberbuilder / npm test.txt
Created February 23, 2013 04:02
cndjs `npm test` which was run after updating the repository to include the new stable version of mustache.js (v0.7.2)
jeremy@MacBook-Air ~/Sites/cdnjs/$ npm test
> cdnjs@1.0.0 test /Users/jeremy/Sites/cdnjs
> vows
······························································································································································································································································································································································································································································································································································································································································································································································································································································································································································
@uberbuilder
uberbuilder / uberMap 1.0 Pasty.html
Created February 22, 2013 01:34
Hunger Coalition uberMap 1.0 Pasty
<!-- ################################################################################################# Start of Map Code ################################################################################################# --><script src="//www.hungercoalition.org/sites/hungercoalition.org/files/js/es5-shim.min.js"></script><script src="//www.hungercoalition.org/sites/hungercoalition.org/files/js/json2.js"></script><script src="//www.hungercoalition.org/sites/hungercoalition.org/files/js/mustache.js"></script><script src="//www.hungercoalition.org/sites/hungercoalition.org/files/js/tabletop.js"></script><link rel="stylesheet" href="//www.hungercoalition.org/sites/hungercoalition.org/files/css/ubermap1.0.css" /><link rel="stylesheet" href="//www.hungercoalition.org/sites/hungercoalition.org/files/css/leaflet.css" /><!--[if lte IE 8]><link rel="stylesheet" href="//www.hungercoalition.org/sites/hungercoalition.org/files/css/leaflet.ie.css" /><![endif]--><script type="text/javascript" src="//www.hungercoalition.org/s
@uberbuilder
uberbuilder / dabblet.css
Created February 21, 2013 17:19
uberMap Legend Styles
/**
* uberMap Legend Styles
*/
@import url(http://fonts.googleapis.com/css?family=Raleway:600,400);
html, body {
height: 100%;
}
@uberbuilder
uberbuilder / privateJavascriptVariable.js
Created February 15, 2013 20:18
Example of a private variable in Javascript using the underscore convention.
function deepThought (question) {
this._answerToTheUltimateQuestionOfLifeTheUniverseAndEverything = 42;
}
// http://en.wikipedia.org/wiki/The_Hitchhiker's_Guide_to_the_Galaxy
@uberbuilder
uberbuilder / _sonya-button.sass
Created February 12, 2013 00:49
Sonya Style - SASS/Compass Button @mixin. This is my first mixin ever :)
// Button Mixin ------------------------------------------------------------------------------------
@mixin sonya_button($button_color: rgba(62,184,229,1), $borderRadius: 5px, $scale_border_lightness_by: -20%, $scale_border_saturation_by: -62%, $border_side: false, $isPushable: false, $pushable_highlight: 10%, $button_shadow_tint: 14%, $has_shadow: true) {
// Box
// Positioning
position: relative;
top: 0;
// Background Color
background-color: $button_color; // Old browsers
@uberbuilder
uberbuilder / Default (OSX).sublime-keymap
Created January 28, 2013 17:48
How to Create a Date Time Stamp in Sublime Text 2 on a Mac
[
{"keys": ["super+alt+ctrl+d"], "command": "add_date_time_stamp" },
{"keys": ["super+alt+d"], "command": "add_date_stamp" },
{"keys": ["super+alt+t"], "command": "add_time_stamp" }
]