Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuelblancovalentin/scripts
https://github.com/manuelblancovalentin/scripts
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/manuelblancovalentin/scripts
- Owner: manuelblancovalentin
- Created: 2022-12-11T18:36:02.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T15:49:48.000Z (about 2 years ago)
- Last Synced: 2024-11-08T10:34:18.862Z (3 months ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Utilities
```shell
#####################################################
# [@manuelbv]: Add this to your shell profile to #
# automatically source these custom scripts #
#####################################################
export SCRIPTS_DIR="$HOME/scripts"
CATEGORIES=( "utils" )
for c in ${CATEGORIES[@]}; do
if [ -d "${SCRIPTS_DIR}/${c}" ]; then
subfiles=`find ${SCRIPTS_DIR} -type f -mindepth 1 -name "[^.]*.sh"`
for sf in ${subfiles}; do
echo ${sf}
source "${sf}"
done
fi
done
```### VNC utilities
#### 1. VNC loops
This utility allows you to automatically initialize a VNC session in a specific remote server and loop to it (port 37), so you can access it easily using VNC Viewer. It provides autocomplete.
```shell
if [ -f "${SCRIPTS_DIR}/utils/vnc/vnc_loops.sh" ]; then
. "${SCRIPTS_DIR}/utils/vnc/vnc_loops.sh"
fi
```