If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml
.
from datetime import timedelta | |
import dateutil.parser | |
from pathlib import Path | |
import re | |
START_LINE = re.compile(r'^\[([^\]]+)\] Starting Internet Archive Import') | |
END_LINE = re.compile(r'^\s*Internet Archive import completed at (.+)') | |
SUMMARY_START = re.compile(r'^\s*Loaded (\d+) CDX records:') | |
SUMMARY_ITEM = re.compile(r'^\s*(\d+)\s([\s\w\-]+)\s\(') | |
IMPORT_ERRORS = re.compile(r'^\s*Total:\s*(\d+)\serrors') |
export GITHUB_USER=magickatt | |
export GITHUB_TOKEN=secret | |
export GITHUB_REPOSITORY=magickatt/ContainerisingLegacyApplicationsTalk | |
git clone https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} |
#!/usr/bin/env python | |
############################################################################### | |
# $Id$ | |
# | |
# Project: GDAL2Tiles, Google Summer of Code 2007 & 2008 | |
# Global Map Tiles Classes | |
# Purpose: Convert a raster into TMS tiles, create KML SuperOverlay EPSG:4326, | |
# generate a simple HTML viewers based on Google Maps and OpenLayers | |
# Author: Klokan Petr Pridal, klokan at klokan dot cz | |
# Web: http://www.klokan.cz/projects/gdal2tiles/ |
<html> | |
<head> | |
</head> | |
<body> | |
<script src="lib/yourlib.js"></script> | |
<script> | |
window.onload = function () { | |
EntryPoint.run(); | |
}; | |
</script> |
If you don't have homebrew installed - get homebrew here
Then run: brew install elasticsearch
Update the elasticsearch configuration file in /usr/local/etc/elasticsearch/elasticsearch.yml
.
Tools > New Snippet
in Sublime Textes6-create-class-component.sublime-snippet
tabTrigger
to a custom trigger, if you don't like rcc
Packages/User
.rcc
by default), then press TAB or RETURN, and..Short version: I strongly do not recommend using any of these providers. You are, of course, free to use whatever you like. My TL;DR advice: Roll your own and use Algo or Streisand. For messaging & voice, use Signal. For increased anonymity, use Tor for desktop (though recognize that doing so may actually put you at greater risk), and Onion Browser for mobile.
This mini-rant came on the heels of an interesting twitter discussion: https://twitter.com/kennwhite/status/591074055018582016
Instructions for getting an ELK stack set up quick on Mac. Paths are opinionated. You'll have to infer and change. Sorry mate. 🍰
Install Homebrew if not already. You probably have. If not, you should.
brew install elasticsearch nginx
/* Without using express-promise-router... | |
* If either of the two Promise-returning methods ends up failing (ie. rejecting), | |
* an uncaught exception will be printed to stdout, and the client will never get | |
* a response - instead, they'll be stuck on an infinitely loading page. | |
*/ | |
express = require("express").router(); | |
router.get("/", function(req, res) { | |
Promise.try(function(){ |