Sudo-Productivity
Boost your "productivity" to the max! A productivity suite made for slackers by slackers.
Note This project was made just for fun. I do not condone use of these programs in a professional work environment.
Created by: Kyle Lim
How to Run
Clone the repository to your local machine
git clone https://github.com/kyle8998/Sudo-Productivity
Run the suite with a flag
./productivity [-abcfhns]
Automated Test System (ATS)
ATS.sh - Simulates an Automated Test System. Uses tmux to open 4 panes to run a keyserver, master, and slave in "docker"
Note: Run tmux before running the script! To exit, use tmux prefix & y to kill. (prefix is default ctrl+b)
ATS File Dependencies
keyServer.sh - Key server output
master.sh - Master output
slave.sh - Slave output
trigger.sh - Request trigger output
Bitbake
fakeBitbake.sh - Simulates a bitbake build. It requires the three files: fakeBitbake.sh, bitbake.sh, and bitbakeargs.txt. It works by outputting the normal bitbake text and some fake warnings and looping through an array of bitbake arguments. It then uses echo carriages to change the tasks that it is "bitbaking" to simulate that is it building something.
Note: Must use CTRL+C then type "pkill bash" to end due to background processes. This may crash other programs (including real bitbake!) that are running bash. Use with caution!
printBitbake.sh - Less sophisticated bitbake simulation. Simply prints out bitbake. No background processes involved.
Bitbake File Dependencies
bitbakeArgs.txt - Contains all bitbake arguments for fakeBitbake.sh
initial.sh - Script that prints out initial burst for fakeBitbake.sh
pipedBitbake.txt - Contains the content for printBitbake.sh
NeuralNetwork
trainNN.py - Creates a neural network and trains it to solve the XOR problem. The catch is that it outputs its training process every cycle for a million cycles.
trainNN_rand.py - Creates a neural network and constantly feeds it random training sets which ultimately leads to useless data. It outputs the training process with the outputs, weights, and error calculations.
Dependency: Must have Numpy python module installed
codeReview.rb - Retrieves random code from codereview and outputs it in a way that makes it look like you are typing the code.
Dependency: Ruby 2.1.0+ and Nokogiri gem
everything.sh - Simply outputs everything from every file on your system. Use with caution!
fakeCompilation.sh - Emulates gcc by pulling lines from /usr/include and including them with a gcc flag.
hackerTyper.rb - Retrieves random code from hackertyper and outputs it in a way that makes it look like you are typing the code.
hexSearch.sh - Randomly outputs hexidecimal numbers and highlights random numbers to make it simulate a search.
More coming soon!