I hereby claim:
- I am lukas-hetzenecker on github.
- I am luhe (https://keybase.io/luhe) on keybase.
- I have a public key ASBfiGUD9OYzxX-pMsJVin8Rcp4xh_MyzbvpPqNgUikp9Ao
To claim this, I am signing this object:
subprocess = importlib.import_module("subprocess") | |
clips = resolve.GetProjectManager().GetCurrentProject().GetMediaPool().GetCurrentFolder().GetClips() | |
for clip in clips.values(): | |
path = clip.GetClipProperty()['File Path'] | |
print(path) | |
d = subprocess.check_output(f"/opt/homebrew/bin/mediainfo --Inform='General;%Encoded_Date%' '{path}'", shell=True).strip() | |
print(d) | |
name = str(d, encoding='ascii') + ' ' + path.split('/')[-1] |
<?xml version="1.0" encoding="UTF-8"?> | |
<!--<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://schemas.opengis.net/wms/1.0.0/WMS_MS_Capabilities.dtd">--> | |
<WMT_MS_Capabilities version="1.1.1" updateSequence="0" xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<Service> | |
<Name>OGC:WMS</Name> | |
<Title>Open Government Data WMS Wien</Title> | |
<Abstract>This service provides access to online maps of the City of Vienna, Austria.</Abstract> | |
<KeywordList> | |
<Keyword>Wien</Keyword> |
from splitwise import Splitwise | |
from splitwise.expense import Expense | |
from splitwise.user import ExpenseUser | |
from decimal import Decimal | |
import csv | |
userMapping = [3249451, 44166785, 14661289, 4758492, 52240291, 52106172, 45456543, 52106173] | |
s = Splitwise("***","***", api_key="***") | |
current = s.getCurrentUser() |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import binascii | |
import zmq | |
import struct | |
import csv | |
import time | |
from iota import Address, ProposedTransaction, Tag, Transaction | |
port = 5556 |
import logging | |
import json | |
import google.oauth2.credentials | |
import time | |
from google.assistant.library import Assistant | |
from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot, QObject, QThread | |
from google.assistant.library.event import EventType |
{ | |
"name": "GethTranslation", | |
"engine": { | |
"Ethash": { | |
"params": { | |
"minimumDifficulty": "0x20000", | |
"difficultyBoundDivisor": "0x800", | |
"durationLimit": "0xd", | |
"blockReward": "0x4563918244F40000", | |
"registrar": "0x81a4b044831c4f12ba601adb9274516939e9b8a2", |
044bf0e7a3591a799a06ebd53be599deec85b48ddc99b7784e6cd13d4308744ab08ab1b207febec26664ef078f4f1182d47bcfe247905dd302341ea26ff92e133c |
# weatherservice.py | |
import asyncio | |
import aiohttp | |
from PyQt5.QtCore import pyqtProperty, pyqtSignal, QObject | |
base_url = 'http://api.openweathermap.org/data/2.5/' | |
HEADERS = { | |
'user-agent': ('smart-mirror [email protected]'), |
>>> for x in filter(lambda x: 'unknown' in x, [x['name'] for x in list(client.query("SHOW MEASUREMENTS"))[0]]): | |
... print("DROP MEASUREMENT \"" + x + "\"") | |
>>> for x in filter(lambda x: 'unknown' in x, [x['name'] for x in list(client.query("SHOW MEASUREMENTS"))[0]]): | |
... client.query("DROP MEASUREMENT \"" + x + "\"") | |
from influxdb import InfluxDBClient |