Skip to content

Instantly share code, notes, and snippets.

View rymawby's full-sized avatar

Ry Mawby rymawby

View GitHub Profile
@rymawby
rymawby / stripe-credit-card-numbers.md
Last active June 3, 2026 00:52
Stripe test credit card numbers for use in development

Test credit card numbers to use when developing with Stripe

4242424242424242 Visa

4012888888881881 Visa

4000056655665556 Visa (debit)

@rymawby
rymawby / show-mac-app-switcher-on-all-displays.sh
Created July 7, 2025 23:55
Show macOS app switcher on all displays
defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock
@rymawby
rymawby / convert-aac-to-mp3.sh
Created October 19, 2012 15:56
Convert aac to mp3 using ffmpeg
ffmpeg -i <audio.aac> -acodec libmp3lame <audio.mp3>
@rymawby
rymawby / delete-all-local-git-branches-that-match-a-pattern.sh
Created July 11, 2018 05:50
Delete all local git branches that match a pattern
git branch --list 'PATTERN/*' | xargs git branch -d
@rymawby
rymawby / 1password-url-scheme.md
Created November 21, 2013 11:44
1Password ios URL scheme
@rymawby
rymawby / https-rourltransfer.brs
Created December 5, 2016 09:56
Loading data over https using Brightscript and roUrlTransfer
if url.inStr(0, "https") = 0
urlTransfer.setCertificatesFile("common:/certs/ca-bundle.crt")
urlTransfer.initClientCertificates()
end if
@rymawby
rymawby / update-docker-image-using-docker-compose.sh
Created April 19, 2022 04:42
Update docker image using docker compose
// Pull latest version
docker-compose pull
// Stop and remove older version
docker-compose down
// Start the container
docker-compose up -d
@rymawby
rymawby / settings.json
Created February 9, 2022 01:23
Update GitHub copilot suggestion colour for vscode
"workbench.colorCustomizations": {
"editorGhostText.foreground": "#f3aadd",
}
@rymawby
rymawby / fix-raspberry-pi-wifi-dhcpdc-not-running.sh
Created February 2, 2022 00:16
Fix issue where Raspberry Pi not connecting to wifi (dhcpcd not running on reboot)
sudo dhcpcd
@rymawby
rymawby / scenegraphDay1.markdown
Last active January 9, 2022 23:53
SceneGraph Training - getting an application up and running

#Setting up a SceneGraph application

##Task objective: Set up a SceneGraph application with correct directory structure and get it running on the box.

The way SceneGraph applications are set up with regards to directory structure are different than previous SDK1 applications.

Have a read of the information here: https://sdkdocs.roku.com/display/sdkdoc/Developing+Scene+Graph+Applications

Basically you have your directory structure like this: