I hereby claim:
- I am justinlund on github.
- I am justinlund (https://keybase.io/justinlund) on keybase.
- I have a public key whose fingerprint is 3960 11C4 EBC9 C45A 9B8E 1356 3437 865E B292 5CBA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Host jump | |
HostName X.X.X.X | |
User dhc-user | |
IdentityFile ~/.ssh/id_rsa.pub | |
Host 10.10.10.* | |
ProxyCommand ssh jump -W %h:%p | |
User dhc-user | |
IdentityFile ~/.ssh/dreamcompute.pem |
from libcloud.compute.types import Provider | |
from libcloud.compute.providers import get_driver | |
OpenStack = get_driver(Provider.OPENSTACK) | |
driver = OpenStack('username', 'password', | |
ex_force_auth_url='https://keystone.dream.io/v2.0/tokens', | |
ex_force_auth_version='2.0_password', | |
ex_tenant_name='dhc12345678') | |
sizes = driver.list_sizes() |
#! /usr/bin/env bash | |
# Basic shell script to download a private object | |
# from DreamHost DreamObjects | |
file=$1 | |
bucket="My_Bucket" | |
resource="/${bucket}/${file}" | |
dateValue=`date -Ru` | |
stringToSign="GET\n\n\n${dateValue}\n${resource}" | |
echo ${stringToSign} |
<?php | |
require 'vendor/autoload.php'; | |
use OpenCloud\OpenStack; | |
$client = new OpenStack('https://keystone.dream.io/v2.0', array( | |
'username' => 'username', | |
'password' => 'password', | |
// Use either tenantName or tenantId |