I hereby claim:
- I am tsbertalan on github.
- I am tsbertalan (https://keybase.io/tsbertalan) on keybase.
- I have a public key ASBdX7B7HKtofMVBJGwuheDtGWcaYQ9zdeFwJjJRWSRbUwo
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import tkinter as tk | |
from sys import platform | |
# Draw a circle around the pointer. Use tkinter to make circle without window. | |
root = tk.Tk() | |
#root.config(bg='') | |
#root.overrideredirect(True) |
""" | |
Change the scrolling direction of a USB mouse. | |
""" | |
# Request UAC: | |
# https://newbedev.com/request-uac-elevation-from-within-a-python-script | |
import ctypes, sys | |
def is_admin(): | |
try: | |
return ctypes.windll.shell32.IsUserAnAdmin() |
*.7z filter=lfs diff=lfs merge=lfs -text |
#!/usr/bin/env python | |
from __future__ import print_function | |
import argparse | |
from os import system | |
from glob import glob | |
from os.path import join, expanduser | |
HOME = expanduser('~') | |
import tensorflow as tf, numpy as np, matplotlib.pyplot as plt | |
trainable = [] | |
order = 4 | |
@tf.custom_gradient | |
def poly(x): | |
# Create the (or get a handle to the existing existing) polynomial coefficients variable | |
# that we're supposed to learn. |
#!/bin/bash | |
set -e | |
export IFS=' | |
' | |
rm /tmp/snaps_to_remove | |
touch /tmp/snaps_to_remove | |
echo "#Listing mounts ..." | |
for f in $(df | awk "{ print \$6 }" | grep snap) |
[color] | |
ui = auto | |
[alias] | |
changes = diff --name-status -r | |
tree = log --oneline --decorate --graph --all | |
unadd = reset HEAD | |
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
lg = !git lg1 | |
todo = grep -n -e TODO -e FIXME -e XXX -e OPTIMIZE |
MatOMat([[array([[ 0.05056171, 0.49995133], | |
[-0.99590893, 0.69359851]]), | |
array([[-0.41830152, -1.58457724], | |
[-0.64770677, 0.59857517]])], | |
[array([[ 0.33225003, -1.14747663], | |
[ 0.61866969, -0.08798693]]), | |
array([[ 0.4250724 , 0.33225315], | |
[-1.15681626, 0.35099715]])], | |
[array([[-0.60688728, 1.54697933], | |
[ 0.72334161, 0.04613557]]), |
I hereby claim:
To claim this, I am signing this object: