Skip to content

Instantly share code, notes, and snippets.

View carnesen's full-sized avatar

Chris Arnesen carnesen

View GitHub Profile
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/// <reference lib="dom" />
global.fetch = require('node-fetch');
// ^^ Attaches `fetch` polyfill to global scope
const aws_amplify_1 = require("aws-amplify");
const run_and_exit_1 = require("@carnesen/run-and-exit");
// Workaround https://github.com/aws-amplify/amplify-js/issues/3109
aws_amplify_1.Analytics.configure({ disabled: true });
async function signInAsChris(userPoolId, userPoolWebClientId) {
#!/usr/bin/env python
import sys
import argparse
import ansible.constants as C
import ansible.inventory
import subprocess
def get_inventory(subset_pattern):
@carnesen
carnesen / gist:0558dd04e3753d7a505a
Created July 7, 2015 14:14
A quick update about Assembly's future

Hi.

Later this week, Assembly.com will be releasing a new product experience. These new tools for telling your product's story will be a significantly different experience. Our focus is to make it easy for a community to gather around your product and follow along with the development. We’ve seen how that leads to more thoughtful feedback, better community support, and richer co-creation on your products.

The new Assembly replaces bounties and lists of tasks to do for a feed of progress that celebrates the great work that has happened. It also gives product creators the flexibility they were asking for; management, hosting, and the ways you reward contributors is now entirely up to each product.

The Assembly you are familiar with, now affectionately called 1.0, will have a new home at cove.assembly.com for the time being. We will support the existing profitable products on version 1.0 as well as provide ways to migrate your product’s data to the next version of Assembly. We've also open sourced the codebas

@carnesen
carnesen / additions.sh
Created July 22, 2014 22:13
additions to minimal centos vm before imaging
#!/bin/bash
echo foo
@carnesen
carnesen / gist:6638e158738efde90c51
Created July 2, 2014 00:16
emusic.com responded with
This is the custom error page for a dead database. object(WP_Error)#4 (2) { ["errors"]=> array(1) { [500]=> array(1) { [0]=> string(52) "We were unable to connect to the database. (DB_HOST)" } } ["error_data"]=> array(0) { } }
@carnesen
carnesen / node hbase is not in Zookeeper
Last active August 29, 2015 14:01
The node /hbase is not in ZooKeeper
hbase(main):001:0> list
TABLE
2014-05-11 15:40:53,969 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2014-05-11 15:40:54,072 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2014-05-11 15:40:54,274 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
2014-05-11 15:40:54,577 ERROR [main] client.HConnectionManager$HConnectionImplementation: The node /hbase is not in ZooKe
tail1.sources = src1
tail1.channels = ch1
tail1.sinks = sink1
tail1.sources.src1.type = exec
tail1.sources.src1.command = tail -F /tmp/access_log
tail1.sources.src1.channels = ch1
tail1.channels.ch1.type = memory
tail1.channels.ch1.capacity = 500
tail1.sinks.sink1.type = avro
tail1.sinks.sink1.hostname = localhost