This file contains hidden or 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 | |
# Copyright © Teal Dulcet | |
# Check an ISP database (ISPDB) to see if the configurations are provided directly by the provider | |
# Run: python3 autoconfig.py <path to config directory> | |
# # Check the Mozilla ISPDB: | |
# git clone https://github.com/thunderbird/autoconfig.git | |
# python3 autoconfig.py autoconfig/ispdb/ |
This file contains hidden or 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 | |
# Copyright © Teal Dulcet | |
# Validate an ISP database (ISPDB) of mail (IMAP, POP, SMTP), contacts sync (CardDAV), calendar sync (CalDAV) and file storage (WebDAV) server configurations | |
# Run: python3 validate.py <path to config directory> | |
# # Validate the Mozilla ISPDB: | |
# git clone https://github.com/thunderbird/autoconfig.git | |
# python3 validate.py autoconfig/ispdb/ |
This file contains hidden or 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 -*- | |
# Teal Dulcet | |
# python3 -OO prime.py <number> | |
# python2 -OO prime.py <number> | |
# pypy3 -OO prime.py <number> | |
# pypy -OO prime.py <number> | |
from __future__ import division, print_function, unicode_literals |
This file contains hidden or 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 -*- | |
# Copyright © Teal Dulcet | |
# Run: python3 -X dev watch.py | |
from __future__ import division, print_function, unicode_literals | |
import ctypes | |
import logging |
This file contains hidden or 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 | |
# Copyright © Teal Dulcet | |
# Interactively apply Ruff autofixes per rule and optionally commit the changes | |
# Also see: https://github.com/astral-sh/ruff/issues/4361 | |
# Run: python3 autofix.py [Ruff args]... | |
import json | |
import os |
This file contains hidden or 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
#!/bin/bash | |
# EWM: This is a makefile-only cutdown of Teal Dulcet's much more extensive Mlucas install/build/tune | |
# script, available at https://raw.github.com/tdulcet/Distributed-Computing-Scripts/master/mlucas.sh ; | |
# he does not explicitly use the GPL boilerplate as below, but assures me his version is GPL-covered. | |
################################################################################ | |
# # | |
# (C) 2021 by Ernst W. Mayer and Teal Dulcet. # | |
# # |
This file contains hidden or 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 -*- | |
"""Read Prime95/MPrime, Mlucas, GpuOwl/PRPLL, CUDALucas, CUDAPm1, mfaktc and mfakto save/checkpoint and proof files, and display status of them.""" | |
# Adapted from: https://github.com/sethtroisi/prime95/blob/py_status_report/prime95_status.py | |
# Copyright (c) 2021-2024 Seth Troisi and Teal Dulcet | |
# | |
# This program is free software: you can redistribute it and/or modify |
This file contains hidden or 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 -*- | |
# Teal Dulcet | |
# Run: python3 -OO factor.py <number(s)>... | |
# Run: python2 -OO factor.py <number(s)>... | |
# Run: pypy3 -OO factor.py <number(s)>... | |
# Run: pypy -OO factor.py <number(s)>... | |
# python3 -X dev factor.py {2..100} |
This file contains hidden or 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 | |
# Teal Dulcet | |
# Run: python3 google.py <input TSV file(s)>... <output TSV file> | |
# export LC_ALL=C.UTF-8 | |
# sudo apt update | |
# sudo apt install hunspell-tools |
This file contains hidden or 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 | |
# Teal Dulcet | |
# Run: python3 wiktionary.py <input JSON file> <output TSV file> | |
# export LC_ALL=C.UTF-8 | |
# sudo apt update | |
# sudo apt install hunspell-tools |
NewerOlder