Skip to content

Instantly share code, notes, and snippets.

View stormpython's full-sized avatar

Shelby Sturgis stormpython

  • Netflix
  • San Francisco, CA
View GitHub Profile
@stormpython
stormpython / README.md
Last active March 21, 2022 13:45
Data Visualization with Elasticsearch Aggregations and D3 (Tutorial)

Data Visualization with Elasticsearch Aggregations and D3

Link to the Elasticsearch Blog.

@stormpython
stormpython / README.md
Last active May 4, 2016 11:14
D3 Directives in Angular
@stormpython
stormpython / README.md
Last active February 6, 2019 05:00
Angular D3 Directives with Elasticsearch
@stormpython
stormpython / README.md
Last active August 29, 2015 13:57
Education index, median age, and gdp

Bubble chart indicating the education index (y-axis), median age (x-axis), and GDP (circle size) of 175 countries.

@stormpython
stormpython / elasticsearch.md
Last active August 29, 2015 13:57
Getting Started with Elasticsearch

Getting started with Elasticsearch

Install Oracle Java SDK (Ubuntu)

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
@stormpython
stormpython / raspberrypi_server.md
Last active May 1, 2019 20:14
Setting up a Raspberry Pi Home Server

Setting up a Home Server with Raspberry Pi

Downloading and Installing Wheezy Raspbian

Download the latest wheezy raspbian raw image and install onto a 4GB+ SD card following the RPi Easy SD Card Setup instructions.

Server Setup

  1. Insert the SD Card. Attach a keyboard, mouse, and monitor to your Raspberry Pi before booting it up.
  2. The Raspberry Pi has a nice "raspi-config" screen that you'll see on first boot. For a home server, the following selections will be useful:
@stormpython
stormpython / how_to_set_up_ssh_keys.md
Last active November 12, 2024 08:33
Setting up ssh keys for remote server access

How to Set up SSH Keys

Create the RSA Key Pair

ssh-keygen -t rsa

Store the Keys and Passphrase

Once you have entered the Gen Key command, you will get a few more questions:

Files and Directories in Linux

  • /bin - binaries/exectuables
  • /boot - boot parameters and kernel
  • /dev - devices
  • /etc - configuration files
  • /home - users' home directories
  • /lib - libraries and system modules
  • /media - removable drives are mounted here
  • /mnt - permanently attached devices are mounted here
@stormpython
stormpython / README.md
Last active August 29, 2015 13:57
Stacked-to-Grouped-to-Normalized Bars
<!DOCTYPE html>
<html>
<head>
<title></title>
<style>
div.col {
display: inline-block;
}
</style>
</head>