This workflow uses the GitHub CLI to keep a forked repo in sync with the upstream repo. Add it to your repo as .github/workflows/sync-fork.yaml.
It runs daily to sync the default branch and can be triggered manually for any branch.
| function cc-tool-w { | |
| cc-tool --erase --write "$@" --verify && cc-tool --read-mac-address | |
| } |
| #!/bin/bash | |
| ################################################################## | |
| # A Project of TNET Services, Inc | |
| # | |
| # Title: WiFi_Check | |
| # Author: Kevin Reed (Dweeber) | |
| # dweeber.dweebs@gmail.com | |
| # Project: Raspberry Pi Stuff | |
| # | |
| # Copyright: Copyright (c) 2012 Kevin Reed <kreed@tnet.com> |
Jenv is great, but the JDKs have to be manually installed. If you need more than just a couple of them, you'll want to be able to install them via command line, and sdkman provides this capability very cleanly for java. So... is it possible to work with both sdkman and jenv? Yes and no. Some tricks will allow you to tell jenv about the java versions that are managed by sdkman, but setting defaults (using jenv local 17.0 for instance) does not work very well. Time for a cleaner solution. Sdkman provides all of the same functionality, with more power and a slightly different (but equally simple) syntax. I've switched from jenv to sdkman. Here's my cheat sheet.
Download and install sdkman. Follow the required instructions after installing. Then, run the config command to enable auto_env support.
echo “Installing SDKMAN"
curl -s https://get.sdkman.io | bash
| #!/usr/bin/env bash | |
| /Applications/VLC.app/Contents/MacOS/VLC -I rc "$@" |