Skip to content

mo42/bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pass_export.sh

Export all usernames and passwords from pass 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.

scanned.sh original.pdf original_scanned.pdf

calc

Evaluate arithmetic expression directly from the command line:

calc 21 * 2

To use it like this, I disable globbing for this command, by putting

alias calc='noglob calc'

into the zshrc.

Build and Installation

To build calc, you need:

  • GCC,
  • Flex, and
  • Bison
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.