GithubHelp home page GithubHelp logo

my_scripts's Introduction

my_scripts

These are all my scripts that I use daily.

Use

To be able to use these scripts in any directory you may want to add the following line to your .bashrc or .zshrc or any other shell config file depending on the shell you use:

export PATH=$HOME/path-to-my_scripts/:$PATH

If you want to also be able to use it in root do this also for the root user.

build_csfml.sh

This script installs the csfml library for Epitech.

clean

This script deletes temporary files for c and python and also .vscode folders.

clone

This script clones an epitech repo you need to give it the epitech email of the owner of the repo as the first agument and the repo name as the second argument as follow:

clone <[email protected]> <repo_name>

install_criterion.sh

This script installs the criterion library to allow you to make unit tests for your C and C++ programs.

push

This script adds all the files then commit them with the commit message you gave it in argument and finally pushes everything. If you use a Makefile it will do a make if the make fails it warns you and doesn't push but if you do not use any Makefile then you could use the <no_make> option. You need to use the script this way:

push <commit message> <no_make>

repo

This is a script to create an Epitech repo, to use it change the email adress by yours and the repo name is given as an argument. You need to use it this way:

repo <repo_name>

repo_init

This is a script to initialize a folder as a repository, to use it change the email address and the username by yours and you give the domain (epitech or github) as well as the repo name as arguments. You need to use it this way:

repo_init <domain> <repo_name>

run

This script runs the disk image of the moulinette at Epitech to allow you to verify if your program works with the versions of python of the moulinette for example. You first need to install docker then you need to start Docker with the following command:

sudo systemctl start docker

In the run script put the filepath of your project to be sure that docker will have the poject you want to test. Finally you just have to switch to root and run the script as follow:

sudo su
run

my_scripts's People

Contributors

breigner01 avatar

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.