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
// Run in the JavaScript console of the hterm browser window | |
var colorPaletteOverides = [ | |
"#073642", /* 0: black */ | |
"#dc322f", /* 1: red */ | |
"#859900", /* 2: green */ | |
"#b58900", /* 3: yellow */ | |
"#268bd2", /* 4: blue */ | |
"#d33682", /* 5: magenta */ | |
"#2aa198", /* 6: cyan */ | |
"#eee8d5", /* 7: white */ |
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
master: | |
image: elasticsearch:2 | |
ports: | |
- "9200:9200" | |
restart: always | |
container_name: es_master | |
es-node: | |
image: elasticsearch:2 | |
command: elasticsearch --discovery.zen.ping.unicast.hosts=es_master |
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
# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ | |
# core | |
brew install coreutils | |
# key commands | |
brew install binutils | |
brew install diffutils | |
brew install ed --default-names | |
brew install findutils --with-default-names |
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
#!/usr/bin/env python | |
'''Build up a set of URLs using the common crawl index. See | |
http://commoncrawl.org/2015/04/announcing-the-common-crawl-index/ for more info. | |
''' | |
from __future__ import print_function | |
import gzip | |
import logging | |
import os | |
import random |