This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
#!/bin/bash | |
# | |
# This script rotates your aws access keys by creating | |
# a new one and deleting the older one. | |
# Requirements | |
# You must have a working aws cli configured already | |
# Run `aws configure` otherwise first before running this script. | |
# Installation & Usage |
find . -name "*.php" | while read line; do expand -t 4 $line > $line.new; mv $line.new $line; done |
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');
Those suck for maintenance and they're ugly.