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
resource "aws_ecs_cluster" "nonprod-web" { | |
name = "nonprod-cluster" | |
capacity_providers = ["FARGATE", "FARGATE_SPOT"] | |
} | |
resource "aws_cloudwatch_log_group" "web-api-dev" { | |
name = "/ecs/web-api-dev-task" | |
} |
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
{"aggregateSeries":[{"date":"2018-09-02T00:00:00","totalValueForAllAccounts":2335337.5523,"accountGaidToValueMap":{"370010":2123554.3211,"3650605":211783.2312}},{"date":"2019-09-02T00:00:00","totalValueForAllAccounts":3435337.5523,"accountGaidToValueMap":{"370010":3123554.3211,"3650605":311783.2312}},{"date":"2020-09-02T00:00:00","totalValueForAllAccounts":4947120.7835,"accountGaidToValueMap":{"370010":4123554.3211,"370020":411783.2312,"3650605":411783.2312}},{"date":"2020-09-05T00:00:00","totalValueForAllAccounts":4876722.6233,"accountGaidToValueMap":{"370010":4062884.2941,"370020":406919.1646,"3650605":406919.1646}},{"date":"2020-09-06T00:00:00","totalValueForAllAccounts":4834024.7944,"accountGaidToValueMap":{"370010":4027231.9744,"370020":403396.41,"3650605":403396.41}},{"date":"2020-09-07T00:00:00","totalValueForAllAccounts":4879445.0798,"accountGaidToValueMap":{"370010":4061718.849,"370020":408863.1154,"3650605":408863.1154}},{"date":"2020-09-08T00:00:00","totalValueForAllAccounts":4958717.1911,"accountG |
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
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
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
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
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
{ | |
"pershingOffline": "true", | |
} |
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 datetime | |
import time | |
import flux_led | |
import sys | |
def scanAndSet(): | |
lightlevel = 100 | |
dt = datetime.datetime.now() |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="input over <everything></everything>"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
#container{ | |
width: 200px; |
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
// ==UserScript== | |
// @name Make JSON Pretty | |
// @version 0.1 | |
// @description Make JSON look nice | |
// @author Jon Gaudette <[email protected]> | |
// @include *.json | |
// @grant none | |
// ==/UserScript== | |
function prettySource(obj) { |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
#base{ | |
padding:10px; | |
background:#eee; |
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 | |
# | |
# Determine if master and slave mysql servers are in sync | |
# If not, report it via STDOUT and non-zero return code | |
# If are in sync, exit successfully | |
# | |
# Paramters: | |
# -v - verbose, show stats even if 100% synchronized | |
USER='YOUR_USER_NAME' |
NewerOlder