I hereby claim:
- I am andiwand on github.
- I am andiwand (https://keybase.io/andiwand) on keybase.
- I have a public key ASDyv23uKydhtxOPY8oWlTgjXuiF-16QywVgrvHBOB0gDQo
To claim this, I am signing this object:
import os | |
import re | |
import argparse | |
import piexif | |
from datetime import datetime, timedelta | |
parser = argparse.ArgumentParser() | |
parser.add_argument('path') | |
args = parser.parse_args() |
template <typename Thing> class AnyThing { | |
public: | |
using Base = AnyThing<Thing>; | |
AnyThing() = default; | |
AnyThing(const AnyThing &other) { copy_(other); } | |
AnyThing(AnyThing &&other) noexcept { move_(std::move(other)); } |
import itertools | |
import matplotlib.pyplot as plt | |
from descartes.patch import PolygonPatch | |
from shapely.geometry import Polygon | |
from shapely import affinity, ops | |
#room = Polygon([[0, 0], [5, 0], [5, 5], [10, 5], [10, 10], [0, 10]]) | |
room = Polygon([[0, 0], [4, 0], [4, 4], [0, 4]]) | |
board_width = 2.2 |
import numpy as np | |
from numpy.linalg import multi_dot | |
# only necessary for FlatMixingDecorator | |
import w2dyn.auxiliaries.deepflatten as deepflatten | |
class InitialMixingDecorator(object): | |
def __init__(self, init_count, init_mixer, mixer): | |
self.init_count = init_count | |
self.init_mixer = init_mixer |
import numbers | |
import numpy as np | |
def types(x): | |
if type(x) is np.ndarray: return x.dtype | |
if isinstance(x, numbers.Number): return type(x) | |
result = [] | |
for i in x: result.append(types(i)) | |
return result |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import os | |
import sys | |
import time | |
import argparse | |
def main(): | |
parser = argparse.ArgumentParser(description='check access / modified / creation age') | |
parser.add_argument('path', help='path to check') |
#!/usr/bin/env python3 | |
import argparse | |
import datetime | |
import requests | |
import pandas | |
def date(s): | |
try: | |
return datetime.datetime.strptime(s, '%Y-%m-%d') |
#!/usr/bin/env python3 | |
import argparse | |
import socket | |
import struct | |
import threading | |
def arguments(): | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--tcp-port', type=int, default=5004) |
#/bin/ash | |
. /lib/functions.sh | |
. /lib/functions/network.sh | |
. /lib/mwan3/mwan3.sh | |
mwan3_iface_status() | |
{ | |
local device result track_ips tracking IP IPT |