Skip to content

Instantly share code, notes, and snippets.

View aaronwhite's full-sized avatar

Aaron White aaronwhite

View GitHub Profile

Keybase proof

I hereby claim:

  • I am aaronwhite on github.
  • I am aaronwhite (https://keybase.io/aaronwhite) on keybase.
  • I have a public key whose fingerprint is 15C3 0CEA AF9D 14B7 B043 C436 1983 A951 6EE3 C5E1

To claim this, I am signing this object:

> db.users.find();
{ "_id" : ObjectId("1145184c5f8f127526010000"), "script_settings" : { "b2460e4c73e106ba93010000" : { } }, "scripts" : [ "b2460e4ca68d0cba93020000", "b2460e4c73e106ba93010000" ]}
> db.users.update({_id : "1145184c5f8f127526010000"},
... {
... $set :
... {
... "script_settings.b2460e4c73e106ba93010000" :
... {
... block : ["hi"]
... }
Sat Jun 26 21:10:50 Assertion: 10334:Invalid BSONObj spec size: 407179527 (18451107) first element:_?u&: ?type=76
0x10006aff7 0x1000189b3 0x1001c5cc3 0x1001bc5d8 0x1001c2cf7 0x10027123f 0x1002834a4 0x7fff839a2456 0x7fff839a2309
0 mongod 0x000000010006aff7 _ZN5mongo11msgassertedEiPKc + 343
1 mongod 0x00000001000189b3 _ZN5mongo7BSONObj4initEPKcb + 467
2 mongod 0x00000001001c5cc3 _ZN5mongo9DbMessage9nextJsObjEv + 99
3 mongod 0x00000001001bc5d8 _ZN5mongo14receivedUpdateERNS_7MessageERNS_5CurOpE + 344
4 mongod 0x00000001001c2cf7 _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_8SockAddrE + 4279
5 mongod 0x000000010027123f _ZN5mongo10connThreadEv + 495
6 mongod 0x00000001002834a4 thread_proxy + 132
7 libSystem.B.dylib 0x00007fff839a2456 _pthread_start + 331
@aaronwhite
aaronwhite / gist:4741358
Created February 8, 2013 19:32
An AngularJS directive for quickly incorporate a drop-target that works with Filepicker.io
window.stepsApp.directive 'filepickerPane', ()->
($scope, element, attrs)->
initialHtml = element.html()
dragOverClass = attrs.dragOverClass
onUploadSuccess = attrs.onUploadSuccess
onUploadError = attrs.onUploadError
filepicker.makeDropPane element,
multiple: true
dragEnter: ()->
Verifying that +aaronwhite is my blockchain ID. https://onename.com/aaronwhite
@aaronwhite
aaronwhite / MARKDOWN.md
Last active March 22, 2019 16:49 — forked from duncanmalashock/README.md
Blissfully Supported Markdown

Markdown syntax guide

Markdown is a simple way to format plain text without a text editor. Here's what you can do with Markdown:

Headers

# This is an <h1> tag
## This is an <h2> tag
###### This is an  tag
module Email.Invitation.View exposing (view)
import Html exposing (..)
import Html.Attributes exposing (..)
import Mjml exposing (..)
import Email.UI.Base as Base
import Email.UI.Card as Card
import Email.UI.Style as Style
COOL, =IMAGE("https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png")