I hereby claim:
- I am nikolak on github.
- I am nikolak (https://keybase.io/nikolak) on keybase.
- I have a public key ASC9G0Rq2SdgijiTJHr6QaVr3mrkUJjbUKvumzIyNuxeoAo
To claim this, I am signing this object:
| # This file contains pin mappings and reasonable defaults for Prusa i3 MK3S | |
| # printers. It will work with MK3 (non-S) by selecting the alternative filament | |
| # sensor. References to common community mods are included as well. | |
| # | |
| # Note: The Einsy boards sold by Prusa have defective firmware on the | |
| # usb-to-serial chip that makes the boards unusable with Klipper through USB. | |
| # While flashing Klipper firmware must be done over USB, the board can be used | |
| # via serial with no additional modification. | |
| # | |
| # To use this config, the firmware should be compiled for the AVR atmega2560. |
I hereby claim:
To claim this, I am signing this object:
| def check_for_airpods(timeout=60): | |
| import time;import os;import requests;import arrow | |
| while True: | |
| status = requests.get("https://www.apple.com/de/shop/retail/pickup-message?parts.0=MMEF2ZM%2FA&location=81925").json()['body']['stores'][0]['partsAvailability']['MMEF2ZM/A']['storePickupQuote'] | |
| available = 'Aug im' not in status | |
| if available: | |
| os.system(""" osascript -e 'display notification "{}" with title "Apple Store AirPods"'""".format(status)) | |
| else: | |
| print(f"Last checked at {arrow.now().format('YYYY-MM-DD HH:mm')}, status= {status}", end="\r") | |
| time.sleep(timeout) |
| def letter_count(s): | |
| counter, max_index = 1, len(s) - 1 | |
| out = [] | |
| for index, letter in enumerate(s): | |
| if index < max_index: | |
| if letter == s[index + 1]: | |
| counter += 1 | |
| continue |
| # -*- coding: utf-8 -*- | |
| # Form implementation generated from reading ui file 'threading_design.ui' | |
| # | |
| # Created: Thu Aug 6 13:47:18 2015 | |
| # by: PyQt4 UI code generator 4.10.4 | |
| # | |
| # WARNING! All changes made in this file will be lost! | |
| from PyQt4 import QtCore, QtGui |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <ui version="4.0"> | |
| <class>MainWindow</class> | |
| <widget class="QMainWindow" name="MainWindow"> | |
| <property name="geometry"> | |
| <rect> | |
| <x>0</x> | |
| <y>0</y> | |
| <width>526</width> | |
| <height>373</height> |
| # -*- coding: utf-8 -*- | |
| # Form implementation generated from reading ui file 'design.ui' | |
| # | |
| # Created: Wed May 27 16:39:17 2015 | |
| # by: PyQt4 UI code generator 4.11.3 | |
| # | |
| # WARNING! All changes made in this file will be lost! | |
| from PyQt4 import QtCore, QtGui |
| import requests | |
| # Some headers may bbe omitted, but IMO it's best to keep these: | |
| headers = {"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36", | |
| "Host": "accounts.craigslist.org", | |
| "Origin": "https://accounts.craigslist.org", | |
| "Referer": "https://accounts.craigslist.org/login"} | |
| # form POST data |
transmission-cli for the torrent client, and nginx to serve files.seedbox-setup.sh present in the current directory.