Skip to content

Instantly share code, notes, and snippets.

View hamid-ne's full-sized avatar

Hamid Nasr hamid-ne

View GitHub Profile

install comoser for ubuntu

  1. sudo apt-get update
  2. sudo apt-get install curl
  3. sudo curl -s https://getcomposer.org/installer | php
  4. sudo mv composer.phar /usr/local/bin/composer

1. Rename branch locally

git branch -m old_branch new_branch

2. Delete the old branch

git push origin :old_branch

3. Push the new branch, set local branch to track the new remote

git push --set-upstream origin new_branch

@hamid-ne
hamid-ne / Boostrap 4 RTL for Laravel.md
Last active July 8, 2021 19:12
Install Boostrap 4 RTL for Laravel

Install Boostrap 4 RTL for Laravel

  1. npm uninstall --save-dev bootstrap-sass

  2. npm install --save-dev rtl-bootstrap popper.js

  3. Find In 'resources/assets/js/bootstrap.js' and Replace