I hereby claim:
- I am coreyja on github.
- I am coreyja (https://keybase.io/coreyja) on keybase.
- I have a public key ASDzcK3t2kvfE40z3kUy010bq43MIpPqcDEfZWsFzJjsego
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Hide Icon: | |
/usr/libexec/PlistBuddy -c 'Add :LSUIElement bool true' /Applications/iTerm.app/Contents/Info.plist | |
Show Icon: | |
/usr/libexec/PlistBuddy -c 'Delete :LSUIElement' /Applications/iTerm.app/Contents/Info.plist |
# This is the alias to actually launch the AppleScript. | |
# Put this in your `.bash_profile` or wherever you like to keep aliases | |
# This assumes the AppleScript is located in `~/AppleScripts/autopush.applescript` | |
alias veep="osascript ~/AppleScripts/autopush.applescript" |
use std::collections::HashMap; | |
fn prime_decomposition(n: u32) -> Vec<u32> { | |
let mut output = vec![]; | |
let mut curr = n; | |
for i in 2..(n + 1) { | |
while curr % i == 0 { | |
output.push(i); | |
curr = curr / i; |
#!/usr/bin/env bash | |
FILES_TO_TRY=$(rg '# typed: false' -l --glob "**/*.rb") | |
for FILE in $FILES_TO_TRY | |
do | |
sed -i.tmp 's/typed: false/typed: true/' "$FILE" | |
rm "$FILE.tmp" | |
srb tc || ( | |
sed -i.tmp 's/typed: true/typed: false/' "$FILE" && |
/* Non-Italics */ | |
@font-face { | |
font-family: "VictorMono Nerd Font"; | |
font-style: normal; | |
font-weight: 200; | |
src: url(https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/VictorMono/Light/complete/Victor%20Mono%20Light%20Nerd%20Font%20Complete.ttf?raw=true); | |
} | |
@font-face { | |
font-family: "VictorMono Nerd Font"; | |
font-style: normal; |
I got nerd sniped on Twitter!
Originally the prompt was to do the installing of the interpretter in the shebang, but I was able to fit it all in one file and that felt close enough.