-
Bash script to bulk-ban IP addresses found by WordFence (using csf, geoiplookup)
We currently use the excellent WordFence plugin on almost all of the WordPress installations we host. Once a week or so, WordFence will email a list of IP addresses it’s detected that are attacking a given site — i.e. they’re trying to brute-force something on the server, guess passwords, take advantage of possible software vulnerabilities.…
-
Very cool Moves app visualization
If you use the neat Moves app (it tracks walks, runs, bicycle rides, transportation, all automatically) this is a very cool visualization tool to see your history: Move-o-Scope Here’s my accumulated data so far: Link to share this: https://gabrielserafini.com/blog/2014/05/14/very-cool-moves-app-visualization/
-
Really useful batch geocoding page
-
How to locate your php.ini file
-
How to Unix tip: Find and remove files older than a certain time period
If you find a directory such as /tmp/ filling up with old and uneeded files, here’s a quick tip for finding and removing what you don’t need anymore. Note that the delete function WILL remove everything it finds, so please understand exactly what it is you are doing here before running that command. Command to…
-
WordPress 2.9.1 is now out
-
How to fix 301 error when importing blog posts including images from a WordPress.com blog into a new WordPress.org blog
The current import script (as of WordPress 2.8.6) is broken when it comes to successfully importing images from WordPress.com. The error you see is something like Remote file error: Remote file returned error response 301 Moved Permanently Fixing this involves adding a couple of lines to a core WordPress file. Hopefully a future version of…
-
Vogon Poetry is now available in the App Store!
-
How to: Get rid of widows in your WordPress posts with Widon’t plugin
I was just working on making some updates to the backend WordPress code for the Principia Pilot website (http://principiapilot.org/) and noticed widows in some of the stories. Widows are the typographic term for a single word on a line at the end of a paragraph. I thought about the solution to this problem (basically add…
-
How to: Automatically add a default set of Custom Fields to each post in WordPress
