Skip to content

Instantly share code, notes, and snippets.

View statik's full-sized avatar
😎
happily working! I may be slow to respond

Elliot Murphy statik

😎
happily working! I may be slow to respond
View GitHub Profile
@statik
statik / keybase.md
Created March 5, 2014 14:47
keybase.md

Keybase proof

I hereby claim:

  • I am statik on github.
  • I am statik (https://keybase.io/statik) on keybase.
  • I have a public key whose fingerprint is 6074 9C9C 2441 870D F8F5 CACF A194 1865 8E81 11D7

To claim this, I am signing this object:

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google
@statik
statik / bootstrap.sh
Last active August 29, 2015 14:06 — forked from keo/bootstrap.sh
#!/bin/sh
# Setup encrypted disk image
# For Ubuntu 14.04 LTS
CRYPTFS_ROOT=/cryptfs
apt-get update
apt-get -y upgrade
apt-get -y install cryptsetup
@statik
statik / gist:7d05a7fa0fb6543b1524
Last active August 29, 2015 14:09
coreOS slickle cloud-config
#cloud-config
coreos:
update:
reboot-strategy: best-effort
units:
- name: etcd.service
command: start
- name: fleet.service
command: start
hostname: slickle
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/",
"Mappings" : {
"RegionMap" : {
"ap-northeast-1" : {
"AMI" : "ami-19fba518"
},
@statik
statik / README.md
Last active August 29, 2015 14:15 — forked from jfromaniello/README.md

This is a fork from the original CoreOS cloud formation template. It adds two EBS disks of 30G, mounted to /var/lib/docker.

This is intended to be used with an m3.large machine which comes with 30G of SSD.

The reason I add two of 30 and not one of 60 is because a BTRFS limitation.

You can use the "btrfs add" approach in the units to create a BTRFS raid.

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@statik
statik / README.md
Last active August 29, 2015 14:18 — forked from jmb/README.md

Description

Dashing widget to display the next and some subsequent Google Calendar events using the Google Calendar API v3.

I use this widget to display my shift calendar - see the screenshot below

Set up

This widget works with API v3 and requires a service account to be set up via the Google Developer's Console. Once a project is set up, enable the Calendar API. On the Credentials page create a new OpenID and download the p12 key file - set up the path to this file in the job file and grant the email address access to the relevant calendar.

# !/bin/bash
# Copyright (c) 2011 Float Mobile Learning
# http://www.floatlearning.com/
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
@statik
statik / build.gradle
Created April 23, 2015 13:46
Clojure / RoboVM build.gradle file
buildscript {
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'http://clojars.org/repo' }
maven { url 'http://dl.bintray.com/literalice/maven' }
}
dependencies {
classpath 'org.robovm:robovm-gradle-plugin:1.0.1-SNAPSHOT'
classpath 'clojuresque:clojuresque-base:1.6.0'