Skip to content

Instantly share code, notes, and snippets.

View natebenes's full-sized avatar

Nate Benes natebenes

View GitHub Profile
@sumeetjain
sumeetjain / digital_ocean_excellent_support.md
Last active June 17, 2016 04:22
After sharing the chat history of my support request at Digital Ocean on Twitter, two of their team members got in touch to set things right.

After making this tweet yesterday, Digital Ocean got in touch with me to explain what might have gone wrong. Two members responded: Zach Bouzan-Kaloustian and Tyler Crandall. Both of them sent thoughtful and thorough replies and apologized for the poor experience I'd had up to that point.

When I posted to Twitter yesterday, my goal was to learn what I had done wrong so I could properly teach students how to use Digital Ocean in the future. Turns out there was just a bug in their system related to some code that had just been deployed, and it raised abuse flags for users who signed up during a short window. They've, of course, fixed the bug and are going to make improvements to their support procedures to hopefully avoid situations like mine from yesterday.

Zach's email to me is pasted below, for the curious. But before you get to that, let me very clear: **Bugs happen. That includes behavioral bugs, like momentary lapses in support quality. Fro

@tinkerware
tinkerware / hsdis-elcapitan.sh
Last active July 19, 2020 15:38
Build hsdis for JDK 1.8u92 on El Capitan
# You will need Mercurial; get it with `brew install hg`.
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u
cd jdk8u
hg update jdk8u92-b14
chmod +x ./get_source.sh; ./get_source.sh
cd hotspot/src/share/tools/hsdis
wget http://ftp.heanet.ie/mirrors/gnu/binutils/binutils-2.26.tar.gz
tar -xzf binutils-2.26.tar.gz
make BINUTILS=binutils-2.26 ARCH=amd64
anonymous
anonymous / cartodb.yaml
Created November 16, 2015 22:49
This is a Tangram scene, made with Tangram Play. It uses CartoDB data exported as GeoJSON vector tiles.[This is a Tangram scene, made with Tangram Play.]
cameras:
perspective:
type: perspective
vanishing_point: [0, -500]
lights:
directional1:
type: directional
direction: [.1, .5, -1]
diffuse: .7
ambient: .5
IKESA: Cookies: Initiator 0x7a9cff970df16c49 Responder 0x5f717e0f18d3d7f5
IKESA: The local host is the responder.
IKESA: ISAKMP version 1.0; main mode (identity protect) exchange
IKESA: Current state is ACTIVE
IKESA: Dead Peer Detection (RFC 3706) enabled
XFORM: Authentication method: <unknown 0>
XFORM: Encryption alg: <none>; Authentication alg: <none>
XFORM: Oakley Group: <unavailable>
XFORM: Phase 2 PFS is not used
@allisonmorgan
allisonmorgan / main.go
Last active September 8, 2015 20:20
Anomalyzer Example from CSV
package main
import (
"encoding/csv"
"log"
"os"
"strconv"
"github.com/lytics/anomalyzer"
)
@pdbartsch
pdbartsch / process_landsat.sh
Last active March 23, 2017 20:13 — forked from andymason/Landsat 8 gdal processing
Landsat 8 gdal processing
#! /bin/bash
# Forked from: Andy Mason https://gist.github.com/andymason/6780828
# Convert Landsat 8 GeoTIFF images into RGB pan-sharpened JPEGs.
#
# Requirements:
# * gdal http://www.mapbox.com/tilemill/docs/guides/gdal/
# * convert (image-magick)
# * dans-gdal-scripts https://github.com/gina-alaska/dans-gdal-scripts
@pdbartsch
pdbartsch / index.md
Last active September 28, 2023 06:07
Locate, download and process Landsat 8 GeoTIFF images into RGB pan-sharpened JPEGs

Locate, download and process Landsat 8 GeoTIFF images into RGB pan-sharpened JPEGs

Start here

The following steps can get tedious. You're going to need to want it. Get in the mood by viewing some timelapse imagery.

Locate data for download

AWS gererously hosts Landsat imagery. This imagery can be easily searched and downloaded through Development Seed's Libra tool (You'll need to register for a free USGS account). It can be useful to see path & row graphically, so download shapefile or kml from here.

Naming

LXSPPPRRRYYYYDDDGSIVV ##L``X``S``PPP``RRR``YYYY``DDD``G``S``I``VV

@cuviper
cuviper / systemtap-on-rust
Created January 14, 2015 19:10
SystemTap on Rust. This shows stap tracing function calls and returns for a simple hello.rs. Inspired by @bcantrill's DTrace example (https://gist.github.com/bcantrill/b7d031db6e35cfd79201). For annotated probe points, try https://github.com/cuviper/rust-libprobe.
$ uname -a
Linux laptop 3.10.0-123.13.2.el7.x86_64 #1 SMP Fri Dec 12 19:51:03 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
$ rustc -Vv
rustc 1.0.0-alpha (44a287e6e 2015-01-08 17:03:40 -0800)
binary: rustc
commit-hash: 44a287e6eb22ec3c2a687fc156813577464017f7
commit-date: 2015-01-08 17:03:40 -0800
host: x86_64-unknown-linux-gnu
release: 1.0.0-alpha
$ cat hello.rs
@yeokm1
yeokm1 / Minimal Raspbian.md
Last active November 21, 2016 03:29
Set of commands to strip down the default Raspbian installation as of 20 September 2014
rm -rf python_games
rm -rf Desktop

sudo apt-get --auto-remove --purge remove aptitude aptitude-common aspell aspell-en cifs-utils dbus dbus-x11 dconf-gsettings-backend:armhf dconf-service debconf-i18n debian-reference-common debian-reference-en desktop-base desktop-file-utils dictionaries-common dillo esound-common ed fbset firmware-atheros firmware-brcm80211 firmware-libertas firmware-ralink firmware-realtek fontconfig fontconfig-config fonts-droid fonts-freefont-ttf galculator gconf-service gconf2 gconf2-common gdb gdbserver gettext-base ghostscript gir1.2-glib-2.0 glib-networking:armhf glib-networking-common glib-networking-services gnome-icon-theme gnome-themes-standard-data gpicview groff-base gsettings-desktop-schemas gsfonts gsfonts-x11 gtk2-engines:armhf gvfs:armhf gvfs-backends gvfs-common gvfs-daemons gvfs-fuse gvfs-libs:armhf hicolor-icon-theme idle idle-python2.7 idle-python3.2 idle3 jackd jackd2 java-common krb5-locales leafpad lightdm lightdm-gtk-greeter lua5.1 luajit lxappearance lxde 
@gmasse
gmasse / gist:4b0c34be3d797cd729d2
Last active February 22, 2022 16:00
OVH custom iPXE boot (dedicated server)