Skip to content

Instantly share code, notes, and snippets.

View aburgd's full-sized avatar

Alec Burgdorf aburgd

  • United States
View GitHub Profile
@aburgd
aburgd / courier.rs
Created September 12, 2019 02:40
wip courier implementation
use rand::Rng;
struct Courier {
special: Special,
skills: Vec<String>,
traits: Vec<String>,
}
impl Courier {
fn tag_skills() -> Vec<String> {
did:muport:QmYnpy3bEmi8QnSmrmtohL2hCuJcddQccAZUCdVo9YyQxQ
Verifying my Blockstack ID is secured with the address 1MboLD3bNnxhZMuCQSvzBFxeEK7d25Srhn https://explorer.blockstack.org/address/1MboLD3bNnxhZMuCQSvzBFxeEK7d25Srhn
04528adb74d9db33732f227e108895a846ff91250069b9a922cc4023fecc2957a711266e562a308bc23069706ff80f4fc268847a141bbd4a11e1e03de392acbd69
def nice_print(list_obj):
if !isinstance(list_obj, list):
list_obj = list(list_obj)
printer = PrettyPrinter(indent=4)
printer.pprint(list_obj)
@aburgd
aburgd / cloudSettings
Created January 20, 2017 01:07
Visual Studio Code Sync Settings GIST
{"lastUpload":"2017-01-20T01:07:30.966Z"}
@aburgd
aburgd / ip.py
Created December 28, 2016 03:34
import requests
url = "https://wtfismyip.com/json"
headers = {"user-agent": "FuckProtocol/0.1.0"}
def make_the_call():
response = requests.get(url=url, headers=headers)
resp_data = response.json()
>keybase --local-rpc-debug-unsafe=vips --debug=1 ping
2016-07-05T12:29:01.907607 - [DEBU keybase json.go:50] 001 + loading config file: C:\Users\aebur\AppData\Roaming\Keybase\config.json
2016-07-05T12:29:01.908589 - [DEBU keybase json.go:78] 002 - successfully loaded config file
2016-07-05T12:29:01.910551 - [DEBU keybase json.go:50] 003 + loading updater config file: C:\Users\aebur\AppData\Roaming\Keybase\updater.json
2016-07-05T12:29:01.912514 - [DEBU keybase json.go:78] 004 - successfully loaded updater config file
2016-07-05T12:29:01.914478 - [DEBU keybase client.go:113] 005 Using special root CA for api.keybase.io: -----BEGIN CERTIFICATE----- MIIGmzCCBIOgAwIBAgIJAPzhpcIBaOeNMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYD VQQGEwJVUzELMAkGA1UECBMCTlkxETAPBgNVBAcTCE5ldyBZb3JrMRQwEgYDVQQK...
2016-07-05T12:29:01.920365 - [DEBU keybase globals.go:271] 006 Created LinkCache, max size: 65536, clean dur: 1m0s
2016-07-05T12:29:01.930274 - [DEBU keybase ui.go:543] 007 Can't set GPG_TTY; discover failed
2016-07-05T12:29:01.932260 -
$ npm install -g learnyoumongo
npm WARN peerDependencies The peer dependency kerberos@~0.0 included from mongodb-core will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
../lib/kerberosgss.c:36:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
#pragma clang diagnostic push
^
../lib/kerberosgss.c:37:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
^
var sb = require('starbucks')
productivity = function(sb, stuff) {
sb.drink(10)
while (var done == false) {
stuff.do()
}
}
// notice how done is not made true