Skip to content

Instantly share code, notes, and snippets.

View ktilcu's full-sized avatar

kyle tilman ktilcu

View GitHub Profile
# [Notification Center](http://osxdaily.com/2012/08/06/disable-notification-center-remove-menu-bar-icon-os-x/)
## Disable
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
killall NotificationCenter # optional?
## Enable
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
# Spotlight
// Plinko.js
!function(){
'use strict';
function Plinko(){
var self = this,
app = require('http').createServer(handler),
io = require('socket.io').listen(app),
fs = require('fs'),
@ktilcu
ktilcu / aws-ssl-termination-digicert.md
Last active October 19, 2015 21:25 — forked from marcuswestin/aws-ssl-termination-digicert.md
How to set up an AWS SSL terminating Elastic Load Balancer with a Digicert certificate

1: Generate CSR

openssl req -new -newkey rsa:2048 -nodes -keyout server-cert.key -out server-cert-sign-req.csr

# Country Name (2 letter code) [AU]:US
# State or Province Name (full name) [Some-State]:California
# Locality Name (eg, city) []:
# Organization Name (eg, company) [Internet Widgits Pty Ltd]:Flutterby Labs, Inc.
# Organizational Unit Name (eg, section) []:
# Common Name (eg, YOUR name) []:www.dogo.co
@ktilcu
ktilcu / .block
Last active February 23, 2016 00:22 — forked from mbostock/.block
Force-Directed Graph with Mouseover
license: gpl-3.0
@ktilcu
ktilcu / .block
Last active February 23, 2016 05:56 — forked from mbostock/.block
Hierarchical Edge Bundling
license: gpl-3.0
@ktilcu
ktilcu / .block
Created February 23, 2016 05:39 — forked from mbostock/.block
The Euro Debt Crisis
license: gpl-3.0
@ktilcu
ktilcu / index.html
Last active July 1, 2016 03:12 — forked from anonymous/index.html
JS Bin Template for testing
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.rawgit.com/lodash/lodash/4.5.1/dist/lodash.min.js"></script>
<script src="https://cdn.rawgit.com/zloirock/core-js/master/client/shim.min.js"></script>
<script src="https://wzrd.in/standalone/tape@latest"></script>
<script src="https://wzrd.in/standalone/tap-browser-color@latest"></script>
<script src="https://wzrd.in/standalone/tape-catch@latest"></script>
<meta charset="utf-8">
const makeRequest = () => {
getJSON()
.then(JSON.parse)
.catch(console.log)
.then(console.log)
}
@ktilcu
ktilcu / apaste
Created April 9, 2018 17:31 — forked from sam-roth/apaste
Aligning `paste` alternative
#!/usr/bin/env python3
import argparse
import itertools
ap = argparse.ArgumentParser()
ap.add_argument('file', nargs='*', type=argparse.FileType('r'))
ap.add_argument('-p', '--pad-char', default=' ')
ap.add_argument('-d', '--delimiter', default=' ')
ap.add_argument('-c', '--pad-color', default=None)
ap.add_argument('-s', '--align-spec', default='')