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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stat.jump | |
stat.drop | |
stat.deaths | |
stat.mobKills | |
stat.pigOneCm | |
stat.flyOneCm | |
stat.leaveGame | |
stat.diveOneCm | |
stat.swimOneCm | |
stat.fallOneCm |
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/" |