Skip to content

Instantly share code, notes, and snippets.

View ryw's full-sized avatar

Ry Walker ryw

View GitHub Profile

Tillerless Astronomer on Openshift

Local dev setup

Install helm on your local machine, we will use it to generate YAML.

Tiller won't be installed on the cluster.

You'll be using the CLI only to generate YAML from a YAML template.

import { SparkActivity } from 'aries-data';
import AWS from 'aws-sdk';
import moment from 'moment';
export default class AcmeDailyAnalysis extends SparkActivity {
static props = {
name: require('../package.json').name,
version: require('../package.json').version,
};
{
"interval" : "86400",
"activityList" : [
{
"name" : "aries-activity-acme-daily-analysis"
},
{
"name" : "aries-activity-redshift-sink",
"config" : {
"schema" : "astronomer_prod",
Title: Javascript Evolved: Intro to ES2015
PLEASE NOTE THE NEW LOCATION! We'll be meeting at Cintrifuse and the Brandery's new location Union Hall (1311 Vine St.). We also have a food sponsor for this meeting (thank you Differential!) so we'll be providing pizza.
We're going to have three talks:
*Bruce Hubbard — New JavaScript ES2015 language features*
There has been a huge effort lately to compile other languages into JavaScript (Coffeescript, TypeScript, etc) mostly because of perceived flaws in the JavaScript language. ES2015 is a great leap forward for JavaScript and helps fix some of the long complained about quirks and missing language features.
*Ry Walker — Intro to Meteor*
@ryw
ryw / funnel.coffee
Created April 5, 2015 20:12
Short script to run Keen IO funnel
# 1 Install node `brew install node`
# 2 Install coffeescript `npm install coffee-script`
# 3 Edit keen info and steps
# 4 Run script `coffee funnel.coffee`
Keen = require 'keen-js'
keen = new Keen
projectId: "XXX"
writeKey: "XXX"
@ryw
ryw / settings.json
Created February 8, 2015 02:01
Adding Slack chat from your Meteor App
{
"slack": {
"url": "https://hooks.slack.com/services/XXXXXXXX/XXXXXX/XXXXXXXXXXXXXXXXXX"
}
}
@ryw
ryw / designer.html
Created October 4, 2014 04:04
designer
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
<template>
@ryw
ryw / designer.html
Created October 4, 2014 04:02
designer
<link rel="import" href="../speech-mic/speech-mic.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@ryw
ryw / designer.html
Last active August 29, 2015 14:07
designer
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../ace-element/ace-element.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@ryw
ryw / publication.coffee
Created February 5, 2014 16:14
Meteor aggregation
Meteor.publishAggregation = (params) ->
initializing = true
dummy = Random.id()
pub = params.handle
collection = params.collection
handle = collection.find(params.filter, params.options).observeChanges
added: (id, fields) ->
if !initializing
pub.changed(params.name, dummy, collection.aggregate(params.pipeline)[0])