These git hooks runs bundle or npm install automatically whenever you:
git checkouta new branch with a different Gemfile or package.json.git pulla change to Gemfile or package.json.
cd awesome_git_repo
| # 1) Create your private key (any password will do, we remove it below) | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |
| # Install ARCH Linux with encrypted file-system and UEFI | |
| # The official installation guide (https://wiki.archlinux.org/index.php/Installation_Guide) contains a more verbose description. | |
| # Download the archiso image from https://www.archlinux.org/ | |
| # Copy to a usb-drive | |
| dd if=archlinux.img of=/dev/sdX bs=16M && sync # on linux | |
| # Boot from the usb. If the usb fails to boot, make sure that secure boot is disabled in the BIOS configuration. | |
| # Set swedish keymap |
| #!/bin/bash | |
| ########################################################################### | |
| # Usage: | |
| # pre-compress-web-assets [.|folder_name] | |
| # | |
| # This script will recursively look for the files in the $ext variable | |
| # and compress/re-compress them. | |
| # | |
| # By default it will look into the current working folder, |