Explore >> Select a destination


You are here

blog.dataumbrella.org
| | citizen428.net
2.8 parsecs away

Travel
| | Yesterday I ended up writing an impromptu guide to Bash error handling on a PR, so I decided to polish it a bit and turn it into an actual post. The goal: whenever our release script encounters an error, send a notification to a Slack channel. We won't look into the latter part in this post, as it was handled by some Ruby code using the slack-notifier gem. Instead we'll look into what was necessary to make this work in Bash.
| | betterdev.blog
2.1 parsecs away

Travel
| | A minimal template for a safe Bash script. It includes error handling, parameter parsing, and cleanup.
| | mywiki.wooledge.org
6.4 parsecs away

Travel
| |
| | logr.cogley.info
38.8 parsecs away

Travel
| Many static site generators like Hugo have a built in dev web server. If you are just building some html with css, and need a simple solution to serve the files from any folder, you have a few solutions. See a couple of options: Node.js users can install and run http-server: 1 2 3 4 npm install -g http-server cd /path/to/my/working/folder http-server --help http-server Visit http://localhost:8080 and look at the help to change the port.