Skip to content

Instantly share code, notes, and snippets.

import qt5reactor
import sys
import time
import twisted
from PyQt5 import QtCore
def thread():
print('threading')
import contextlib
from dataclasses import dataclass
import json
import os
import pathlib
import subprocess
import sys
import sysconfig
import time

Keybase proof

I hereby claim:

  • I am altendky on github.
  • I am altendky (https://keybase.io/altendky) on keybase.
  • I have a public key ASA_drgu9N-abY6fC8HHP6DYap-78QZxqF_L_jVowd-SOwo

To claim this, I am signing this object:

import csv
import math
import gidgethub.httpx
import httpx
import trio
import asyncclick as click
STARGAZAERS = """query StargazersCount($owner: String!, $name: String!, $after: String = null)
{
altendky@p1:~$ mkdir tmp
mkdir: cannot create directory ‘tmp’: File exists
altendky@p1:~$ rm -rf tmp
altendky@p1:~$ mkdir tmp
altendky@p1:~$ cd tmp
altendky@p1:~/tmp$ git clone https://github.com/miurahr/aqtinstall
Cloning into 'aqtinstall'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (6/6), done.
~   master ●  python3.8 x.py
Traceback (most recent call last):
File "x.py", line 3, in <module>
import pylib.preferences as pref
ModuleNotFoundError: No module named 'pylib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "x.py", line 7, in <module>
custom set c: 3
b changed to 42
b changed to 37
a changed to 12
a changed to 13
custom get c: 3
3
custom set c: 4
c changed to 4
custom get c: 4
from . import google
dispatch = {
'google': google.validate
}[platform](token)
def get_profile_for_token(client_ids, platform, token):
if platform == 'google' and platform in client_ids:
@altendky
altendky / aisgen.py
Last active March 20, 2019 15:38 — forked from eliotb/aisgen.py
Tools for working with Texas Instruments COFF and AIS files
#!/usr/bin/env python
'''Read fully linked TI COFF file, and generate AIS format file
Commandline parameters
enable sequential read,
pll and emifb configuration
pinmux configuration
enable checksums
'Eliot Blennerhassett' <eblennerhassett@audioscience.com>