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 bash | |
| # SOURCES: | |
| # https://www.cyberciti.biz/faq/apple-mac-os-x-update-softwareupdate-bash-shell-command/ | |
| # https://www.tecmint.com/use-shell-script-variable-in-awk/ | |
| # https://stackoverflow.com/questions/369758/how-to-trim-whitespace-from-a-bash-variable/40962059#40962059 | |
| # https://stackoverflow.com/questions/238073/how-to-add-a-progress-bar-to-a-shell-script | |
| # https://beebo.org/haycorn/2015-10-03_applescript-tips.html | |
| # https://developer.apple.com/library/archive/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/DisplayProgress.html | |
| # https://pysimplegui.readthedocs.io/en/latest/#progress-meters |
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
| #!/bin/zsh | |
| :<<ABOUT_THIS_SCRIPT | |
| ------------------------------------------------------------------------------- | |
| Written by: William Smith | |
| Professional Services Engineer | |
| Jamf | |
| bill@talkingmoose.net | |
| https://gist.github.com/e9ed319226c6da30dd633725e48a97b0 |
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
| MIT License | |
| Copyright (c) 2018 Noel Bundick | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
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 bash | |
| # SOURCE: https://gist.github.com/ffcruz85/6c9fb792fce4af0c4cb561fd653c86b6 | |
| # Script to check for complete torrents in transmission folder, then stop and move them | |
| # either hard-code the MOVEDIR variable here… | |
| MOVEDIR='/data/complete' | |
| # TODO: read $env vars or file |
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
| terminal: | |
| searchOptions: {} | |
| colorScheme: | |
| name: Tomorrow Night Blue Dark | |
| foreground: '#ffffff' | |
| background: '#212c41' | |
| cursor: '#ffffff' | |
| colors: | |
| - '#000000' | |
| - '#ff9da4' |
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
| # Verify that shell is interactive | |
| if [[ $- != *i* ]]; then return; fi | |
| # PATH | |
| ## BAK (macOS): export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" || source /etc/profile | |
| # Android | |
| export ANDROID_SDK=$HOME/Library/Android/sdk | |
| export PATH=$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$PATH | |
| # Google Cloud |
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
| # SOURCES | |
| # https://starship.rs/config | |
| # https://starship.rs/presets/nerd-font.html#configuration | |
| # DEBUG via: | |
| # starship explain | |
| # STARSHIP_LOG=trace | |
| "$schema" = 'https://starship.rs/config-schema.json' |
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
| # vim:fileencoding=utf-8:foldmethod=marker | |
| #: Fonts {{{ | |
| #: kitty has very powerful font management. You can configure | |
| #: individual font faces and even specify special fonts for particular | |
| #: characters. | |
| font_family Hack Nerd Font | |
| # bold_font auto |
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
| _poetry_fba08e63e8e33757_complete() | |
| { | |
| local cur script coms opts com | |
| COMPREPLY=() | |
| _get_comp_words_by_ref -n : cur words | |
| # for an alias, get the real script behind it | |
| if [[ $(type -t ${words[0]}) == "alias" ]]; then | |
| script=$(alias ${words[0]} | sed -E "s/alias ${words[0]}='(.*)'/\1/") | |
| else |
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
| # EditorConfig is awesome: https://EditorConfig.orghttps://EditorConfig.orghttps://EditorConfig.org | |
| # Unix-style newlines and whitespace cleanup | |
| [*] | |
| end_of_line = lf | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true | |
| insert_final_newline = true | |
| # general formatting |