First, let's take a look at ALL the node_modules we have in a directory, before we actually start deleting them!
cd documents
find . -name "node_modules" -type d -prune -print | xargs du -chs
| #!/usr/bin/env bash | |
| # | |
| # USAGE: | |
| # sudo ./add_swap.sh 8G | |
| # | |
| # SOURCE: | |
| # https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-18-04/ | |
| # | |
| fallocate -l $1 /swapfile | |
| chmod 600 /swapfile |
| #!/bin/sh | |
| # Install node and npm via nvm - https://github.com/nvm-sh/nvm | |
| # Run this script like - bash script-name.sh | |
| # Install nvm | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v$INSTALL_NVM_VER/install.sh | bash | |
| # Make nvm command available to terminal | |
| source ~/.nvm/nvm.sh |
| #!/bin/sh | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| lsb_release -a | |
| #Install NGINX | |
| sudo apt-get install nginx |
| # Install Apache to check from web browser using 0.0.0.0 or localhost, check version, start,stop & restart Apache into Ubuntu | |
| sudo apt update | |
| sudo apt upgrade | |
| sudo apt install apache2 | |
| apache2 -v | |
| sudo service apache2 start | |
| sudo systemctl enable apache2 | |
| sudo service apache2 stop | |
| sudo service apache2 start | |
| sudo service apache2 restart |
| #!/bin/sh | |
| ####################################### | |
| # Bash script to install an AMP stack and PHPMyAdmin plus tweaks. For Debian based systems. | |
| # Written by @AamnahAkram from http://aamnah.com | |
| # In case of any errors (e.g. MySQL) just re-run the script. Nothing will be re-installed except for the packages with errors. | |
| ####################################### | |
| #COLORS |
| #!/bin/bash | |
| # Create ftp user, create folders and set permissions | |
| # Shamelessly coppied from http://dev.n0ise.net/2012/09/vsftpd-add-user-automation-bash-script/ | |
| # Usage: ./create_ftp_user.sh [username] "[password]" | |
| # | |
| NAME=$1 | |
| PASS=$2 |
If Tony Stark had a Wordpress blog
Forked from Hugo Darby-Brown's Pen Iron Man Login Form.
A Pen by Alok Rajasukumaran on CodePen.
simple from / to date picker with styled calendar
Forked from Andrew Pougher's Pen Jquery UI DatePicker Dark Style.
A Pen by Alok Rajasukumaran on CodePen.