Code Monkey home page Code Monkey logo

bash_manager's Introduction

bash_manager's People

Contributors

0395ankit avatar archund avatar bibliofilo avatar blastedt avatar ingridgdesigns avatar jcc6611 avatar jrtechs avatar jtt9340 avatar jzaia18 avatar minhduccao avatar radientbrain avatar skitau avatar tsevans avatar zard777 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bash_manager's Issues

More ASCII Art

Add more ascii art to the bash manager in the src/asciiArt folder. Ideally all the ascii art should be between 5-15 characters high.

Update Readme

Since the readme was initially created a bunch of things were added to this project. It would be nice to update the readme to explain everything. Rather than using the text grabs of the script running, it should use screenshots since it would look a lot nicer.

Update SSH Drive Manager

I want the ability to have the option to add more ssh drives but not have them mount as default.

Refactor Code To

  • Just have a general list of ssh drive mounts
  • Include ability to easily mount a single drive like the ssh manager
  • Create a separate section to keep track of which drives get mounted automatically

Update Quotes command to specify ascii art

Refactor the quotes.py file to specify the ascii file to use.
ie:

//this will do a random ascii animal
quote hello
//this will use the ascii art in src/asciiArt/roo.txt
quote hello --roo

After this is done, the batsay.py and roosay.py can be removed from the repository.

Create More Types of Quote ASCII Options

Currently this program only has the option to use roo when making a quote. It would be nice to have more options when printing quotes to the terminal.

Current Ideas

  • Microsoft Clippy
  • A Tiger
  • Some Cat

Remove ASCII Art that is too large

Remove ASCII art in src/aciiArt that is taller that 14 lines.
Desired ascii art should be between [4, 14] line long.
Acii art that is any larger is hard to view in a standard terminal.

Update Manager To Use SSH Config Files

Background

Currently this program only stores the user name and host of the computer to connect to via ssh. When connecting, it attempts to use the default ssh identity file. It would be helpful if we could keep track of additional parameters such as which ssh key to use, which port to use, and any fancy port forwarding.

Plan

Keeping track of these additional parameters can be done with a ssh-config file. See this article for more information on ssh config files.

Steps

  • Create method which when invoked will prompt user for information desired to put in ssh config file.
  • Create method to write the contents of the desired ssh config to the $HOME/.ssh/config file -- can be easily done with helper util function in module.py file.
  • Write method to parse the ssh config file and pull the user name, host, and alias.
  • From the contents pulled from the ssh config, update how the selection of hosts to connect to is being generated.
  • Update how the remove host from system works.

Local Port Forwarding

Similar to the normal ssh connections, I want a sub menu that manages ssh local port forwards. Since ssh forwarding commands are rather lengthy to type, it would be nice to have this program store the common ones that are used.

Consider this command:

ssh -L 9000:localhost:5432 [email protected]

Will forward everything on your machine listening on localhost on port 9000 to the remote ssh connection on port 5432.

ssh -L 9000:imgur.com:80 [email protected]

This command will forward everything listening on your machine on port 9000 to imgur.com:80 via the ssh connection. After you execute that command, localhost:9000 will become imgur.

Things that should be done:

  • Option to get to sub menu from main menu
  • Mechanism to add new local forward configurations -- can be done in a text/json file or .ssh config file
  • Way to select and remove forward configurations from file
  • Way to select local forward and run the correct ssh command

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.