Skip to content

Instantly share code, notes, and snippets.

View onpaws's full-sized avatar
🚴‍♂️
building things

Pat onpaws

🚴‍♂️
building things
View GitHub Profile
@onpaws
onpaws / MBP16InchInfo.txt
Created January 26, 2020 23:39
MacBook Pro 16" Model Number
Model Identifier: MacBookPro16,1
Part Numbers: MVVJ2xx/A, MVVK2xx/A, MVVL2xx/A, MVVM2xx/A
@onpaws
onpaws / storj.yaml
Created January 15, 2020 18:05
Instant Storj node for Kubernetes
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pv-standard-550g-disk01
annotations:
volume.beta.kubernetes.io/storage-class: standard
spec:
accessModes:
- ReadWriteOnce
resources:
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:muport:QmXuD7iMM3vqAEvxiUQYUH3DFm3F6WqnfxqEx3YU1fNNW5 ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
via https://news.ycombinator.com/item?id=21508927
A semi-common beginning programmer's exercise is to write a program that numbers the lines in a text file.
The naive solution will use O(n) space, while a bit more thought reveals that this can be done in constant
(to be really precise, O(log n) where n is the number of lines in the file) space.
did:muport:QmRj42Tmkcb8j51hJ2x6796th9VfajXj4Mveeej3hze2uZ
For good falafel:
Xberg: Falafel in Berln 💜 (https://goo.gl/maps/QmdmJwXvFxmjDKDJ6 …) or The Hummusapiens (https://goo.gl/maps/rdKsBTNMTTwGju9Q6 …)
Mitte: Kiez Falafel (https://goo.gl/maps/bNTji3edHBCvgHS69 …)
And @verbine recommends fancy cocktail bars:
Kreuzberg/Neukölln:
Schwarze Traube (https://goo.gl/maps/Q84yWmw1VcgoaxFn9 …),
TiER (https://goo.gl/maps/22immkic3vQiUxE87 …),
Geist im Glas (https://goo.gl/maps/JS7iLYB956JmHDVf7 …),
ÆTHER:bar (https://goo.gl/maps/w24DeJHhhmsnSM3C9 …)
@onpaws
onpaws / keybase.md
Created June 13, 2019 10:01
Keybase proof

Keybase proof

I hereby claim:

  • I am onpaws on github.
  • I am paws (https://keybase.io/paws) on keybase.
  • I have a public key ASCyYjDUjEcwISVHRm3AEqQHWyTwgLkFmjzmAQRfeQBz9wo

To claim this, I am signing this object:

@onpaws
onpaws / writeTextFile.sh
Created May 30, 2019 15:50
Bash one-liner to write a multiline text file (broadly compatible)
cat <<EOF > filename.txt
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
annotations:
meshsecurityinsights.googleapis.com/generated: "1558344751000000000"
name: default
namespace: istio-system
spec:
host: '*.local'
@onpaws
onpaws / manifests.yaml
Created May 12, 2019 13:59
Fixed manifests for parity 2.5.0
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
namespace: default
name: pv-default-100g-disk01
annotations:
volume.beta.kubernetes.io/storage-class: default
spec:
accessModes:
- ReadWriteOnce
@onpaws
onpaws / parity-2.x-kubes.yaml
Last active August 21, 2023 17:05
DDorgan -> Bump Parity to v2.5.0
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
namespace: default
name: pv-default-100g-disk01
annotations:
volume.beta.kubernetes.io/storage-class: default
spec:
accessModes:
- ReadWriteOnce