skywalkeretw / Scripts

Useful and useless bash scripts for all use cases
MIT License
0 stars 0 forks source link

Scripts

Useful and useless bash scripts for all use cases

Bash Drinking

Terminal drinking game programmed in BASH

Start Game:

./bash-drinking.sh Player1 Player2 Player...

Change between diffrent Modes using the following flags:

IF yo dont specify a mode all modes are used

swich to german: -l | --lang

IBM Cloud Functions

Generates sinple IBM cloud Functions Snippets

Tic Tac Toe

Terminal Tic Tac Toe use the letters to select the field or the numbers on the numberpad (a = 1 ...)

Git Music

A script used to manage your music on a Android, Linux or Mac Used to clone your git repo where your Music (or other data) is stored.

Docker image is also provided to download convert and tag Music run this command inside the folder where your music is stored for best result will count mp3 files and use that as track number :

    docker run -v $(pwd):/out lukeroy/youtube2mp3 <Song Name> <Artist> <Album Name> <URL>

Termux is required to run the script on Android. All dependencies are automatically installed. Use the the universal apk. BlackPlayer EX Is the Used Music Player app For Android

Execute on Android Pull new music from Repo

bash git-music-ctl.sh pull

Push Music Changes to Repo

bash git-music-ctl.sh push

IBM Cloud Functions and Code Engine

Hacker

Use this powerfull script to make you look like you hacked into the Pentagon or any other organisations you want

hacker.sh <Target>

Crypt

Encrypt Files using Public & Private Key Methode or with Key and IV

Using Key & IV Generate Key and IV and store them in the specified file

./crypt.sh enc g <file>

Encrypt File using Key and IV

./crypt.sh enc e <file_to_encrypt> <key> <iv>

Decrypt File using Key and IV

./crypt.sh enc e <file_to_decrypt> <key> <iv>

Using RSA Public & Private Key Generate Key and IV and store them in the specified file

./crypt.sh rsa g <file.pem>

Encrypt File using Key and IV

./crypt.sh rsa e <public_key.pem> <file_to_encrypt> 

Decrypt File using Key and IV

./crypt.sh rsa d <private_key.pem> <file_to_decrypt>

Lenovo MIIX 320 10ICR Fixes

Selection of scripts to help setup Lenovo Miix 320 running Linux

ZSH Themes