- Cats, as defined by how important they were as plot devices (the cat from The Matrix would inherit from
ImportantCat
, whereas the cat from Boondock Saints would inherit fromDeadCat
) - Batman (primarily as a way to describe situations in which a child has no parents)
- Presidents of the United States (Nixon vs Cheney vs Garfield)
- Zombies (Walking Dead vs World War Z vs Zombieland)
- Zombie Presidents of the United States
- Children in television shows, as grouped by whether they actually did cause their parents' separation
- Radioactive attack squirrels bent on global hegemony, beamed down to Earth from the mirror universe USS Enterprise
- George Carlins by decade
- Cocaine
- Metropolises, cities, towns, villages, and Detroits
This is a guide on how to email securely.
There are many guides on how to install and use PGP to encrypt email. This is not one of them. This is a guide on secure communication using email with PGP encryption. If you are not familiar with PGP, please read another guide first. If you are comfortable using PGP to encrypt and decrypt emails, this guide will raise your security to the next level.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function switcher() { | |
var on = true; | |
var self = {}; | |
self.wire = function(val) { | |
if (on) return val; | |
throw new Error('Cancelled'); | |
}; | |
self.off = function() { on = false; } | |
self.on = function() { on = true; } | |
return self; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CoreFoundation/CoreFoundation.h> | |
#include <IOKit/IOKitLib.h> | |
#include <dispatch/dispatch.h> | |
// 5 minutes | |
#define TIMEOUT (5*60) | |
bool reset_watchdog (int timeout) { | |
io_service_t service = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("IOWatchDogTimer")); | |
if (service == IO_OBJECT_NULL) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp = require 'gulp' | |
clean = require 'gulp-clean' | |
jade = require 'gulp-jade' | |
coffee = require 'gulp-coffee' | |
minify = require 'gulp-minify' | |
### | |
quick syntax ideas: | |
gulp.files() takes a glob and is an array of file streams |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script backups an OS X system to an external volume, effectively | |
# cloning it. It is based on [0], [1] and [2] for OS X and [3] and [4] for | |
# Linux. One could also use commercial tools like SuperDuper! or Carbon Copy | |
# Cloner. The latter website has an interesting list[5] on what files to | |
# exclude when cloning. | |
# | |
# Exclusions (from CCC[5]), see rsync_excludes_osx.txt | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Copyright (c) 2012-2015 Cédric Luthi / @0xced. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#if TARGET_OS_SIMULATOR | |
static const char *fakeCarrier; | |
static const char *fakeTime; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@implementation MySharedThing | |
+ (id)sharedInstance | |
{ | |
DEFINE_SHARED_INSTANCE_USING_BLOCK(^{ | |
return [[self alloc] init]; | |
}); | |
} | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
@interface NSString (UUID) | |
+ (NSString*)stringWithUUID; | |
@end |