This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WARNING: You have to clear the git cache somtimes for reflecting the .gitignore in you project | |
# For that I have cleared the full repo git cache with "git rm -r --cached ." | |
# If you like you can clear the cache for indujual folder after adding the .gitignore file. | |
# REFERENCE: Laravel official repo with approriate version | |
# https://github.com/laravel/laravel/tree/5.5 | |
mkdir -p storage # create logs directory if not exist | |
cd storage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: Create .env file and configure with proper credentials appropriate for your environment | |
ENV=.env | |
NPM=package.json | |
COMPOSER=composer.json | |
if [ ! -f "$ENV" ]; then | |
cp .env.example .env | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
man | |
cd | |
clear | |
mkdir | |
cat | |
touch | |
ls | |
mv | |
cp | |
rm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#src: https://gist.github.com/vnoitkumar/cdb31ea6b245e2d7b836c5be607a2030 | |
#Ref: https://marmelab.com/blog/2015/12/17/react-directory-structure.html | |
read -p "Enter the Module name (eg: UserProfile): " moduleName | |
if [ -z "$moduleName" ]; then | |
echo "Module Name required." | |
exit | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-05-08T07:45:20.279Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
read -p "Enter the app name : " appName | |
if [ -z "$appName" ]; then | |
echo "App Name required." | |
exit | |
fi | |
ng new $appName | |
cd $appName |