Skip to content

Instantly share code, notes, and snippets.

View asoltys's full-sized avatar

Adam Soltys asoltys

View GitHub Profile
REACT_APP_BACKEND_URL=backend
server {
listen 80;
listen [::]:80;
server_name althea;
error_page 405 =200 $uri;
location / {
proxy_pass http://127.0.0.1:3005;
}
server {
listen 80;
listen [::]:80;
server_name althea;
error_page 405 =200 $uri;
location / {
proxy_pass http://127.0.0.1:3005;
}
use std::collections::HashMap;
fn main() {
// Type inference lets us omit an explicit type signature (which
// would be `HashMap<String, String>` in this example).
let mut book_reviews = HashMap::new();
let mut book_reviews2 = HashMap::new();
book_reviews.insert("wg1".to_string(), "heheho".to_string());
book_reviews.insert("wg2".to_string(), "ohhh".to_string());
This file has been truncated, but you can view the full file.
{
"app_hash": "",
"validators": [
{
"address": "",
"name": "xcipher",
"power": "100",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "L8Nh1AiIqz2tFRlhSbaLMx5ES4fYpINxXSEeUmfsprI="
This file has been truncated, but you can view the full file.
{
"app_hash": "",
"validators": [
{
"address": "",
"name": "xcipher",
"power": "100",
"pub_key": {
"type": "tendermint/PubKeyEd25519",
"value": "L8Nh1AiIqz2tFRlhSbaLMx5ES4fYpINxXSEeUmfsprI="
cc -DBINTOPKGLIBEXECDIR="\"../libexec/c
-lightning\"" -Wall -Wundef -Wmissing-p
rototypes -Wmissing-declarations -Wstri
ct-prototypes -Wold-style-definition -W
error -std=gnu11 -g -fstack-protector -
Og -I ccan -I external/libwally-core/in
clude/ -I external/libwally-core/src/se
cp256k1/include/ -I external/jsmn/ -I e
xternal/libbacktrace/ -I external/libba
cktrace-build -I external/libsodium/src
@asoltys
asoltys / keybase.md
Created March 7, 2018 06:10 — forked from anonymous/keybase.md
keybase.md

Keybase proof

I hereby claim:

  • I am asoltys on github.
  • I am asoltys (https://keybase.io/asoltys) on keybase.
  • I have a public key whose fingerprint is EDAC 6CF3 B91A C3AA C0F7 86E8 A102 7FED 85A5 CED3

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am asoltys on github.
  • I am asoltys (https://keybase.io/asoltys) on keybase.
  • I have a public key whose fingerprint is EDAC 6CF3 B91A C3AA C0F7 86E8 A102 7FED 85A5 CED3

To claim this, I am signing this object:

(pprof) top25
Total: 1090 samples
165 15.1% 15.1% 170 15.6% runtime.MSpan_Sweep
95 8.7% 23.9% 95 8.7% flushptrbuf
94 8.6% 32.5% 94 8.6% github.com/conformal/btcec.(*fieldVal).Mul2
80 7.3% 39.8% 80 7.3% github.com/conformal/btcec.(*fieldVal).SquareVal
76 7.0% 46.8% 76 7.0% scanblock
55 5.0% 51.8% 56 5.1% syscall.Syscall6
36 3.3% 55.1% 36 3.3% github.com/conformal/btcec.(*fieldVal).Normalize
32 2.9% 58.1% 32 2.9% github.com/conformal/fastsha256.block