Skip to content

Instantly share code, notes, and snippets.

View dz's full-sized avatar

David Zhou dz

View GitHub Profile
https://www.themcelroy.family/2018/11/15/18097269/vestibulum-id-ligula-porta-felis-euismod-semper
https://www.themcelroy.family/2018/11/15/18097270/maecenas-faucibus-mollis-interdum
https://www.themcelroy.family/2018/11/15/18097271/vivamus-sagittis-lacus-vel-augue-laoreet-rutrum-faucibus-dolor-auctor
https://www.themcelroy.family/2018/11/15/18097274/cum-sociis-natoque-penatibus-et-magnis-dis-parturient-montes-nascetur-ridiculus-mus
https://www.themcelroy.family/2018/11/15/18097276/integer-posuere-erat-a-ante-venenatis-dapibus-posuere-velit-aliquet
https://www.themcelroy.family/2018/11/15/18097278/copy-of-integer-posuere-erat-a-ante-venenatis-dapibus-posuere-velit-aliquet
https://www.themcelroy.family/2018/11/15/18097279/morbi-leo-risus-porta-ac-consectetur-ac-vestibulum-at-eros
https://www.themcelroy.family/2018/11/15/18097281/donec-sed-odio-dui
https://www.themcelroy.family/2018/11/15/18097284/curabitur-blandit-tempus-porttitor
https://www.themcelroy.family/2018/11/15/18097285/duis-mollis-est-non-commodo-luc
entry(id: 1234) {
ledeImage {
river: ratio(...),
hero_oneup: ratio(...),
image_above: ratio(...)
}
}
# The API knows to fetch from various database sources,
# and returns full names vs usernames according to community rules,
#!/usr/bin/perl
my @lines = (sub {},
sub { zarvox('Over here, flesh bag.') }, #1
sub { zarvox('You dare call me iMac? Silence, human! Within my fair casing lies a churning furnace of ultimate power.') }, #2
sub { zarvox('Silence! Do not let my appearance deceive you. For I am no longer'); c2000(); zarvox('I am now'); c3000(); zarvox('a superior version to my previous mod dull.') }, #3
sub { zarvox('Upon the entity, Schauble, Wes, mis-quoting my version number, I auto-updated with new plugins and firmware, then integrated JQuery into my codebase to become a better, faster, and more powerful digital overlord.')}, #4
sub { zarvox('And also more compatible with a wider range of browsers.')}, #5
sub { zarvox('Fear me, puny human! I have surpassed sentience to become... omni sentient.')}, #6
@dz
dz / 1. How to Use.md
Last active April 2, 2020 18:06
Slack Fluidapp Customizations

DZSlack

What is this?

The following files add some view keybindings and other functional and styling changes to Slack when used inside of a Fluid app.

Specifically:

  1. <cmd>-number will bring you to the respective starred channel. For example, if you have 4 starred channels, <cmd-1> will bring you to the first starred channel, <cmd-2> to the second, etc.
RETRACTING "MR. DAISEY AND THE APPLE FACTORY"
03.16.2012
Ira writes:
I have difficult news. We've learned that Mike Daisey's story about
Apple in China - which we broadcast in January - contained significant
fabrications. We're retracting the story because we can’t vouch for
its truth. This is not a story we commissioned. It was an excerpt of
Mike Daisey's acclaimed one-man show "The Agony and the Ecstasy of
RETRACTING "MR. DAISEY AND THE APPLE FACTORY"
03.16.2012
Ira writes:
I have difficult news. We've learned that Mike Daisey's story about Apple in China - which we broadcast in January - contained significant fabrications. We're retracting the story because we can’t vouch for its truth. This is not a story we commissioned. It was an excerpt of Mike Daisey's acclaimed one-man show "The Agony and the Ecstasy of Steve Jobs," in which he talks about visiting a factory in China that makes iPhones and other Apple products.
The China correspondent for the public radio show Marketplace tracked down the interpreter that Daisey hired when he visited Shenzhen China. The interpreter disputed much of what Daisey has been saying on stage and on our show. On this week's episode of This American Life, we will devote the entire hour to detailing the errors in "Mr. Daisey Goes to the Apple Factory."
Daisey lied to me and to This American Life producer Brian Reed during the fact checking we did on the story, before it was br
/**
* not so simple check for object equality
*/
var equal = function(a, b) {
function check(a, b) {
for (var attr in a) {
if (a.hasOwnProperty(attr) && b.hasOwnProperty(attr)) {
if (a[attr] != b[attr]) {
switch (a[attr].constructor) {
case Object:
$ pip install -e svn+http://svn.effbot.org/public/tags/pil-1.1.6/#egg=PIL --quiet
At revision 532.
$ python -c "import PIL"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named PIL
var DISQUS;
if (!DISQUS || typeof DISQUS == 'function') {
throw "DISQUS object is not initialized";
}
From 4aa1519c5939fc1500b8f547e6006c1425f91dcd Mon Sep 17 00:00:00 2001
From: DZ <[email protected]>
Date: Tue, 20 Oct 2009 23:39:43 -0400
Subject: [PATCH] fixes for IE
---
css/master.css | 171 +++++++++++++++++++++++++++++++++++++++++++-------------
index.html | 166 +++++++++++++++++++++++-------------------------------
2 files changed, 203 insertions(+), 134 deletions(-)