Skip to content

Instantly share code, notes, and snippets.

Zane Ashby ZaneA

Block or report user

Report or block ZaneA

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ZaneA / gist:0404067e1b2a0fc6161d
Created Jun 12, 2015
Saving events into InfluxDB(?) to be rendered with Grafana(?)
View gist:0404067e1b2a0fc6161d
curl -X POST -d '[{"name": "events", "columns": ["title", "tags", "text"], "points": [["Title", "one|two", "Text"]]}]' 'http://localhost:8086/db/events/series?u=admin&p=admin'

Keybase proof

I hereby claim:

  • I am zanea on github.
  • I am zanea ( on keybase.
  • I have a public key whose fingerprint is D8B5 59D4 FC8E A187 6445 E156 D4F7 0856 356B F1B1

To claim this, I am signing this object:

ZaneA / git-mpush
Last active Dec 20, 2015
Usage: `git mpush origin,github master`
View git-mpush
IFS=',' read -ra REMOTES <<< "$1"
for REMOTE in "${REMOTES[@]}"; do
echo git push $REMOTE $*
git push $REMOTE $*
ZaneA / filters.js
Created Jun 6, 2013
A couple of filters for AngularJS.
View filters.js
app.filter('escape', function () {
return function (text) {
if (!text) return '';
return text.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
app.filter('linkify', function () {
var domainRegexp = /(https?|ftp):\/\/(.*)/;
ZaneA / simple-mode-line.el
Last active Dec 16, 2015 — forked from lateau/simple-mode-line.el
Remove some warnings.
View simple-mode-line.el
;;; simple-mode-line.el --- Simplified Mode Line for Emacs 24
;; Author: Daehyub Kim <lateau at>
;; URL:
;; Version: 0.1
;; Keywords: mode-line, color
;;; Commentary:
;; This simplified mode line is adjusted to *white* themes.
ZaneA /
Created Feb 6, 2013 for a project that has an existing .clang_complete
# Specify compiler flags for the YouCompleteMe plugin in Vim.
def FlagsForFile(filename):
return {
'flags': open('.clang_complete', 'r').readlines(),
'do_cache': True
ZaneA / Makefile
Created Dec 16, 2012
An LD_PRELOAD hack to create an OpenGL overlay.
View Makefile
overlay : main.c
gcc -o -shared -fPIC main.c -lGL -I/usr/include/freetype2 -lftgl
You can’t perform that action at this time.