I hereby claim:
- I am andrewsomething on github.
- I am andrewsomething (https://keybase.io/andrewsomething) on keybase.
- I have a public key ASCO7zx323E54gqLUqfeLsormSWMqkLVgEf-g31lM8-OXAo
To claim this, I am signing this object:
package main | |
import "os" | |
import "fmt" | |
import "golang.org/x/oauth2" | |
import "github.com/digitalocean/godo" | |
type TokenSource struct { | |
AccessToken string | |
} |
I hereby claim:
To claim this, I am signing this object:
# bash completion for doctl -*- shell-script -*- | |
__debug() | |
{ | |
if [[ -n ${BASH_COMP_DEBUG_FILE} ]]; then | |
echo "$*" >> "${BASH_COMP_DEBUG_FILE}" | |
fi | |
} | |
# Homebrew on Macs have version 1.3 of bash-completion which doesn't include |
root@horizon-rethinkdb-on-1404:~/app# hz serve --bind all --dev --debug | |
App available at http://0.0.0.0:8181 | |
debug: RethinkDB stdout: Recursively removing directory /root/app/rethinkdb_data/tmp | |
debug: RethinkDB stdout: Initializing directory /root/app/rethinkdb_data | |
info: RethinkDB Running rethinkdb 2.3.2~0trusty (GCC 4.8.2)... | |
info: RethinkDB Running on Linux 3.13.0-86-generic x86_64 | |
debug: RethinkDB stdout: Loading data from directory /root/app/rethinkdb_data | |
error: rethinkdb stderr: warn: Cache size does not leave much memory for server and query overhead (available memory: 845 MB). | |
info: RethinkDB Listening for intracluster connections on port 40518 | |
info: RethinkDB Listening for client driver connections on port 35129 |
#! /bin/python | |
import os | |
import ConfigParser | |
cachedir = os.path.expanduser("~/.launchpadlib/cache") | |
from launchpadlib.launchpad import Launchpad | |
launchpad = Launchpad.login_anonymously('planet check', 'production', cachedir) | |
Config = ConfigParser.ConfigParser() |
#!/bin/sh | |
#Rename the project | |
#Program goes over the files and renames them using bzr | |
#then it goes inside the file and changes all old names to new name | |
# | |
# Copyright (C) Canonical Inc. <Alexander Wolfson> <alex.wolfson@canonical.com> | |
# This program is free software: you can redistribute it and/or modify it | |
# under the terms of the GNU General Public License version 3, as published | |
# by the Free Software Foundation. | |
# |
import pprint | |
print("Hello, this is a Python script.") | |
print("Hook['params'] is populated with request parameters") | |
pprint.pprint(Hook['params']) |
#!/usr/bin/env python | |
""" | |
Plot histogram from list of dates | |
Usage | |
===== | |
Point to mbox file. | |
Ex.1: plot mailinglist activity:: |
Vagrant.configure('2') do |config| | |
config.ssh.private_key_path = 'sshkey/id_rsa' | |
config.vm.box ='ubuntu/trusty64' | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
provider_is_do = (!ARGV.nil? && ARGV.join('').include?('provider=digital_ocean')) | |
config.vm.provision 'shell', inline: <<-SHELL | |
sudo apt-get update |
/* Launchpad PPA Search | |
* Andrew Starr-Bochicchio <andrewsomething@ubuntu.com> | |
* MIT/X11 License | |
*/ | |
CmdUtils.CreateCommand({ | |
name: "lp-ppa-search", | |
icon: "https://launchpadlibrarian.net/16114928/gem-sm.png", | |
/* homepage: "http://packages.qa.debian.org/common/index.html", */ | |
author: { name: "Andrew Starr-Bochicchio", email: "andrewsomething@ubuntu.com"}, |