I hereby claim:
- I am zyrolasting on github.
- I am sagegerard (https://keybase.io/sagegerard) on keybase.
- I have a public key ASA3riuqNJ_L2VYMHXtrswWX-i-i7gi21PBnKdW-G4wj0Qo
To claim this, I am signing this object:
#!/usr/bin/env python | |
import os, subprocess, sys, glob | |
""" | |
Big teams with little documentation use oral history to share knowledge. | |
This script tells you the authors with the most Git commits for each path | |
matching a given glob, so that you might have a good first contact when | |
learning about a part of a project from a bird's eye view. | |
I find this useful in my jobs, but there are caveats: |
I hereby claim:
To claim this, I am signing this object:
#lang racket | |
(require rackunit) | |
;; Blanks are exactly five contiguous underscores in source. | |
(define blank '_____) | |
;; Recursively search for a non-list element in a list. |
[user] | |
name = Your Name | |
email = your.name@example.com | |
[alias] | |
co = checkout | |
br = branch | |
st = status | |
ci = commit | |
ca = commit --amend --no-edit | |
fr = !git fetch && git rebase |
Here's a messy yet working way to print support threads from Simple Bank. I don't make the printed thread look the same, I only put the messages and ONLY the messages in chronological order.
The method below may no longer work when the Simple site updates. Please ping me here or on Reddit (u/vzen) if this page needs updating.
BEWARE!! In 100% of circumstances it is a huge, nasty, no-good, blood-red flag for a stranger on the internet like me to ask you to run arbitrary code with your bank portal visible. But because not everyone reading this page is an engineer, I have to make this easy somehow. Just do NOT trust me off the bat. You really should read on to see how I break this code down and show you what each instruction does in plain English.
But for convenience of less-technically inclined users, you can do one of two things:
a | |
abbr | |
acronym | |
address | |
applet | |
area | |
article | |
aside | |
audio | |
b |
#lang racket/base | |
(require racket/tcp) | |
(define port 8080) | |
(define (serve handle) | |
(define main-cust (make-custodian)) | |
(parameterize ([current-custodian main-cust]) | |
(define listener (tcp-listen port 5 #f)) |
#lang racket/base | |
(require racket/tcp | |
openssl) | |
(define port 8080) | |
(define test.pem (collection-file-path "test.pem" "openssl")) | |
(define (serve .pem handle) | |
(define main-cust (make-custodian)) |
#lang racket/base | |
(provide say-hello) | |
(define (say-hello) | |
(displayln "Hello!")) |