Docker Desktop is an extremely useful way of getting started with Docker, but the Windows client uses WSL and assumes C:
has an infinite amount of space. Fortunately it’s not too difficult to change where it stores its stuff.
Docker Desktop is an extremely useful way of getting started with Docker, but the Windows client uses WSL and assumes C:
has an infinite amount of space. Fortunately it’s not too difficult to change where it stores its stuff.
I was setting up a development environment for making WordPress plugins. I’m using a docker image to run WordPress, and I wanted the plugin files to be easily editable on the host machine. I’m lazy, and I don’t want any kind of “upload” or “copy into WordPress” step to be necessary. I want to “Save” in my editor and refresh the browser.
This was a bit more complicated to set up than I expected, here’s the steps I used:
It’s not much to look at now, but things are moving and they shall be whacked.
View Image →
x86 programs run in Windows Vista/7/8 might get detected as needing UAC permissions. If they don’t actually need them, it’s possible to override the detection so it stop asking.
The samples in the WiX tutorial contain many Id='YOURGUID-86C7-4D14-AEC0-86416A69ABDE' placeholders that need to be replaced with your own GUIDs before they can be used. It’s tedious to do this manually a dozen times for each file, so I automated it in Emacs with the lisp below:
Interpolate – Unify Community Wiki.
I find myself interpolating things a lot, and the “there has to be a better way” itch kept nagging me. I Found this library, which makes it easy to various kinds of interpolations – linear, quadratic, cubic, exponential, etc.
This is the final part in a four part series, describing the evolution of the aiming mechanic in Minecart Basketball.
This part take the rim/shot comparison used in the previous entry and moves it from down on the ground up to the level of the rim.
This is third in a four part series, describing the evolution of the aiming mechanic in Minecart Basketball.
Continuing from the previous setup in part two, when the prediction ends before colliding with the ground, it now draws a gray line straight down to the ground. It also detect collision with the objects like the backboard & rim, and stops the prediction at that point and draws a line down to the ground.
continue reading →
This is second in a four part series, describing the evolution of the aiming mechanic in Minecart Basketball.
This is the second iteration of the aiming mechanic introduced in part one. There are now walls and rims to interact with. There’s still no sound, and there’s no detection of successful shots vs misses.