Code Monkey home page Code Monkey logo

bash-helpers's Introduction

bash-helpers

Installation

Clone the repository on your computer:

mkdir -p ~/.local
cd ~/.local
git clone [email protected]:aspirity-ru/bash-helpers.git

Add path of clonned repository to your PATH environment variable:

cd ~/.local/bash-helpers
export PATH=$PWD:$PATH

Commands above register scripts only for your current bash session. For permanent regstration run following commands:

cd ~/.local/bash-helpers
echo $'\n'PATH=\"$PWD:\$PATH\" >> ~/.bashrc

Usage

Misc

Docker

Follow Docker installation steps for ubuntu and install the latest version of Docker Compose:

docker-install

NVM and NodeJS

Install the latest version of NVM and the latest LTS version of NodeJS:

nvm-install

Applications

Download and unpack application into ~/.apps/appName:

install-app appName tarFlags downloadUrl 

Known apps

install-app telegram xf  "https://telegram.org/dl/desktop/linux"
install-app webstorm xf  "https://data.services.jetbrains.com/products/download?code=WS&platform=linux"
install-app postman  xfz "https://dl.pstmn.io/download/latest/linux64"

Packages

Download and install package:

install-app pkgName downloadUrl

Known packages

install-package chrome "https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"

Git

Recheckout branch

Remove local copy of remote branch and checkout it again

git recheckout <branch> [--force]

Gone upstream

You have developed a feature, then pushed your branch to a remote. Then it passed a code review and was merged and removed from the remote. And now you have some local branch with gone upstream.

To list all such branches run:

git gone

To remove them run:

git gone rm

bash-helpers's People

Contributors

zaverden avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Anton Tarasov 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.