Skip to content

Instantly share code, notes, and snippets.

View sgates's full-sized avatar

Steffen Gates sgates

  • CTAC
  • Falls Church, VA
View GitHub Profile
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.3.2
http://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html#import-vm-image
{
"meta": {
"status": 200,
"messages": [],
"pagination": {
"count": 10,
"max": 10,
"offset": 0,
"sort": "id",
"total": 207,
{
"meta": {
"status": 200,
"messages": [],
"pagination": {
"count": 10,
"max": 10,
"offset": 0,
"sort": "id",
"total": 207,
{
"meta": {
"status": 200,
"messages": [],
"pagination": {
"count": 10,
"max": 10,
"offset": 0,
"sort": "id",
"total": 207,
{
"meta": {
"status": 200,
"messages": [],
"pagination": {
"count": 10,
"max": 10,
"offset": 0,
"sort": "id",
"total": 327,
This file has been truncated, but you can view the full file.
{
"meta": {
"filters": null,
"messages": [],
"pagination": {
"count": 6,
"currentUrl": "https://stg-api.nhtsa.gov/vehicles/byYmmt?offset=0&max=20&sort=id&make=Chevrolet&model=SILVERADO 1500&modelYear=2015&detail=details",
"max": 20,
"nextUrl": null,
"offset": 0,
<html>
<head>
<style>
body{
font-family: "Comic Sans MS";
background: -moz-linear-gradient( top ,
rgba(255, 0, 0, 1) 0%,
rgba(255, 255, 0, 1) 15%,
rgba(0, 255, 0, 1) 30%,
rgba(0, 255, 255, 1) 50%,
#!/bin/bash
# This can be run via dropbox and curl: bash <(curl -s https://dl.dropboxusercontent.com/u/39235514/jenkinsInstall.sh)
echo debconf shared/accepted-oracle-license-v1-1 select true | \
sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | \
sudo debconf-set-selections
#java 8
@sgates
sgates / DeepDreamInstall.sh
Last active August 29, 2015 14:24
Install Deep Dream Yosemite notes
# https://gist.github.com/robertsdionne/f58a5fc6e5d1d5d2f798
# had a bad boost install already (1.5.8), followed this to fix it:
# http://itinerantbioinformaticist.blogspot.com/2015/05/caffe-incompatible-with-boost-1580.html
# don't forget to brew unlink boost && brew link boost
# then run in the caffe folder to fix previous bad install (no rule to make target errors):
$ make clean
#if ipython is broken because it's missing pyzmq
$ sudo pip uninstall ipython