Skip to content

Instantly share code, notes, and snippets.

View seyDoggy's full-sized avatar

Adam Merrifield seyDoggy

View GitHub Profile
@seyDoggy
seyDoggy / seydoggy-grid.html
Created January 18, 2013 17:01
Our homegrown grid system
<div class="seydoggyGrid">
<div class="column three">
<div class="content">
<h2>Column 1</h2>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin venenatis risus dictum mi. Etiam ullamcorper. Mauris justo. Fusce nibh quam, imperdiet at, nonummy.</p>
</div>
</div>
<div class="column three">
<div class="content">
<h2>Column 2</h2>
@seyDoggy
seyDoggy / seydoggy-grid.css
Created January 18, 2013 17:00
Our homegrown grid system
/* @group seyDoggy Grid */
.seydoggyGrid{margin-left:-1em;}
.seydoggyGrid .clear{clear:both;}
.seydoggyGrid .column{float:left;}
.seydoggyGrid .one{width:100%;}
.seydoggyGrid .two{width:50%;}
.seydoggyGrid .three{width:33.33%;}
.seydoggyGrid .four{width:25%;}
.seydoggyGrid .five{width:20%;}
.seydoggyGrid .six{width:16.66%;}
@seyDoggy
seyDoggy / sql-clear.txt
Created January 2, 2013 18:08
clear data from table
UPDATE profile
SET GameLock = 0;
DELETE FROM PlayerPerGame;
DELETE from Games;
DELETE from Transactions;
DELETE from Resurrections;
DELETE from ScabQueue;
DELETE FROM Turret;
DELETE FROM TurretQueue;
@seyDoggy
seyDoggy / CRE4MYNavJustify.js
Created January 2, 2013 14:06
CRE4MY Navigation Justification
/*
CRE4MY Navigation Justification
AUTHOR: Adam Merrifield
LICENSE (noncommercial): GNU General Public License, version 2
(http://www.gnu.org/licenses/gpl-2.0.html)
DESCRIPTION: This is a free and open source (noncommercial)
@seyDoggy
seyDoggy / xclip.sh
Created December 31, 2012 18:15
xclip command
xclip -sel clip < ~/.ssh/id_rsa.pub
@seyDoggy
seyDoggy / easy-install.pth
Created December 12, 2012 21:53
contents of easy-install.pth
import sys; sys.__plen = len(sys.path)
./numpydoc-0.4-py2.7.egg
./Sphinx-1.1.3-py2.7.egg
./docutils-0.9.1-py2.7.egg
./Jinja2-2.6-py2.7.egg
./Pygments-1.5-py2.7.egg
./PyYAML-3.10-py2.7-macosx-10.8-intel.egg
./CherryPy-3.2.2-py2.7.egg
/usr/local/lib/python2.7/site-packages
./go-1.2.1-py2.7.egg
@seyDoggy
seyDoggy / min-width-drop-down.js
Created December 10, 2012 11:44
min-width for drop-down menu
// drop menu min-width
sdNav.tb1.add(sdNav.tb2)
.find('> ul > li > a')
.hover(function(){
$(this).parent().find('> ul')
.css('min-width',$(this).outerWidth(true));
});
@seyDoggy
seyDoggy / css-primer.sh
Created November 26, 2012 17:32
Usage sample for css_primer by Brent Lintner <https://github.com/brentlintner/css_primer>
css_primer -i ~/path/to/index.html -o ~/path/to/styles.css
@seyDoggy
seyDoggy / change-screen-brightness.sh
Created November 22, 2012 01:49
change screen brightness
echo 2000 | sudo tee /sys/class/backlight/intel_backlight/brightness
@seyDoggy
seyDoggy / rw-photoalbum-3-abridged.css
Created November 15, 2012 15:28
RapidWeaver Photo Album class 3 (abridged)
/* Photo Album Index Page (Thumbnail view)
================================================== */
div.album-title
{
font-size:2.3em;
padding-bottom:1em;
line-height:1em
}
div.album-description