This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "nuget: Deedle" | |
#r "nuget: ExcelDataReader" | |
#r "nuget: ExcelDataReader.DataSet" | |
open Deedle | |
open ExcelDataReader | |
type Reporter = | |
{ NtdId: string; | |
Mode: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import typing as typ | |
from dataclasses import dataclass | |
from itertools import islice | |
from time import sleep, time_ns | |
import bs4 # type: ignore | |
import requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf8 -*- | |
from argparse import ArgumentTypeError, ArgumentParser | |
from collections import Counter | |
from datetime import datetime, timezone | |
from pathlib import Path | |
from re import search | |
from archivecdx import Listing as ArchiveListing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import threading | |
from copy import copy | |
from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer | |
from sys import stdin | |
class ProducerConsumer(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To run in the PowerShell ISE, first execute: | |
# > Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted | |
# on the interactive console. | |
$OutputPath = "." | |
# Path to directory containing ww2ogg executable and codebook - https://github.com/hcs64/ww2ogg | |
$Ww2OggPath = ".\ww2ogg024\" | |
# Path to revorb executable - https://hydrogenaud.io/index.php/topic,64328.msg574110.html#msg574110 | |
$RevorbExec = ".\revorb.exe" | |
# Path to Civ 6 ;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Use me: | |
# 1. Export to CSV from KeePass | |
# 2. $ ./keepass2pwsafe.py <keepass.csv >passwordsafe.txt | |
# 3. Import from Plain Text in PasswordSafe, use the default delimiters | |
# Tested with KeePassXC 2.2.4 and PasswordSafe 1.02.1 for Linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""Cross-platform controller for NiceHash Excavator for Nvidia.""" | |
# Example usage: | |
# $ excavator -p 3456 & | |
# $ python3 excavator-driver.py | |
# History: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""Get your Steam trading cards by browsing through the Discovery Queue.""" | |
# Makes extensive use of steamweb, see https://github.com/jayme-github/steamweb | |
# Inspired by /u/zetx's userscript, see https://www.reddit.com/r/Steam/comments/3xvie5/userscript_to_automatically_go_through_a/ | |
# install dependencies: pip3 install --user steamweb |