Category: Computers and Technology Tips, software, instructions, and thoughts on all things tech.
Where to Eat? Custom maps of OpenStreetMap data
Creating a Drupal plugin system
New Curvature site
Several years after creating Curvature –my program that analyzes road-geometry and builds maps of twisty roads– it now has a dedicated site of its own: roadcurvature.com The new site is written to help non-techies understand how to use the curvature files with step-by-step instructions and a lot less jargon than…
Regex from the dark lagoon
As a software developer or system admin have you ever encountered regular expressions that are just a bit too hard to understand? Kind of frustrating, right? As a rule, regular expressions are often relatively easy to write, but pretty hard to read even if you know what they are supposed…
curvature.py — find the most twisty-turny roads around
Update October, 2020: Curvature is now available as an in-browser map. Update November, 2016: New dedicated Curvature site — roadcurvature.com Update October, 2013: Google Earth KML files generated by curvature.py are now available covering the entire world. In the process of taking up motorcycling this summer I also gained an…
River Levels Widget v.1.2.2 available
The RiverLevels widget provides an easy way to monitor the amount of water flowing in your favorite streams and rivers right from your Dashboard. The RiverLevels widget is of particular interest to whitewater kayakers and canoeists. Once any United States Geological Survey (USGS) stream-gauge station is selected, it is automatically…
Git Tip: Grouping feature-branch commits when merging.
Mirroring a Subversion repository on Github
BASH tip: Top web pages
Here is a quick command to generate a list of the top pages in the Apache web-server’s access log: gawk ‘{ print $7}’ /var/log/httpd/access_log | sort | uniq -c | sort -nr | head -n 20 Parts of the command explained: gawk ‘{ print $7}’ — return only the 7th…
Tips, software, instructions, and thoughts on all things tech.
Where to Eat? Custom maps of OpenStreetMap data
Creating a Drupal plugin system
New Curvature site
Several years after creating Curvature –my program that analyzes road-geometry and builds maps of twisty roads– it now has a dedicated site of its own: roadcurvature.com The new site is written to help non-techies understand how to use the curvature files with step-by-step instructions and a lot less jargon than…
Regex from the dark lagoon
As a software developer or system admin have you ever encountered regular expressions that are just a bit too hard to understand? Kind of frustrating, right? As a rule, regular expressions are often relatively easy to write, but pretty hard to read even if you know what they are supposed…
curvature.py — find the most twisty-turny roads around
Update October, 2020: Curvature is now available as an in-browser map. Update November, 2016: New dedicated Curvature site — roadcurvature.com Update October, 2013: Google Earth KML files generated by curvature.py are now available covering the entire world. In the process of taking up motorcycling this summer I also gained an…
River Levels Widget v.1.2.2 available
The RiverLevels widget provides an easy way to monitor the amount of water flowing in your favorite streams and rivers right from your Dashboard. The RiverLevels widget is of particular interest to whitewater kayakers and canoeists. Once any United States Geological Survey (USGS) stream-gauge station is selected, it is automatically…
Git Tip: Grouping feature-branch commits when merging.
Mirroring a Subversion repository on Github
BASH tip: Top web pages
Here is a quick command to generate a list of the top pages in the Apache web-server’s access log: gawk ‘{ print $7}’ /var/log/httpd/access_log | sort | uniq -c | sort -nr | head -n 20 Parts of the command explained: gawk ‘{ print $7}’ — return only the 7th…