https://github.com/mo42/bin
Various practical bash scripts and mini programs
https://github.com/mo42/bin
calculator command-line command-line-tool scripts-collection
Last synced: 5 months ago
JSON representation
Various practical bash scripts and mini programs
- Host: GitHub
- URL: https://github.com/mo42/bin
- Owner: mo42
- License: mit
- Created: 2016-11-16T18:13:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T20:23:16.000Z (almost 2 years ago)
- Last Synced: 2025-10-13T17:33:14.147Z (9 months ago)
- Topics: calculator, command-line, command-line-tool, scripts-collection
- Language: Yacc
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pass_export.sh
Export all usernames and passwords from [pass](https://www.passwordstore.org/) the linux password manager.
# sftp_rmr.py
Sometimes, SFTP does not support `rm -r`. So, recursively delete all files on an SFTP server.
# scanned.sh
Make files look like scanned for troublesome bureaucrats who require you to print out documents, sign them, and send an electronic copy.
```shell
scanned.sh original.pdf original_scanned.pdf
```
# calc
Evaluate arithmetic expression directly from the command line:
```shell
calc 21 * 2
```
To use it like this, I disable globbing for this command, by putting
```zshrc
alias calc='noglob calc'
```
into the `zshrc`.
# Build and Installation
To build calc, you need:
- GCC,
- Flex, and
- Bison
```sh
git clone https://github.com/mo42/bin.git && cd bin
make -C calc install
```
# License
This project is licensed under the MIT License - see the LICENSE file for details.