Skip to content

Instantly share code, notes, and snippets.

View macfanr's full-sized avatar
🙂
I may be slow to respond.

Danny macfanr

🙂
I may be slow to respond.
View GitHub Profile
@abreu-dev
abreu-dev / ffmpeg_mov2webm_alpha.sh
Created May 26, 2019 16:50
Convert mov videos with alpha to webm, also with alpha channel
ffmpeg -i confettis1.mov -vf unpremultiply=inplace=1 -c:v libvpx-vp9 -b:v 0 -crf 31 -s 924x1008 confettis.webm
@dceddia
dceddia / symbolicate.rb
Created June 26, 2021 18:58
Symbolicate a macOS crash report from Sentry
#!/usr/bin/env ruby
# colorization without needing a gem
class String
def colorize(color_code)
"\e[#{color_code}m#{self}\e[0m"
end
def red
colorize(31)