https://github.com/jantrienes/util-scripts
Collection of utility unix shell scripts.
https://github.com/jantrienes/util-scripts
bash scripts-collection utility
Last synced: about 2 months ago
JSON representation
Collection of utility unix shell scripts.
- Host: GitHub
- URL: https://github.com/jantrienes/util-scripts
- Owner: jantrienes
- License: mit
- Created: 2015-09-30T17:15:25.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-06-04T13:07:00.000Z (about 7 years ago)
- Last Synced: 2025-03-31T08:47:04.605Z (over 1 year ago)
- Topics: bash, scripts-collection, utility
- Language: Shell
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Utility Shell Scripts [](https://travis-ci.com/jantrienes/util-scripts)
A collection of utility shell scripts. Mostly used under MacOS.
## Overview
Following is a brief overview of the scripts included. Each scripts reports about its usage when
invoked with the `--help` flag.
| Script | Description |
|:-----------------|:-----------------------------------------------------------------------------------------------------------------------------------------------|
| `pathalias` | Creates an alias switching into the current working directory for rapid file system navigation. |
| `svnignore` | Ignores a set of commonly unwanted files from svn version control. |
| `givememake` | Produces a short makefile for compilation of LaTeX documents. |
| `toggledesktop` | Toggles the visibility state of the macOS desktop. Good for presentations. |
| `nextfreeport` | Retrieves the next free port number starting at a specific port. |
| `drjupyter` | Start a datascience [jupyter docker stack](https://github.com/jupyter/docker-stacks) on a free port with working directory mounted as volume. |
| `dshiny` | Start shiny [docker server](https://github.com/rocker-org/shiny) on next free port with with working directory mounted as volume. |
## Shellcheck
All scripts are linted using [shellcheck](https://github.com/koalaman/shellcheck). There is also a travis job which automatically executes the linter.
```sh
make lint
```
## Unit Tests
Unit tests are written using [bats](https://github.com/bats-core/bats-core) and can be executed with
the following command:
```sh
make test
```