Skip to content

Instantly share code, notes, and snippets.

David Dollar ddollar

Block or report user

Report or block ddollar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

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 Oct 24, 2017 — forked from nzoschke/create-convox-support.sh
Creating a convox-support IAM User and Login
View create-convox-support.sh
$ 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"
}
}
View gist:b5f4123a57a1c44d211c
### 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:
View gist:be695d224b31a77adcca
$ 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
View 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);
View heroku-deploy.sh
#!/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
View gpio.c
#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
View 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 Apr 3, 2012 — forked from geemus/compact.md
markdownish styleguide
View compact.md
$ 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
You can’t perform that action at this time.