/explore
|
You are here |
thepugautomatic.com | ||
| | | | |
purefun.dev
When in doubt, always consider adding set -e and cd $(dirname $0) at the beginning of a shellscript. Why? Let's find out: When to use cd $(dirname $0) $0 is the currently executing script, so what the command does is to change current directory into the same directory as where the script resides. If you don't do this, any references to other files next to your script will be incorrect if you run the script from another directory. |
|
| | | | | ||
| | | | |
collin.blog
I wrote myself this small template as a starting place for when I'm writing shell scripts. I just wanted something basic with enough structure to remind me how I like to do things. I thought maybe it would be helpful for other people who don't write shell scripts too often but want to them to... |
|
| | | | | ||
| | | | |
seanmcp.com
Writing a script to read the package.json for you |
|
| | | | | ||
| | | | |
liverpoolcultureblog.co.uk
There's nothing much to say about the big wheel in Liverpool One's Chavasse Park, so I did a little video during a ride on it. |
|
| | | |||