This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use rand::Rng; | |
struct Courier { | |
special: Special, | |
skills: Vec<String>, | |
traits: Vec<String>, | |
} | |
impl Courier { | |
fn tag_skills() -> Vec<String> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
did:muport:QmYnpy3bEmi8QnSmrmtohL2hCuJcddQccAZUCdVo9YyQxQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 1MboLD3bNnxhZMuCQSvzBFxeEK7d25Srhn https://explorer.blockstack.org/address/1MboLD3bNnxhZMuCQSvzBFxeEK7d25Srhn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04528adb74d9db33732f227e108895a846ff91250069b9a922cc4023fecc2957a711266e562a308bc23069706ff80f4fc268847a141bbd4a11e1e03de392acbd69 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def nice_print(list_obj): | |
if !isinstance(list_obj, list): | |
list_obj = list(list_obj) | |
printer = PrettyPrinter(indent=4) | |
printer.pprint(list_obj) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2017-01-20T01:07:30.966Z"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>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 - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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" | |
^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sb = require('starbucks') | |
productivity = function(sb, stuff) { | |
sb.drink(10) | |
while (var done == false) { | |
stuff.do() | |
} | |
} | |
// notice how done is not made true |
NewerOlder