Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kyle8998/Sudo-Productivity

Boost your "productivity" to the max! A fun project made for slackers by slackers.
https://github.com/kyle8998/Sudo-Productivity

command-line fun productivity shell useless work

Last synced: about 2 months ago
JSON representation

Boost your "productivity" to the max! A fun project made for slackers by slackers.

Awesome Lists containing this project

README

        

# 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

[![forthebadge](https://forthebadge.com/badges/powered-by-responsibility.svg)](http://forthebadge.com)

[![Open Source Love](https://badges.frapsoft.com/os/mit/mit.svg?v=102)](https://github.com/ellerbrock/open-source-badge/)
last deployed
[![GitHub issues](https://img.shields.io/github/issues/kyle8998/sudo-productivity.svg "GitHub issues")](https://github.com/kyle8998/sudo-productivity/issues)
[![GitHub stars](https://img.shields.io/github/stars/kyle8998/sudo-productivity.svg "GitHub stars")](https://github.com/kyle8998/sudo-productivity/stargazers)
[![HitCount](http://hits.dwyl.io/kyle8998/sudo-productivity.svg)](http://hits.dwyl.io/kyle8998/sudo-productivity)

## 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](https://raw.githubusercontent.com/kyle8998/Pseudo-Productivity/master/img/ATS.gif)

##### 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.

![ATS](https://raw.githubusercontent.com/kyle8998/Pseudo-Productivity/master/img/Bitbake.gif)

##### 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.

![ATS](https://raw.githubusercontent.com/kyle8998/Pseudo-Productivity/master/img/nn.gif)

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.

![ATS](https://raw.githubusercontent.com/kyle8998/Pseudo-Productivity/master/img/codereview.gif)

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.

![ATS](https://raw.githubusercontent.com/kyle8998/Pseudo-Productivity/master/img/hexsearch.gif)

--------------------------------------------------------------------------------

More coming soon!