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
#!/bin/bash | |
# Updates kubectl in the ~/bin directory. Provide a base version number, like | |
# "1.20", and this will find the latest patch release, download it, verify the | |
# hash, and overwrite the kubectl in ~/bin. | |
# Usage: update_kubectl <base version number> | |
update_kubectl() { | |
if [[ $# -eq 0 ]]; then | |
echo 'Missing base version, such as "1.20".' | |
else |
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
/** | |
* B128 Keyboard Interpreter for Teensy++ 2.0 | |
* | |
* 2020, Nick Melnick - http://www.nmelnick.com | |
* | |
* Based on code from: | |
* - Toshiba T1000 Keyboard interpreter, 2017, Chad Boughton | |
* https://www.instructables.com/Make-Any-Vintage-Keyboard-Work-With-a-Modern-PC/ | |
* - Teensyduino Core Library, 2013, PJRC.COM, LLC. | |
* http://www.pjrc.com/teensy/ |
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 | |
# Sets the current elementary os wallpaper to the Bing image of the day. This | |
# is similar to Bing wallpaper daemons for Windows, GNOME, and the like. Instead | |
# of running as a daemon, just add to your crontab. For instance, to run every | |
# 3 hours, execute `crontab -e` from the command line, and insert: | |
# 0 */3 * * * /path/to/elementary-bing-wallpaper.pl | |
# | |
# This may require the installation of libjson-xs-perl. | |
# sudo apt install libjson-xs-perl | |
# |