I hereby claim:
- I am ao5357 on github.
- I am ao5357 (https://keybase.io/ao5357) on keybase.
- I have a public key whose fingerprint is 3CE2 D684 D9BD B336 F9F0 5D3E E7F6 BE9A 05D1 4776
To claim this, I am signing this object:
/** | |
* Kottke.org page borders without images | |
*/ | |
box-shadow:0 0 0 1px #BFECF7,0 0 0 5px #C5F4FF,0 0 0 6px #88E2F7,0 0 0 10px #8CE9FF,0 0 0 11px #50D8F7,0 0 0 15px #53DFFF,0 0 0 16px #18CDF7,0 0 0 20px #19D4FF; | |
margin:20px; | |
padding:20px; | |
min-height:-moz-calc(100% - 80px); |
Speciesism, as commonly considered, is inherently speciesist; we differentiate ourselves as reasoned beings and see ‘sentient’ species as superior to others based on a murky bioethics. The sociobiological context surrounding our own aged, though, provides a lens for the human ethology that justifies our omnivorous streak. To illustrate this, let us take a clichéd flight of fancy: | |
You, a vegan brand of heterotroph, walk hungrily-yet-idyllically in the woods. Your eye lands on a fawn getting a drink at a stream. Suddenly, the wind gusts heavily; this violent action alarms the deer. Perhaps due to uncontrollable fright or a heart defect, the animal keels over. | |
That’s unfortunate for the deer, but perhaps more so for you. You’re left with a moral quandary: is it okay to eat this would-be-fortuitous food source? After all, the common justifications don’t apply. The fawn may never have suffered, in life or death, at the hands of man. And if you decide to pass and eat flora instead, the deer’s body will naturally |
/** | |
* Kottke.org page borders without images | |
*/ | |
box-shadow:0 0 0 1px #BFECF7,0 0 0 5px #C5F4FF,0 0 0 6px #88E2F7,0 0 0 10px #8CE9FF,0 0 0 11px #50D8F7,0 0 0 15px #53DFFF,0 0 0 16px #18CDF7,0 0 0 20px #19D4FF; | |
margin:20px; | |
padding:20px; | |
min-height:-moz-calc(100% - 80px); |
name = JSON Nodes | |
description = Lets you print nodes as json for ctools, or some other formats | |
dependencies[] = ctools | |
package = Chaos tool suite | |
core = 6.x |
/** | |
* Gets tomorrow's events and sends along an email agenda. | |
*/ | |
function mailAgenda(){ | |
// Configs. | |
var config = { | |
firstName: 'Brad', | |
email: '[email protected]', | |
ignoreRecurringEvents: true | |
}; |
I hereby claim:
To claim this, I am signing this object:
Card grid ('-' * 9) A flexbox grid system with a float fallback. Easy classes to apply for the intended layout.
A Pen by Brad Czerniak on CodePen.
If you ignore the font-variant property (as it adds nearly infinite combinations), then there are 243 @font-face declarations you can make to a single font-family name/ident (9 font-stretch, 9 font-weight, 3 font-style).
Allowing for a more-than-bulletproof dec that includes filetypes you don't need (eot, svg, ttf, woff, woff2) and their respective 'average' sizes in kb (28, 150, 215, 25, 20), the src file payload for that many declarations would be ≈105 MB across 1215 files.
Surprisingly, the HTML needed to display all 243 variants can come in under 10 kb sans compression. The necessary CSS is less than 40 kb.
[This gist does not contain demo fonts]
var $body = jQuery('body'); | |
$body.on('click', 'a', function() { | |
var $this = $(this), | |
thisHref = $this.attr('href'); | |
if (thisHref.length | |
&& thisHref.substring(0, 1) === '#' | |
&& typeof ga === 'function' | |
) { | |
ga('send', 'event', { |