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
{ | |
"timeZone": "Europe/Bucharest", | |
"dependencies": { | |
}, | |
"oauthScopes": [ | |
"https://www.googleapis.com/auth/userinfo.email", | |
"https://www.googleapis.com/auth/script.external_request", | |
"https://www.googleapis.com/auth/script.send_mail" | |
], |
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
name: telegram-desktop | |
adopt-info: telegram | |
icon: Telegram/Resources/art/icon512@2x.png | |
base: core18 | |
grade: stable | |
confinement: strict | |
architectures: | |
- build-on: amd64 |
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
Login Password | |
root xmhdipc | |
root klv123 | |
root xc3511 | |
root 123456 | |
root jvbzd | |
default OxhlwSG8 | |
defaul tlJwpbo6 | |
defaul S2fGqNFs | |
default tluafed |
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
* TLS |
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
#!/usr/bin/env python | |
import ssl | |
import random | |
import io | |
import os | |
import timeit | |
import hashlib | |
import collections | |
import ctypes |
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
#!/usr/bin/env python3 | |
month_names = [ | |
"January", | |
"February", | |
"March", | |
"April", | |
"May", | |
"June", | |
"July", |
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
#!/usr/bin/env python3 | |
from abc import ABC, abstractmethod | |
class NullableProxy(ABC): | |
@abstractmethod | |
def __getitem__(self, key): | |
""" Overloaded brackets """ | |
@abstractmethod |
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
[user@dt1 ~]$ ~/venvs/pyperformance/bin/pyperformance compare results/py3-slim.json results/py3-alpine.json | |
py3-slim.json | |
============= | |
Performance version: 0.9.1 | |
Report on Linux-5.2.11-200.fc30.x86_64-x86_64-with-debian-10.0 | |
Number of logical CPUs: 2 | |
Start date: 2019-09-10 04:57:20.849603 | |
End date: 2019-09-10 05:22:03.190521 |
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
#!/bin/sh | |
for device in $(ls /sys/bus/usb/devices/*/product) ; do | |
dir="$(dirname "$device")" | |
if [ "$(cat "$device")" = "802.11n NIC" ] ; then | |
port="$(basename "$dir")" | |
echo Restarting "$port"... | |
echo "$port" > /sys/bus/usb/drivers/usb/unbind | |
sleep 2 | |
echo "$port" > /sys/bus/usb/drivers/usb/bind |
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
import asyncio | |
from collections import deque | |
class Ratelimit: | |
def __init__(self, rate, loop=None): | |
self._loop = asyncio.get_event_loop() if loop is None else loop | |
self._delay = 1. / rate | |
self._last_released = 0 | |
self._waiters = deque() | |
self._release_scheduled = False |