Set BIOS to UEFI
Links from my recent dive into exploring a modern terminal setup. I've shared videos I've seen as well as kids these days to that instead of blog posts.
- iTerm2 - (I now like the "Tango Dark" Theme that ships with iTerm)
- https://alacritty.org/ - Cross-platform terminal (Mac, Linux, BSD) with required features
- Remember to use 256-color mode terminal and Unicode/locale modes! (see fonts)
These fonts have been patched to include icons useful for terminals (files, utilities, ecosystems)
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 perl | |
############################################################################ | |
# sendqmqp - Qmail QMQP Command-Line Interface/Client | |
# (c) 2022 BIGLIST.com and Allen M. Fair. All rights reserved. | |
#--------------------------------------------------------------------------- | |
# Usage: sendqmqp.pl ip:port sender recipients... < message | |
############################################################################ | |
package SendQMQP; | |
use strict 'vars', 'refs'; |
I have ethernet running to my Fios modem/router on either end of a very long house. I wanted to set the modem/router and Tenda routers to have the same network name (SSID) and password so it would auto-connect from anywhere in the house. To do this, use AP (Access Point) mode.
- I used an ethernet cable from laptop to WAN port of router.
- Power on Router
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 bash | |
################################################################################ | |
# pgbackup - Run without arguments for help. | |
# - Wrapper for PG backup/restore utilities | |
# (C) 2018 Allen Fair. All rights reserved. | |
################################################################################ | |
# Use ENV Variables to override these defaults | |
user=${PGUSER-$USER} |
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 perl | |
################################################################################ | |
# time-count : Counts log lines per time (number of chars of timestamp)` | |
# Takes (log) lines with timestamp near the start, looking for: | |
# * ISO/ISO-8601 : yyyy-mm-dd.hh:mm:ss | |
# * Common Log Format: [dd/mmm/yyyy:hh:mm:ss -zzzz] | |
# * Unix epoch : 1521458735.901159500 | |
# counts by year/month/day/hour/minute(default)/second. | |
# Useful for log analysis counts, like "uniq -c" for time periods. | |
# Intended for use as a Unix command taking its input as a pipe. |
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
?? Title Artist | |
07992 Ah Doo Doo Doo Willie Revillame | |
07993 Bilog Ang Mundo Manny Pacquiao | |
07994 Boom Tarat Tarat Willie Revillame | |
07995 Champion Sa Kantahan Manny Pacquiao | |
07996 Hephep Hooray (Happy Birthday) Willie Revillame | |
07997 Ikaw At Ako Manny Pacquiao | |
07998 Laban Nating Lahat Ito Manny Pacquiao | |
07999 Panalo Ka Sa Puso Ko (Extreme Jingle) Sarah Geronimo | |
08000 Para Sa 'yo Ang Laban Na 'to Manny Pacquiao |
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 bash | |
################################################################################ | |
# pgbackup - Run without arguments for help. | |
# - Wrapper for PG backup/restore utilities | |
# (C) 2018 Allen Fair. All rights reserved. | |
################################################################################ | |
# Use ENV Variables to override these defaults | |
user=${PGUSER-$USER} |
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
<?php | |
/** | |
* Makes a remote HTTP request and returns the response. | |
* | |
* @author Allen Fair <[email protected]> | |
* @copyright 2018 Allen Fair | |
* @license https://opensource.org/licenses/MIT MIT | |
* | |
* @param string $url The full URL endpoint: "https://example.com/endpoint" | |
* @param array $opt An Associative Array of extended request options |
NewerOlder