Skip to content

Instantly share code, notes, and snippets.

View phoenixthrush's full-sized avatar
:octocat:
sleeping under your bed

Phoenixthrush UwU phoenixthrush

:octocat:
sleeping under your bed
View GitHub Profile
@phoenixthrush
phoenixthrush / install nano.sh
Created April 23, 2024 20:22 — forked from BlakeGardner/install nano.sh
Syntax highlighting in nano on Mac OS
# Last updated March, 2022 for Apple silicon Macs
# Install Homebrew if you don't already have it: https://brew.sh
# install nano from homebrew
brew install nano nanorc
# update your nanorc file
echo 'include "/opt/homebrew/share/nanorc/*.nanorc"' >> ~/.nanorc
# close and re-open your terminal and you'll have syntax highlighting
@phoenixthrush
phoenixthrush / README.md
Created February 11, 2024 12:50 — forked from flaksp/README.md
Convert BitWarden JSON export file to Apple iCloud Keychain CSV import file saving TOTP and notes

BitWarden to Apple iCloud Keychain passwords converter

This Python scripts allows you to move your passwords from BitWarden to Apple iCloud.

You need to know:

  • It ignores secure notes, credit cards and other types that are not passwords.
  • It ignores BitWarden entries without usernames, passwords and URLs.
  • It also ignores URLs that do not start with http:// or https://.
  • It normalizes all TOTP tokens, e.g. wskg vtqa h5kl bhb4 v4v2 ybyo woc6 qme2 will be converted to otpauth://totp/example.com:dude@foo.bar?secret=WSKGVTQAH5KLBHB4V4V2YBYOWOC6QME2&issuer=example.com&algorithm=SHA1&digits=6&period=30.
@phoenixthrush
phoenixthrush / FLAC_to_ALAC.ps1
Last active November 9, 2022 11:16 — forked from nibral/flac_to_alac.ps1
Encode FLAC to ALAC with ffmpeg on Powershell
Get-ChildItem -Filter "*.flac" | % { ffmpeg -i "$_" -c:a alac -map 0:0 -y "$($_.BaseName).m4a" }
@phoenixthrush
phoenixthrush / ANSI.md
Created October 20, 2022 13:33 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27