Skip to content

Instantly share code, notes, and snippets.

Justin Palmer caged

Block or report user

Report or block caged

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Activities Prohibited Under MS Law When You Hold An Alcohol Permit
No person holding an alcoholic beverage retailer’s permit, and no agent, associate,
employee, representative, entertainer or servant of any such permittee shall do, or permit,
any of the following activities or events on or about the licensed premises:
. Any live act or performance which appeals primarily to sexually oriented,
lustful, prurient, or erotic interest including, but not limited to, the
following: erotic dancers; male or female strippers; topless dancers (male or
female); dancers where clothes are removed to reveal portions of the body
AND constituting a strip act or simulation thereof; contests or exhibitions
such as wet t-shirt, biggest breast, biggest bulge, body beautiful, best leg,
View gist:154614
/* See license.txt for terms of usage */
var FBL = XPCOMUtils;
try { /*@explore*/
(function() {
// ************************************************************************************************
// Constants
View gist:179284
justin@justin bin% file /usr/local/mysql/bin/mysql
/usr/local/mysql/bin/mysql: Mach-O 64-bit executable x86_64
View Support spaces in facebook autocomplete
diff --git a/public/javascripts/modules/facebooklist.js b/public/javascripts/modules/facebooklist.js
index 974675a..fba042a 100644
--- a/public/javascripts/modules/facebooklist.js
+++ b/public/javascripts/modules/facebooklist.js
@@ -4,7 +4,10 @@
// Added key contstant for COMMA watching happiness
-Object.extend(Event, { KEY_COMMA: 188, KEY_SPACE: 32 });
+Object.extend(Event, {
View gist:239004
Copyright: InteRiders <> - Distributed under MIT - Keep this message!
// Added key contstant for COMMA watching happiness
Object.extend(Event, {
KEY_COMMA: {code: 188, value:","},
KEY_SPACE: {code: 32, value:" "}
View gist:260722
justin@justin /% ps aux | grep -i mysql
justin 72627 0.0 0.0 2425696 264 s001 R+ 6:11PM 0:00.00 grep --color=auto -i mysql
justin 72570 0.0 0.5 2507508 18984 s001 S 6:11PM 0:00.04 /usr/local/Cellar/mysql/5.1.41/bin/mysqld --basedir=/usr/local/Cellar/mysql/5.1.41 --datadir=/usr/local/var/mysql --log-error=/usr/local/var/mysql/justin.local.err --pid-file=/usr/local/var/mysql/ --socket=/tmp/mysql.sock
justin 72516 0.0 0.0 2435464 864 s001 S 6:11PM 0:00.01 /bin/sh /usr/local/Cellar/mysql/5.1.41/bin/mysqld_safe --datadir=/usr/local/var/mysql --pid-file=/usr/local/var/mysql/
View gist:280440
ul.nav li a:hover:before {
content: url(/images/dot.png);
position: absolute;
top: 6px;
left: 4px;
View gist:402351
@interface ITCocoaWindowAdapter : NSWindow
struct OpaqueWindowPtr *_windowRef;
unsigned int _focusSearching:1;
unsigned int _drawingHIView:1;
unsigned int _renderingByHIView:1;
NSGraphicsContext *_drawContext;
struct OpaqueEventHandlerRef *_myEventHandler;
View gist:444255
var db = new mongo.Db('mydatabase', new mongo.Server("", 27017, {}));, db) {
get('/', function() {
var $this = this
db.collection('some-collection', function(e, col){
col.find({}, {}, function(e, items) {
items.each(function(err, item) {
View test.js
pipe(): Too many open files
var fds = this.fds = this._internal.spawn(path, args, cwd, envPairs, customF
Error: Error spawning
at ChildProcess.spawn (child_process:191:39)
at child_process:9:15
at Object.execFile (child_process:59:15)
at child_process:15:20
You can’t perform that action at this time.