Skip to content

Instantly share code, notes, and snippets.

View rsrchboy's full-sized avatar

Chris Weyl rsrchboy

View GitHub Profile
@rsrchboy
rsrchboy / darwin-for-linuxer.md
Created June 5, 2018 17:55
Darwin survival guide for Linux people
@rsrchboy
rsrchboy / autoload-rb-fzf.vim
Last active March 5, 2018 01:23
blog post -- fzf project snippets
fun! rsrchboy#fzf#FindOrOpenTab(work_dir) abort
" loop over our tabs, looking for one with a t:git_workdir matching our
" a:workdir; if found, change tab; if not fire up fzf again to find a file
" to open in the new tab
for l:tab in (gettabinfo())
if get(l:tab.variables, 'git_workdir', '') ==# a:work_dir
exe 'tabn ' . l:tab.tabnr
return
#!/usr/bin/env sh
git prune
@rsrchboy
rsrchboy / PrEP.md
Last active July 9, 2017 02:42
PReP resources Minnesota
Date: Mon, 13 Mar 2017 15:44:23
From: car2go <no-reply@communications.car2go.com>
Reply-To: re-23X7TACD-23O7LGYF-12RUTPL@communications.car2go.com
To: cweyl@alumni.drew.edu
Subject: Mercedes-Benz car2gos for just $0.41 per minute
Mercedes-Benz car2gos for just $0.41 per minute
-----BEGIN CERTIFICATE-----
MIIC/TCCAeWgAwIBAgIBATANBgkqhkiG9w0BAQsFADAfMR0wGwYDVQQDExR5b3Vy
aG9zdC5leGFtcGxlLmNvbTAgFw0xNzAxMjIxOTQyMjNaGA85OTk5MTIzMTIzNTk1
OVowHzEdMBsGA1UEAxMUeW91cmhvc3QuZXhhbXBsZS5jb20wggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQDlH/uThf//V8MrksNjaq0VpCAPYspqOaZvau3E
X7wuvewUiK+72mqzgwsTo4ogLgul1fm7asDl32d/tazrxZ/p6VwUkixBQJSlztfy
uzS1t8uDMBNlZCa5ay9h1gb91gjCHd0jP+z6lKaUrxMEEZZ6VjCJmWTiDviZf6xK
WJYsZM7dhKRjVdv+LA4BvI3xxx/z5lk8gC7JXtian3A2gUUTKOxeIESRfm3tLUE3
73CHsTPONJ/yXtlRu3IztE4GZR4s/zMJfIkqkPRqkVsIlAwgHWtFpVND0gzTM3sB
WhV9f1xhdhNqv09i7bNZMZ5JHgKYjFOIf1lg4DZOqdDOEKT7AgMBAAGjQjBAMA8G
@rsrchboy
rsrchboy / keybase.md
Created October 8, 2016 20:03
keybase.md

Keybase proof

I hereby claim:

  • I am rsrchboy on github.
  • I am rsrchboy (https://keybase.io/rsrchboy) on keybase.
  • I have a public key ASA9kQ4nM-6KGclbHkj2y8n0xBnQrMryNu4FDEFozz1qswo

To claim this, I am signing this object:

@rsrchboy
rsrchboy / log.txt
Last active April 6, 2016 17:12
domain services, dho-based hosting, and us
[11:12:30 AM] ‎rsrchboy‎: so
‎[11:12:57 AM] ‎rsrchboy‎: I had a great conversation about getting hosting/dns settings to what we want with kyle
‎[11:14:34 AM] ‎rsrchboy‎: I think we found a far easier way, that's generally applicable to non-remix dho sites, for people using us for domreg and dns (most, I suspect; all for us)
‎[11:16:08 AM] ‎john.swanson‎: ah, really? nice! what is it?
‎[11:16:23 AM] ‎rsrchboy‎: a combo of a couple things
‎[11:17:01 AM] ‎rsrchboy‎: one is that our current approach -- just manipulating dns records -- is doable, but doesn't integrate well into the way we manage dns
‎[11:18:51 AM] ‎rsrchboy‎: there's two way we really configure dns records: one is through a domainservice (there are multiple types: fully-hosted, mirroring, redirect, parked, etc, etc); the other is through custom dns records a consumer can enter
‎[11:19:42 AM] ‎rsrchboy‎: fwiw, these are stashed away in dreamhost.domain_service and the actual records/zones in dns.zone and dns.record
‎[11:20:23 AM] ‎rsrchboy‎: the d
@rsrchboy
rsrchboy / .gitattributes
Last active August 29, 2015 14:12
text-diff your 02packages.txt.gz via gut automagically
# make git recognize *.txt.gz files as compressed text, such that git knows to
# use the "gz" diff driver on them
*.txt.gz diff=gz
@rsrchboy
rsrchboy / gist:cb0230e8023a262f1cd4
Created November 6, 2014 17:15
smart cow virtues
____________________________________________________________________________
/ Unimportance \
| |
| All the world says, "I am important; I am separate from all the world. I |
| am important because I am separate, Were I the same, I could never be |
| important." Yet here are three treasures That I cherish and commend to |
| you: The first is compassion, By which one finds courage. The second is |
| restraint, By which one finds strength. And the third is unimportance, By |
| which one finds influence. Those who are fearless, but without compassion, |
| Powerful, but without restraint, Or influential, yet important, Cannot |