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
import re | |
"""This script prepares a stream of text (captured during a Terminal session). | |
The text represents the named package installations of `pyttsx3` and its | |
113 versioned dependencies. | |
The captured stream of text (copy & paste) was saved to the `trash_pkgs.txt` | |
file. This script transforms its contents to specification and writes a | |
`requirements.txt` file. The requirements file is used by the command: |
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
# -*- coding: utf-8 -*- | |
from json_database import JsonDatabase | |
"""Adds selected lyrics from the song: 'The Twelve Days of Christmas' | |
to a list. | |
Uses JsonDatabase. See details @: | |
- https://pypi.org/project/json-database/ | |
- https://github.com/OpenJarbas/json_database |
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
# -*- coding: utf-8 -*- | |
import argparse | |
import configparser | |
import sys | |
from pathlib import Path | |
"""Writes configuration files | |
Writes flake8, mypy, pytests, tox configuration files |
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 ruby | |
# -- coding: utf-8 -- | |
# frozen_string_literal: true | |
require 'json' | |
require 'ostruct' | |
require 'logger' | |
# This module attempts to trash (uninstall) one or more target gems, |
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 zsh | |
# decompWebp.zsh - Decompresses WebP files into PNG files. | |
set basedir=$1 | |
for file in ${basedir}/**/*.webp ; do | |
# ext = PNG, PAM, PPM or PGM | |
ext=".png" |
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 | |
"""Checks the installation of packages, as recommended by the authors of | |
`Tiny Python Projects` (MEAP 6.0.0, Manning Publications 2020) to | |
learn by doing while enduring the covid-19 `stay safer @ home` orders. | |
See https://www.manning.com/books/tiny-python-projects?query=tiny. | |
""" | |
import shlex |
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
"""This module seeks to help the user save time, by identifying outdated | |
packages managed by Homebrew and then automating each package's upgrade | |
processes.""" | |
#!/usr/bin/env python3 | |
import subprocess | |
def main(): | |
"""Function creates a list of outdated packages to upgrade (if any)""" |
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
package com.seasonedgeek.squashlogs; | |
import java.io.File; | |
import java.util.Calendar; | |
import java.util.Date; | |
/** | |
* <p> | |
* SquashLogs is a command line process that cleans up dated log files | |
* generated by iTerm (app) sessions. |
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
#!/opt/local/bin/zsh | |
# make-egg | |
usage=" | |
$0 [pie | dump | help] -- makes editable <project>.egg-info | |
where options are: | |
pie creates <project>.egg-info directory | |
dump removes <project>.egg-info directory | |
help show this help text." |
OlderNewer