I hereby claim:
- I am JustinTulloss on github.
- I am justint (https://keybase.io/justint) on keybase.
- I have a public key whose fingerprint is 89AE 1A30 88DC 1E48 35B5 1A88 FA53 8700 BCBB E17A
To claim this, I am signing this object:
/* Copyright (C) 1991,1993,1995,1997,1998,2003,2004 | |
Free Software Foundation, Inc. | |
This file is part of the GNU C Library. | |
Contributed by Torbjorn Granlund (tege@sics.se). | |
The GNU C Library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Lesser General Public | |
License as published by the Free Software Foundation; either | |
version 2.1 of the License, or (at your option) any later version. |
(╯°□°)╯︵ ┻━┻ |
I hereby claim:
To claim this, I am signing this object:
MARKETING_JS_BUILD = $(MARKETING_MEDIA_BASE)/js/m.js | |
MARKETING_CSS_BUILD = $(MARKETING_MEDIA_BASE)/css/m.css | |
marketing: \ | |
$(addprefix $(MARKETING_MEDIA_BASE)/less/, $(MARKETING_LESS_FILES)) \ | |
concat-marketing-js \ | |
concat-marketing-css \ | |
$(MARKETING_JS_BUILD) \ | |
$(MARKETING_CSS_BUILD) |
#!/usr/bin/env python | |
from datetime import datetime | |
import os, sys | |
import json | |
import simplejson | |
import cjson | |
import jsonlib2 | |
// This will always evaluate to true | |
if (new Boolean(false)) { ... } | |
// And this will always evaulate to false | |
if (new Boolean(false) == true) { ... } | |
// But this will always evaluate to true | |
if (new Boolean(true) == true) { ... } |
// Boolean instances are just objects | |
(new Boolean(false)) instanceof Boolean => true // obviously | |
(new Boolean(false)) instanceof Object => true | |
// false is a primitive | |
false instanceof Boolean => false | |
false instanceof Object => false |
// When you write something like this: | |
if (something) { ... } | |
// JS implicitly does something like this: | |
if (Boolean(something)) { ... } |
!!(new Boolean(false)) => true | |
(new Boolean(false)) ? true : false => true | |
(new Boolean(false)) == false => true | |
(new Boolean(false)) === false => false |
Boolean(new Boolean(false)) => true | |
// Since the above is true, this if statement's | |
// expression will always evaluate to true. | |
if (new Boolean(false)) { ... } |