Skip to content

Instantly share code, notes, and snippets.

@9ary
9ary / fix_telegram.md
Last active January 2, 2018 20:47 — forked from vijfhoek/fix_telegram.md
How to fix the really really round telegram avatars and << >> -- stuff

Note: I won't update this gist anymore, please see my dotfiles repo for future updates.

Here is a bash/GDB script to fix it (tested on GNU/Linux only):

#!/bin/bash

gdb /usr/bin/telegram-desktop << EOF
tbreak _ZN3App9initMediaEv
commands
@9ary
9ary / Convert Script – README.md
Last active January 18, 2024 19:44 — forked from Zehkul/Convert Script – README.md
Script to quickly convert and crop videos from within mpv

README:

This script for mpv intends to offer the fastest and simplest way to convert parts of a video—while you’re watching it and not really more work intensive than making a screenshot. A short demonstration: https://d.maxfile.ro/omdwzyhkoa.webm

Installation:

You need:

  • yad (at least 0.26) (AUR)