Coder Social home page Coder Social logo

bash-tools's People

Contributors

andresgongora avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bash-tools's Issues

Syntax error

After installation when open terminal first two lines:

bash: /etc/bash.bashrc: line 73: syntax error near unexpected token `|'
bash: /etc/bash.bashrc: line 73: `|'

Ideas for new scripts

  • Script to print info with formatted headers and prompt user for data (like in dotfiles).
  • Add MENU to all my bash-scripts. Such that I can navigate, apply, store, reset, etc stuff. For IPTABLEs por example: add option to autoreset all rules within 60 seconds (one shot) after applying current rules. Create such a menu-script when logging into LXC: each box has 1-2 functions, so add a menu for example to reset httpd, or reset emby, or whatever (see logs) and add an option to escape the script and access a standard terminal

print_utils.sh does not always print on parallel blocks

Even when the terminal is 80 chars wide, print_utils does not print in two parallel blocks as expected. Somehow the print-header fails to return back "home" before starting to print a new block. I've noticed this so far over SSH.

Possible solutions:

  • Fix the bit of code that forces the header to return home before printing the second block. Maybe for ssh sessions this does not work and needs some workaround.
  • Instead of printing to the terminal, and using a terminal feature to put two pieces of text side by side, print/save to an intermediate buffer instead.

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.