Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am ddollar on github.
  • I am ddollar (https://keybase.io/ddollar) on keybase.
  • I have a public key whose fingerprint is 0F9F B5E1 B782 8A05 0EA2 AF17 96B2 F1E6 8524 791E

To claim this, I am signing this object:

@ddollar
ddollar / create-convox-support.sh
Created October 24, 2017 19:40 — forked from nzoschke/create-convox-support.sh
Creating a convox-support IAM User and Login
$ aws iam create-user --user-name convox-support
{
"User": {
"UserName": "convox-support",
"Path": "/",
"CreateDate": "2015-08-09T15:16:09.027Z",
"UserId": "AIDAIEXRZQYWRHLT6NX6O",
"Arn": "arn:aws:iam::901416387788:user/convox-support"
}
}
### Keybase proof
I hereby claim:
* I am ddollar on github.
* I am ddollar (https://keybase.io/ddollar) on keybase.
* I have a public key whose fingerprint is 0F9F B5E1 B782 8A05 0EA2 AF17 96B2 F1E6 8524 791E
To claim this, I am signing this object:
$ convox login https://convox-34973948234.us-east-1.elb.amazonaws.com
Password: ***********
Successfully logged in.
$ convox cluster create staging
Instance Size [t2.small]: t2.medium
Instance Count [2]:
Creating cluster.................................. done
$ convox app create dashboard --source https://github.com/convox/dashboard
@ddollar
ddollar / trello.fluid.js
Created May 14, 2014 13:26
trello.fluid.js
(function () {
window.setInterval(function() {
var notifications = document.getElementsByClassName('js-unread-note-count')[0];
if (notifications && (notifications > 0)) {
window.fluid.dockBadge = notifications;
} else {
window.fluid.dockBadge = '';
}
}, 1000);
#!/bin/bash
# Usage:
# $ ./heroku-deploy.sh <app name> <git repo url> <heroku api key>
APP="$1"
REPO="$2"
APIKEY="$3"
echo "-----> Creating application $APP"
curl -u ":$APIKEY" -d "app[name]=$APP" -X POST https://api.heroku.com/apps -s > /dev/null
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <wiringPi.h>
#include <wiringPiSPI.h>
#define GREEN_BUTTON 7
#define RED_BUTTON 3
@ddollar
ddollar / vim.rb
Created January 29, 2013 19:49 — forked from uasi/vim.rb
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2'
head 'https://vim.googlecode.com/hg/'
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d'
version '7.3.682'
def features; %w(tiny small normal big huge) end
@ddollar
ddollar / compact.md
Created April 3, 2012 18:07 — forked from geemus/compact.md
markdownish styleguide
$ heroku help apps:create
## Usage:
   heroku apps:create [NAME]
## Description:
   create a new app
## Options:
   --addons ADDONS
      a comma-delimited list of addons to install
   -b, --buildpack BUILDPACK

a buildpack url to use for this app

testsdfsd