This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
APPLICATION="telemetry" # TODO | |
REPO="FlickElectric/$APPLICATION" | |
PROFILE="flick" | |
OPSWORKS_REGION="us-east-1" | |
CODEDEPLOY_REGION="ap-southeast-2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "bundler/setup" | |
require "shoryuken/cli" | |
environment_path = File.expand_path("config/environment.rb") | |
require environment_path if File.exist?(environment_path) | |
Rails.application.eager_load! if defined?(Rails) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "foo_vpc" { | |
source = "./vpc" | |
region = "ap-southeast-2" | |
partner = "foo" | |
environment = "production" | |
cidr = "10.0.0.0/16" | |
public_offset = 0 | |
private_offset = 2 | |
availability_zones = [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "pathname" | |
root = Pathname.new(".") | |
libs = root.children.select(&:directory?).collect(&:realpath) | |
libs.each do |lib| | |
Dir.chdir(lib.realpath.to_s) do | |
system "yard" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "set" | |
Command = Struct.new(:direction, :blocks) | |
class Compass | |
BEARINGS = [:north, :east, :south, :west] | |
def initialize | |
@index = 0 | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[🦃] 1Password 6 (runs under Wine) | |
[🦃] Airmail (Geary / Thunderbird) | |
[✅] Atom | |
[✅] Calculator | |
[✅] Calendar (Evolution) | |
[✅] Charles | |
[✅] Colloquy (HexChat) | |
[✅] Contacts (Evolution) | |
[✅] DaisyDisk (Baobab) | |
[✅] Dash (Zeal) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mgcrea/unifi-video:3 | |
linuxserver/unifi | |
grafana/grafana | |
influxdb | |
postgres | |
mariadb | |
owncloud | |
linuxserver/rutorrent | |
dperson/emby | |
kylemanna/openvpn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Targets *** | |
probe = FPing | |
menu = Top | |
title = Network Latency Grapher | |
remark = Kotiri | |
+ NZ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg | |
echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get -y update && sudo apt-get -y install yarn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import datetime | |
import serial | |
import time | |
import urllib | |
import math | |
from time import strftime | |
from sense_hat import SenseHat | |
from decimal import Decimal |