Skip to content

Instantly share code, notes, and snippets.

View ryanj's full-sized avatar
💭
LGTM

ryan jarvinen ryanj

💭
LGTM
View GitHub Profile
// Load the library - https://github.com/ryanjarvinen/eventbrite.npm
var Eventbrite = require('eventbrite');
// Load creationix's couch-client
var CouchClient = require('couch-client');
// Initialize the Eventbrite API client - http://www.eventbrite.com/api/key/
var eb_client = Eventbrite('RWJPIH4B6FVFAIAK6Y');
// Initialize your couchbase client:
@ryanj
ryanj / EventbriteSelectiveSync.js
Created October 4, 2011 20:02 — forked from stickbyatlas/EventbriteSelectiveSync.js
Scans Eventbrite for events created by a specific group of users, mirrors these events on a CouchDB instance and notifies an administrator by email of any updates or additions.
// Load the library - https://github.com/ryanjarvinen/eventbrite.npm
var Eventbrite = require('eventbrite');
// Load creationix's couch-client
var CouchClient = require('couch-client');
// Initialize the Eventbrite API client - http://www.eventbrite.com/api/key/
var eb_client = Eventbrite('YOUR API KEY');
// Initialize your couchbase client:
@ryanj
ryanj / index.html
Created February 27, 2013 01:08 — forked from andrewxhill/index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Easy earthquakes</title>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://libs.cartocdn.com/cartodb.js/v2/cartodb.js"></script>
<style type="text/css">
body{
@ryanj
ryanj / Pushit.sh
Last active August 29, 2015 13:56 — forked from nquinlan/Pushit.sh
pushit command, modified for linux (vlc / cvlc)
# in your .bash_profile / .bashrc
alias pushit='git push && cvlc http://www.youtube.com/watch?v=vCadcBR95oU'
# to get the file into your .bash_profile
echo "alias pushit='git push && cvlc http://www.youtube.com/watch?v=vCadcBR95oU'" >> ~/.bash_profile
@ryanj
ryanj / kilo_ds.html
Last active August 29, 2015 14:08 — forked from danehans/kilo_ds.html
OpenShift on OpenStack - Using Heat, Docker and Kubernetes to Simplify Your Life and Accelerate Development
<section>
<h1>OpenShift on OpenStack</h1><br />
<h3>Using Heat, Docker and Kubernetes to Simplify Your Life and Accelerate Development</h3><br />
<p>
Presented by<br />
<a href="http://about.me/dianemueller">Diane Mueller, Red Hat OpenShift</a> / <a href="http://twitter.com/pythondj">@pythondj</a><br />
<a href="http://about.me/daneyon_hansen">Daneyon Hansen, Cisco</a> / <a href="https://twitter.com/daneyonhansen">@daneyonhansen</a>
</p>
</section>
<section>
<!-- Opening -->
<section>
<section>
<h1 style="font-size: 3.4em; margin-top: -25px;">Connecting Containers</h1>
<img src="https://raw.githubusercontent.com/codemiller/connecting-containers/gh-pages/images/boxillusion.png" style="width: 210px; background-color: inherit; border: none; box-shadow: none;"/>
<h3>Building a PaaS with Docker and&nbsp;Kubernetes</h3>
<p>
Presented by<br/>
<a href="http://www.codemiller.com">Katie Miller</a> / <a
href="http://twitter.com/codemiller">@codemiller</a><br/>
<section data-background-transition='zoom' data-transition='linear'>
<img src="http://ryanjarvinen.com/images/Shifter_logo_216.svg" style="width:74%; border:none;" />
</section>
<section data-transition='concave'>
<section data-transition='concave'>
<h2>Presentations on the Open Web</h2>
<p><span class='fragment'>Reveal.js is a framework</spam><br/><span class='fragment'>for easily crafting</span> <br/><span class='fragment'>beautiful presentations</span><br/> <span class='fragment'>in HTML</span> <br/><br/><div class='fragment'><p>You'll need a browser with support for CSS 3D transforms to see it's full capabilities.</p>
<aside class="notes">Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).</aside>
</section>
<section>
@ryanj
ryanj / reset-steps.sh
Last active August 29, 2015 14:20 — forked from detiber/gist:e0bd051fe7e2faf0a893
Reset / reconfigure an OSv3 system
#!/bin/bash
systemctl stop openshift-master openshift-node openshift-sdn-master openshift-sdn-node docker openvswitch
rm -rf /var/lib/openshift/* /etc/openshift/ /root/.config/openshift ~<ssh user>/.config/openshift /etc/ansible/facts.d
@ryanj
ryanj / Dockerfile
Created March 22, 2016 19:19 — forked from dlbewley/Dockerfile
OpenShift STI static httpd builder dockerfile test
# static-builder
FROM openshift/base-centos7
# TODO: Put the maintainer name in the image metadata
MAINTAINER Dale Bewley <[email protected]>
# TODO: Rename the builder environment variable to inform users about application you provide them
ENV BUILDER_VERSION 1.0
# TODO: Set labels used in OpenShift to describe the builder image
set -g default-terminal "screen-256color"
# change prefix command to C-z
set -g prefix C-z
unbind C-b
bind C-z last-window
bind z send-prefix
# setup | and - for window splitting
unbind %
bind | split-window -h