Skip to content

Instantly share code, notes, and snippets.

View jnoller's full-sized avatar

Jesse Noller jnoller

View GitHub Profile
@jnoller
jnoller / setup_docker.sh
Last active December 28, 2015 00:49
Dockerrrrrr
#!/bin/bash
# Add the Docker repository key to your local keychain
# using apt-key finger you can check the fingerprint matches 36A1 D786 9245 C895 0F96 6E92 D857 6A8B A88D 21E9
sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -"
# Add the Docker repository to your apt sources list.
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
# update
I do not understand threaded program, I use asynchronous program as a crutch. http://imgur.com/rd6DQlH -DDxzQ1eKojq9f6n1AcFJAZk1m81wN4JzCb
@jnoller
jnoller / gist:8512945
Created January 20, 2014 00:31
Full daily beast quote
I agree with the naysayers - in fact, I pretty much *am* a naysayer -
but somewhere in the middle between "cryptocurrencies are the future"
and "cryptocurrencies are neckbeard monopoly money" is the truth. The
fact is is that all Bitcoin, Litecoin and my personal love Dogecoin
boils down to magic numbers in the ether - they don't have any value
to them except the value other participants in the game assign to
them. But by the value assigned to them by those participants suddenly
we have something which is "a big magic number" assigned a value that
can be converted (albeit through a fairly complex process) into "real"
value (Euro, USD, Goats) to people.
{
"pools" : [
{
"url" : "stratum+tcp://us-west.multipool.us:7777",
"user" : "m0nk3yz.1",
"pass" : "x"
},
{ "url": "stratum+tcp://stratum8.dogehouse.org:3336",
"user" : "m0nk3yz.crunk",
"pass" : "suchd0ge"
pug:~ jesse$ time nova boot METALS --flavor onmetal-memory1 --image 1387253c-7735-4542-9612-26bc9ff77a9d --key-name=mykey --poll
+------------------------+--------------------------------------------------------------------+
| Property | Value |
+------------------------+--------------------------------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| accessIPv4 | |
| accessIPv6 | |
pug:~ jesse$ nova image-list
+--------------------------------------+-------------------------------------------------------------------------------------------
| ID | Name | Status | Server |
+--------------------------------------+----------------------------------------------------------------------------------------------+--------+--------------------------------------+
...
| afb5ee19-4e6e-42c3-841c-9663e99b83ba | CoreOS (Alpha) | ACTIVE | |
| 547a46bd-d913-4bf7-ac35-2f24f25f1b7a | CoreOS (Beta) | ACTIVE |
...
+------------------+-------------------------+-----------+------+-----------+------+-------+-------------+-----------+
...
[X] On-demand self-service.
[X] Broad network access.
[X] Resource pooling.
[X] Rapid elasticity.
[X] Measured service.
@jnoller
jnoller / Locs
Created November 28, 2014 18:01
LOCS
* -209.5,64,256 (home)
* 321,70,-245 (coast)
* -4109,71,-1800 swamp
* 1122,67,788 swamp
* -4944, 66, -3020 Village
* 9193, 64, 8865 Horses
* 6328 68 -311 desert
* 1724 63 185 donkeys
* -269.7,73,-1095 North Safehouse 1
[rackcli] pug:rackcli jesse$ rackcli cf --help
Usage: rackcli cf [OPTIONS] COMMAND [ARGS]...
Cloud Files related commands.
Options:
--help Show this message and exit.
Commands:
bulkdelete-container Recursively delete a container with the bulk...
type AuthResponse struct {
Access struct {
Token struct {
ID string `json:"id"`
Expires string `json:"expires"`
Authby []string `json:"RAX-AUTH:authenticatedBy"`
Tenant struct {
ID string `json:"id"`
Name string `json:"name"`
} `json:"tenant"`