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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.local.keyremap</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/hidutil</string> | |
<string>property</string> |
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/zsh | |
# Written by: VerityJ | |
# Published on: https://gist.github.com/verityj | |
# | |
# Usage: ./find-inside.sh location search-string | |
# location should not end in /* | |
# search-string does not need " or * | |
# | |
# Output: file names that contain the search-string inside |
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/zsh | |
# Written by: VerityJ | |
# Published on: https://gist.github.com/verityj | |
# | |
# Usage: ./find-here.sh location search-string | |
# search-string does not need " or * | |
if [ -z "$2" ] | |
then |
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/zsh | |
# Written by: VerityJ | |
# Published on: https://gist.github.com/verityj | |
# | |
# Usage: ./find-all.sh search-string | |
# search-string does not need " or * | |
if [ -z "$1" ] | |
then |
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
/* ~/Library/KeyBindings/DefaultKeyBinding.dict | |
* Created by VerityJ | |
*/ | |
{ | |
"$\U007F" = "deleteForward:"; | |
/* 'shift - delete' as forward delete - works in Xcode, not in Terminal */ | |
"\UF708" = "deleteForward:"; |
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/zsh | |
# curl -s hides the progress bar (verbose is -v) | |
# curl --progress-bar shows a simplier progress meter | |
# curl -S with silence activated still shows errors (or --show-error) | |
# Admin password between quotes: | |
admin="admin-password-here" | |
# First command: |
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
# This script is tested to work with T-Mobile home internet Arcadyan router. | |
# Tested on Mac OS 13 Ventura with python 3.9.6. | |
# Purpose: | |
# Display current wifi information. | |
# Choose to exit with no changes or enable/disable 2.4 GHz and 5.0 GHz wifi networks. | |
# This script needs router administrator password to run, type it into this file below. | |
# Usage (command line): |
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
# This script is tested to work with T-Mobile home internet Arcadyan KVD21 gateway. | |
# Tested on Mac OS 13 Ventura with python 3.9.6. | |
# Purpose: | |
# Display current wifi information. | |
# Choose to exit with no changes or enable/disable 2.4 GHz and 5.0 GHz wifi networks. | |
# This script needs your Arcadyan administrator password to run, type it into this file below. | |
# Usage: |
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
# This script creates metadata and file list for unchapterized files. | |
# | |
# Usage: python3 <script>.py input.files | |
# | |
# Example: | |
# python3 <script>.py *.mp3 | |
# | |
# Command used (to get duration in (s)): | |
# ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 input | |
# |