I hereby claim:
- I am jessehub on github.
- I am jessecallaway (https://keybase.io/jessecallaway) on keybase.
- I have a public key ASDly7gC7hVtUDmrqjb4kmjggQuXOIvU3xEaoOVoFHWPDAo
To claim this, I am signing this object:
<?php | |
function whatis($variable) { | |
if (gettype($variable) != 'object') { | |
if (gettype($variable) == 'array') { | |
foreach ($variable as $k => $v) { | |
$str .= "['$k']=>'$v' ,"; | |
} | |
return 'Array ['.$str.']'; | |
} |
#!/usr/bin/perl | |
foreach (`svn status`) { | |
chomp; | |
/^(.)\s+(.*)$/; | |
($status, $file) = ($1, $2); | |
print "[$status]\t'$file'\n"; | |
if ($status eq '?') { | |
newfile($file); |
#!/bin/bash | |
if [[ $# -ne 2 ]]; then | |
echo "Usage: $0 start end" | |
exit 1 | |
fi | |
start=$1 | |
end=$2 |
cat ~/.kitchen/config.yml | |
--- | |
driver: | |
<% docker=`docker-machine env default`.match(/DOCKER_HOST="(.+)"/) %> | |
<% if docker %> | |
name: docker | |
socket: <%= docker[1] %> | |
<% elsif ! `which vagrant`.empty? %> | |
name: vagrant | |
<% end %> |
import boto3 | |
import json | |
import datetime | |
def respond(err, res=None): | |
return { | |
'statusCode': '400' if err else '200', | |
'body': err.message if err else json.dumps(res, default=str), | |
'headers': { | |
'Content-Type': 'application/json', |
provider "aws"{ | |
region = "us-east-1" | |
} | |
data "aws_ami_ids" "ubuntu18-hvm" { | |
owners = ["099720109477"] | |
filter { | |
name = "name" | |
values = ["ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"] |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# Environment name (ENVNAME) wrapper creator, allowing for execution within that python virtual environ | |
# invoking as eg: ~/ENVNAME/run-in <command> [<args>] | |
# Requires https://github.com/gqmelo/exec-wrappers | |
PYTHONPATH=`which python` | |
BINDIR=`dirname $PYTHONPATH` |