Skip to content

Instantly share code, notes, and snippets.

@rrroyal
rrroyal / export-options.plist
Created June 8, 2020 15:53
Exporting the .ipa files without the Apple distribution certificate.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>development</string>
</dict>
</plist>
@rrroyal
rrroyal / iTerm2-Dynamic_Theme.py
Last active April 26, 2020 16:28
Change iTerm2 colors based on window theme
#!/usr/bin/env python3
# Change iTerm2 colors based on window theme
# rrroyal@github 2020
import asyncio
import iterm2
# Change names here
themes = {
@rrroyal
rrroyal / flac2alac.zsh
Created February 22, 2020 19:28
ZSH script used to convert FLAC files to ALAC using ffmpeg, preserving respective metadata.
#!/usr/bin/env zsh
if [[ "$1" == "" ]]; then
echo "No directory specified! Using \`pwd\`."
location=`pwd`
else
location="$1"
fi
if [[ "$2" != "" ]] ; then

Keybase proof

I hereby claim:

  • I am rrroyal on github.
  • I am drawbacks (https://keybase.io/drawbacks) on keybase.
  • I have a public key ASCUNCia0smXJY2iBHUIxpfARhAyjJvj_DXZTGJhkvqQFgo

To claim this, I am signing this object: