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
apply plugin: "java" | |
buildscript { | |
ext.bukkit_version = "1.9.2-R0.1-SNAPSHOT" | |
} | |
repositories { | |
mavenCentral() | |
maven { | |
url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" |
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
stat.jump | |
stat.drop | |
stat.deaths | |
stat.mobKills | |
stat.pigOneCm | |
stat.flyOneCm | |
stat.leaveGame | |
stat.diveOneCm | |
stat.swimOneCm | |
stat.fallOneCm |
git clone https://github.com/grishka/libtgvoip.git
cd libtgvoip
# Build openssl-1.0.1 and opus-1.1 to prefix libraries/
# Save CMakeLists.txt here (in repo root)
mkdir build
cd build
# Save CallMakefile and main.cpp here
from PIL import Image | |
import random | |
def thing(val): | |
val += (-4, -3, -2, -1, 1, 2, 3, 4)[random.getrandbits(3)] | |
if val < 0: return 0 | |
if val > 255: return 255 | |
return val |