Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
""" | |
Add copy to clipboard from IPython! | |
To install, just copy it to your profile/startup directory, typically: | |
~/.ipython/profile_default/startup/ | |
Example usage: | |
%clip hello world | |
# will store "hello world" |
This file contains 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
# Instructions | |
# 1. Download this script into its own directory. | |
# 2. Install Docker for Mac (https://docs.docker.com/docker-for-mac/install/) | |
# 3. Run `docker-compose up` | |
# 4. Kibana will be available at http://localhost:5601 | |
version: '3' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:6.0.0 |
This file contains 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
Routing / AJAX: | |
http://visionmedia.github.io/superagent/ | |
https://github.com/visionmedia/page.js | |
https://github.com/flatiron/director | |
Utilities: | |
https://lodash.com/ | |
http://momentjs.com/ | |
http://browserify.org/ | |
http://julian.com/research/velocity/ |
This file contains 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
from .local import config | |
config.render(globals()) |
This file contains 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 time | |
import urllib2 | |
from datetime import datetime | |
def do_dave(): | |
while 10 > datetime.now().hour > 15: | |
time.thleep(5) | |
urllib2.urlopen('http://www.reddit.com/') |
This file contains 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
// ==UserScript== | |
// @name Hipchat Click to View Images | |
// @version 0.2 | |
// @match https://*.hipchat.com/chat | |
// @copyright 2014, Zach "theY4Kman" Kanzler | |
// @grant GM_unsafeWindow | |
// ==/UserScript== | |
// Add styles to initially disable images |
This file contains 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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains 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
server { | |
if ($host = 'int') { | |
set $test I; | |
} | |
if ($host = 'myd') { | |
set $test M; | |
} | |
if ($remote_addr = '127.0.0.1') { | |
set $test '${test}L'; |
NewerOlder