Skip to content

Instantly share code, notes, and snippets.

View seyDoggy's full-sized avatar

Adam Merrifield seyDoggy

View GitHub Profile
@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 / xclip.sh
Created December 31, 2012 18:15
xclip command
xclip -sel clip < ~/.ssh/id_rsa.pub
@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 / 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 / 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 / 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.php
Created January 18, 2013 17:02
Our homegrown grid system
// Open Grid
echo '<div class="seydoggyGrid">';
// Open Column
echo '<div class="column two"><div class="content">';
// Open Content
echo '<h2>Column 1</h2>';
echo '<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>';
@seyDoggy
seyDoggy / release-note-regex.txt
Created February 7, 2013 18:23
release note regular expression
>>\s{4}([^<]*)\s{4}<<[^>]*
@seyDoggy
seyDoggy / release-note-regex-answer.txt
Created February 7, 2013 18:23
release note answer to regular expression.
<li>$1</li>
@seyDoggy
seyDoggy / stacks-down-arrow-width.css
Last active December 14, 2015 00:29
"If you have any stacks that use responsive styling for images, you probably know that when you apply your width:100% to images, the default arrow image inside edit mode gets huge. I finally took the time to find a fix/hack so I thought that I would share it. Add the following CSS to your stack and you should be golden!" -- Joe Workman
/* Responsive Edit Mode Hack courtesy of Joe Workman <joeworkman.net> */
%[if edit]%
#%id% img[src*="YHStacksKit.framework/Resources/down_arrow.png"]{ width:auto !important; }
%[endif]%