Coder Social home page Coder Social logo

shell_bash_scripts's Introduction

shell_bash_scripts

This is a collection of some of the shell bash scripts that i have made. You can use them as you wish. I have tried to make them as simple as possible. If you have any suggestions or improvements, please let me know.
They might be usefull for Epitech students, but you can use them as you wish.
Don't forget to chmod +x scriptname the scripts before using them otherwise you might not be able to execute them.
I will try to update this repo as much as possible and add more scripts.

-Be aware of the coding style before pushing your code to a repo.

  • init_my_repo

This script will create some basics files for your project. It will create a Makefile, a .gitignore, an include folder containing a header file and a src folder containing a main.c file.

./init_my_repo [bin_name]
Bin_name:
    the name of the binary file that will be created by the Makefile,
    this is also the name of the .h file that will be created in the
    include folder.
Example:
    ./init_my_repo "my_sokoban"

  • discord_updater

Installing discord on Linux can be a little bit tricky. So, i made this script to help you install discord on your Linux machine. This script will download the latest version of discord and install it. It can also update discord if you already have it installed.

It can also create a desktop file so you can launch discord from your desktop environment.

./discord_updater [install|update] [path]
To install discord:
    ./discord_updater install [path]

To update discord:
    ./discord_updater update [path]

Path:
    The path where you want to install discord or update it.
    If you don't specify a path, the script won't do anything.

  • create_prototypes (WIP)

-This script is not finished yet.

No need to explain that retrieving function prototypes is a big pain. The aim of this script is to create a header file containing all the prototypes of the functions in a folder. Yet, it only outputs the prototypes of the functions in your terminal.

./create_prototypes [.c file] [OPTION...]
.c file:
    The .c file that you want to create the prototypes from.

OPTIONS:
    -i, --ignore : ignore the coding style checker

example:
    ./create_prototypes main.c -i

shell_bash_scripts's People

Contributors

godlyjaaaj avatar alexandrevig avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

alexandrevig

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.