I hereby claim:
- I am shmick on github.
- I am shmick (https://keybase.io/shmick) on keybase.
- I have a public key whose fingerprint is 8302 5F5B F47A 0C57 B20F 21B2 1E32 9473 C076 DAEB
To claim this, I am signing this object:
/* Title: inoise8_pal_demo.ino | |
* | |
* By: Andrew Tuline | |
* | |
* Date: August, 2016 | |
* | |
* This short sketch demonstrates some of the functions of FastLED, including: | |
* | |
* Perlin noise | |
* Palettes |
#include "FastLED.h" | |
// How many leds in your strip? | |
#define NUM_LEDS 60 | |
// For led chips like Neopixels, which have a data line, ground, and power, you just | |
// need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, | |
// ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN | |
#define DATA_PIN 3 | |
#define CLOCK_PIN 13 |
#include "FastLED.h" | |
#define LED_PIN 3 | |
#define LED_TYPE WS2811 | |
#define COLOR_ORDER GRB | |
#define NUM_LEDS 30 | |
CRGB leds[NUM_LEDS]; | |
#define BRIGHTNESS 120 | |
#define DENSITY 80 |
#include "FastLED.h" | |
#if defined(FASTLED_VERSION) && (FASTLED_VERSION < 3001000) | |
#warning "Requires FastLED 3.1 or later; check github for latest code." | |
#endif | |
#define NUM_LEDS 100 | |
#define LED_TYPE WS2811 | |
#define COLOR_ORDER GRB |
I hereby claim:
To claim this, I am signing this object:
$ vagrant up ; vagrant ssh | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'ubuntu/trusty64'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Checking if box 'ubuntu/trusty64' is up to date... | |
==> default: Setting the name of the VM: trusty64_default_1456413993437_55351 | |
==> default: Clearing any previously set forwarded ports... | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... | |
default: Adapter 1: nat |
#!/usr/bin/env bash | |
# make script exit if a simple command fails and | |
# make script print commands being executed | |
set -e -x | |
# names of latest versions of each package | |
export VERSION_PCRE=pcre-8.38 | |
export VERSION_OPENSSL=openssl-1.0.2f | |
export VERSION_NGINX=nginx-1.9.11 |
# I've only tested this on Ubuntu 14.04 64bit using ubuntu/trusty64 via Vagrant | |
# | |
# This one liner will install all required build tools and begin the compile process | |
# bash <(curl -s0 https://gist.githubusercontent.com/shmick/f16d1f9331404ad61993/raw) | |
# | |
echo "Running apt-get update..." && \ | |
sudo apt-get -qq update && \ | |
echo "Running apt-get install..." && \ | |
sudo apt-get -qq install \ | |
git-core \ |
#!/bin/bash | |
if [[ $EUID -ne 0 ]] | |
then | |
echo "This script must be run as root" | |
exit 1 | |
fi | |
OUTPUT=$(/usr/local/etc/letsencrypt.sh/letsencrypt.sh -c) | |
echo "$OUTPUT" | grep Renewing |
#!/usr/bin/env bash | |
# names of latest versions of each package | |
export VERSION_PCRE=pcre-8.38 | |
export VERSION_OPENSSL=openssl-1.0.2f | |
export VERSION_NGINX=nginx-1.9.9 | |
# URLs to the source directories | |
export SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ | |
export SOURCE_OPENSSL=https://www.openssl.org/source/ |