Skip to content

Instantly share code, notes, and snippets.

View davenewham's full-sized avatar
🐢
being a turtle

David Newham davenewham

🐢
being a turtle
View GitHub Profile
@davenewham
davenewham / gist:220850ca51667d559bbe9ded6856fd60
Created February 1, 2022 19:32
Convert video file to telegram webm for animated sticker
ffmpeg -i input_file.mp4 -framerate 30 -c:v libvpx-vp9 -an -vf scale=512:512 -pix_fmt yuva420p output_sticker.webm
@davenewham
davenewham / Compact mode Protonmail Beta 4.0
Last active April 30, 2020 16:54
Tried the beta today, however the row layout has far too much padding on larger displays. Fixed this by overriding the padding code. To apply changes: Go to Settings -> Appearance -> Themes -> Custom Mode (Customize) -> Paste Above CSS
.item-container, .item-container-row {
padding: 0;
}
.rounded50{
display: none;
}