Super hacky, original method
- Browser with dev tools (much easier than navigating source)
aria2cfor batch downloading
- text editor with f&r
- Go to purchase page.
|# Review github PRs.|
|# This script makes reviewing github PRs simple. Supply the requester's branch|
|# in the form it is presented at the top of the PR on github (i.e. user:branch).|
|# This adds:|
|# - a new remote corresponding to the user, with only the PR branch|
|# - a new local branch (unless a branch with that name exists already, in|
Ever been faced with an old website that needs an upgrade best done incrementally? At http://www.parsonsmatt.org/2016/06/24/take_over_an_api_with_servant.html, Matt Parsons describes an approach to incrementally take over an old API using Servant and a reverse proxy, which is worth a read!
index.php route with all the pages at
index.php?page=<PAGE>, instead of using path pieces separated by solidus.
Matt’s approach works in this case too, and we don’t even need to change the haskell server he supplies! We simply change how we use the reverse proxy and add some url rewriting middleware.
This example copies Matt’s woofing and meowing server, for simplicity of comparison.
WARNING: You must copy the commands from the
raw version of this document. The markdown converter doesn’t like it…
Do you have a file with weird encoding errors? Perhaps instead of
’ you have
á^€™. The cause is a mix up between latin1 (usually — and especially if mysql is involved — the windows cp1252 encoding) and utf8.
Many solutions drop bytes. This has the advantage that you can see every change that is made, as it happens, should you wish.
It requires the file to be encoded in ISO 8859–1.