Skip to content

Instantly share code, notes, and snippets.

import itertools
import os
from multiprocessing.pool import Pool
import more_itertools
shapes = [
[
0b1100011000000000000000000,
0b1110000000000000000000000,
import itertools
shapes = [
[
0b1100011000000000000000000,
0b1110000000000000000000000,
],
[
diff --git a/Telegram/Resources/qrc/telegram_linux.qrc b/Telegram/Resources/qrc/telegram_linux.qrc
index 0554fa179..3ea027406 100644
--- a/Telegram/Resources/qrc/telegram_linux.qrc
+++ b/Telegram/Resources/qrc/telegram_linux.qrc
@@ -1,5 +1,4 @@
<RCC>
<qresource prefix="/qt">
- <file alias="etc/qt.conf">../etc/qt_linux.conf</file>
</qresource>
</RCC>
@bakatrouble
bakatrouble / keybase.md
Created March 22, 2019 23:18
keybase.md

Keybase proof

I hereby claim:

  • I am bakatrouble on github.
  • I am bakatrouble (https://keybase.io/bakatrouble) on keybase.
  • I have a public key ASDuEHpNtr6yV0WyAxKrxNgh8lgbNFooz1iinuArNwwApAo

To claim this, I am signing this object:

# GYP project file for TDesktop
{
'targets': [
{
'target_name': 'libtgvoip',
'type': 'shared_library',
'dependencies': [],
'defines': [
'WEBRTC_APM_DEBUG_DUMP=0',
# GYP project file for TDesktop
# Fixed for standalone Windows static lib build, building notes are at https://github.com/bakatrouble/pylibtgvoip/blob/master/README.libtgvoip.md
{
'targets': [
{
'target_name': 'libtgvoip',
'type': 'shared_library',
'dependencies': [],
'defines': [
from urllib import parse
from pony.orm import *
db = Database()
Model = db.Entity
class SanicPony(object):
def __init__(self, app, connect=True):
# source data files: http://spreadsheet_reader.drop.bakatrouble.pw/
/home/bakatrouble/.virtualenvs/sandbox/bin/python3 /home/bakatrouble/dev/sandbox/q.py
=== XLS ===
Тестов, Тест, Тестович, test, [email protected]
Иванов, Иван, Иванович, test2, [email protected]
=== CSV ===
Тестов, Тест, Тестович, test, [email protected]
Иванов, Иван, Иванович, test2, [email protected]
#EXTM3U
#EXT-X-VERSION:2
#EXT-X-ALLOW-CACHE:YES
#EXT-X-MEDIA-SEQUENCE:1816
#EXT-X-TARGETDURATION:15
#EXTINF:17,
/hls/09154439-766a-aaaa-aaaa-64db8b208356-sub/1521425416.16-1521425432.83.ts?input=ele-production&kid=vyborymos-1&sub=0&exp=1521763199&dig=9d82fa52ba2f341a1065f05ca379dc97
#EXTINF:17,
/hls/09154439-766a-aaaa-aaaa-64db8b208356-sub/1521425432.83-1521425449.46.ts?input=ele-production&kid=vyborymos-1&sub=0&exp=1521763199&dig=9cc03b8c8f201025014118317c5d13e8
#EXTINF:17,
import asyncio
import os
from urllib.parse import urlparse, parse_qs
from subprocess import Popen
import itertools
import requests
import ffmpeg
import m3u8
from natsort import natsorted