Skip to content

Instantly share code, notes, and snippets.

@jory
jory / gist:273bcdf67a4d2113e3dd
Created August 21, 2014 00:11
Da fuq bower...
┌─[jgraha2@L-SB8K1DRF1G-M] - [~] - [2014-08-20 05:08:07]
└─[0] <> npm install -g bower
-\|/-\|/-\|/--\|/-\|/-\|/-\|/npm WARN optional dep failed, continuing http-signature@~0.10.0
npm WARN optional dep failed, continuing oauth-sign@~0.3.0
npm WARN optional dep failed, continuing hawk@~1.0.0
-\|/-\|/-\|/-\|/-\|/-\|/-npm WARN optional dep failed, continuing http-signature@~0.10.0
npm WARN optional dep failed, continuing oauth-sign@~0.3.0
-\|/-\|-\|npm ERR! Error: ENOENT, lstat '/Users/jgraha2/.nvm/v0.10.31/lib/node_modules/bower/node_modules/mout/CONTRIBUTING.md'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
> Object
[Function: Object]
> String
[Function: String]
> Array
[Function: Array]
> Math
{}
>
<wb_twerp> [00:44:52] i am seeing remove() as [native code] both in ff &
chrome
<wb_twerp> [00:44:57] what does that mean ?
<wb_twerp> [00:45:10] and why is remove() native
<wb_twerp> [00:45:27] it should be mapped to jquery remove().. or is this
something different ?
<paul_irish> [01:22:22] someone tell twerp that domElem.remove() is a thing
now
@mixin small {
html.small & {
@content;
}
}
@mixin fat {
html.fat & {
@content;
}
@mixin small {
html.small & {
@content;
}
}
@mixin fat {
html.fat & {
@content;
}
@jory
jory / gist:8693887
Created January 29, 2014 18:24
Meatmarks!
javascript:(function(){ var s = document.createElement('style'); s.textContent = "li img { -webkit-mask: url('http://supercu.be/meat.svg') 50% 50% no-repeat }"; document.body.appendChild(s); })()
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Know Your Meme Entries - Confirmed</title>
<link>http://knowyourmeme.com</link>
<description>New entries added to the Internet Meme Database</description>
<language>en-us</language>
<item>
<guid isPermaLink="false">Entry-13564</guid>
<link>http://knowyourmeme.com/memes/doge</link>
Started GET "/api/sites/52e692254b69775d73030000/add_ons/footer_navigational.json" for 127.0.0.1 at 2014-01-28 09:44:26 -0500
Processing by AddOnsController#show as JSON
Parameters: {"site_id"=>"52e692254b69775d73030000", "id"=>"footer_navigational"}
MOPED: 127.0.0.1:27017 QUERY database=presslydb collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('52e690b04b69775d28030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms
MOPED: 127.0.0.1:27017 QUERY database=presslydb collection=property_sites selector={"$query"=>{"_id"=>BSON::ObjectId('52e692254b69775d73030000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms
MOPED: 127.0.0.1:27017 QUERY database=presslydb collection=property_add_ons selector={"site_id"=>BSON::ObjectId('52e692254b69775d73030000'), "_id"=>"footer_navigational"} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms
Completed 204 No Content in 74ms
S
if [ -n "$INSIDE_EMACS" ]; then
chpwd() { print -P "\033AnSiTc %d" }
print -P "\033AnSiTu %n"
print -P "\033AnSiTc %d"
fi
debug - websocket writing 5:::{"name":"message","args":[[{"key":"y","value":1}]]}
/Users/jory/Code/meatgame/model.js:15
return Object.getPropertyNames(obj);
^
TypeError: Object function Object() { [native code] } has no method 'getPropertyNames'
at Object.getPropertyNames (/Users/jory/Code/meatgame/model.js:15:21)
at Object.stringify (native)
at Object.exports.encodePacket (/Users/jory/Code/meatgame/node_modules/socket.io/lib/parser.js:75:19)
at SocketNamespace.packet (/Users/jory/Code/meatgame/node_modules/socket.io/lib/namespace.js:154:23)