Skip to content

Instantly share code, notes, and snippets.

View delbonis's full-sized avatar
💭
Gitlab is better

Trey Del Bonis delbonis

💭
Gitlab is better
View GitHub Profile
Computer Information:
Manufacturer: Micro-Star International Co., Ltd.
Model: B550-A PRO (MS-7C56)
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 7 5700X 8-Core Processor
CPU Family: 0x19
CPU Model: 0x21
(*
* parse_sexpr returns (sexpr elements, span pos, remaining toks). It's pretty neat
* because it's nice and tail recursive, hopefully.
*
* The "prev" is actually in reverse order until we finalize it at an RPAREN.
*)
let rec parse_sexpr (start : pos) (prev : pos sexp list) (toks : pos tok list)
: (pos sexp list * pos * pos tok list, string) result =
match toks with
@delbonis
delbonis / clippy.txt
Last active December 29, 2019 17:47
AHAHAHAHAHAHAHAHAHAHAHAHAH
warning: redundant field names in struct initialization
--> src/config.rs:24:13
|
24 | url: url,
| ^^^^^^^^ help: replace it with: `url`
|
= note: `#[warn(clippy::redundant_field_names)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
warning: redundant field names in struct initialization
(use list :all)
(define (internal-add-feed id url interval)
(do
(println id)
(println url)
(println interval)))
(define (internal-add-rule id url optmap)
(do
2019-11-04 05:11:07,394 - root - DEBUG - Database migrations. Current version: 0, migrations available: 2
2019-11-04 05:11:07,472 - root - DEBUG - Erasing database because of wrong version
2019-11-04 05:11:07,485 - root - DEBUG - Arguments: Namespace(add_p2p_peer=None, cache_size=50, daemon=False, datadir='/root/.spruned', debug=True, disable_electrum_peer_discovery=False, disable_p2p_peer_discovery=False, electrum_server='electrum.akinbo.org', keep_blocks=200, max_electrum_connections=None, max_p2p_connections=None, mempool_size=0, network='bitcoin.testnet', no_dns_seed=False, proxy=None, rpcbind='0.0.0.0', rpcpassword='rpcpassword', rpcport=None, rpcuser='rpcuser', tor=False, version=False, zmqpubhashblock='', zmqpubhashtx='', zmqpubrawblock='', zmqpubrawtx='')
2019-11-04 05:11:07,495 - leveldb - DEBUG - Ensuring integrity of the storage, and tracking missing items
2019-11-04 05:11:07,496 - leveldb - DEBUG - Ensuring no stales in blockchain repository
2019-11-04 05:11:07,503 - cache - DEBUG - Cache not foun
### Scraped from https://www.businessinsider.com/employees-inside-adam-neumanns-wework-reveal-a-wild-culture-2019-9 using Python and newspaper3k
Business Insider talked to 20 current and former WeWork employees, executives, and business partners about life inside one of the most controversial and fastest-growing startups of all time.
They described an atmosphere under the company's cofounder and now-ousted CEO, Adam Neumann, in which boundaries between work and play did not exist.
Current and former employees recounted attending mandatory, alcohol-fueled company retreats where the sounds of coworkers having sex filled the air.
They also said they worked long hours in a chaotic atmosphere, fueled by Neumann's manic push for growth and his inspirational "we are changing the world" speeches.
@delbonis
delbonis / ctx.rs
Last active September 20, 2019 16:22
context memory hacks?
use std::mem;
struct AllocInfo {
ptr: *mut (),
free_fn: fn(*mut ()),
}
pub struct Context {
allocs: Vec<AllocInfo>,
}
_
__ __ | |
| | | | ____ ___ ___| |___ ___ __ __
| | | |/ _ | _| _| / _ \ / _ \\ \/ /
| |_| | |_| | | | | | |_| | |_| || |
\___ |\____|_| |_| |_\___/ \___//_/\_\
\ |
___/ | Boxing your yarrs since 2019.
|_____/