Recent comments
- Dae on VS Code: bind one key to multiple commands without an extension
- Ashark on VS Code: bind one key to multiple commands without an extension
- Dae on Apache Guacamole: how to change the default URL path (/guacamole) to something else
- Deadpan10 on Apache Guacamole: how to change the default URL path (/guacamole) to something else
- Dae on Apache Guacamole: how to change the default URL path (/guacamole) to something else
Categories
Tags
- adobe cc
- apogee duet
- applescript
- bash
- bbedit
- bootcamp
- bsod
- canon
- caps lock
- datadog
- data storage
- directadmin
- django
- extjs
- gpu
- growl
- guacamole
- i18n
- illustrator
- iphone
- itunes
- javascript
- karabiner
- kaspersky internet security
- laserjet
- librsvg
- mac hardware
- mac mouse problems
- macos
- mac software
- modx
- mootools
- mouse
- nginx
- proxmox
- python
- skype
- starcraft 2
- steam
- textmate
- virtualization
- vscode
- windows
- windows server
- yum
Category Archives: How to’s
Postgres database on a separate drive
In psql: CREATE TABLESPACE mytablespace LOCATION ‘/Volumes/MyVolume/postgres’; CREATE DATABASE mydatabase TABLESPACE mytablespace; Kudos to GregHNZ for posting this on StackOverflow.
Django + Vue CLI + Webpack demo
How to wire up a Vue CLI app and Webpack to Django templates with routing, hot reload, code-splitting and without any extra plugins (a minimal demo + explanation).
VS Code: bind one key to multiple commands without an extension
People wanting to assign multiple commands to a single keybinding in VS Code typically use an extension, such as multi-command or macros. However, there is another, lesser known method to achieve this using built-in functionality of VS Code — user … Continue reading
Datadog: “could not retrieve nginx version info”
Apparently Datadog fails to retrieve nginx version information when server_tokens directive in nginx configuration is set to off.
Apache Guacamole: how to change the default URL path (/guacamole) to something else
Say you want to change Apache Guacamole’s URL from http://server:8080/guacamole to something like http://server:8080/my-hidden-guacamole-instance (or perhaps you’re using nginx to proxy requests to Guacamole / Tomcat and you don’t want any path at all). (See Docker image specific instructions in … Continue reading
Downgrade any Homebrew package easily
Update from 2020: the instructions for tesseract don’t work anymore, see comments from other users below the post. I’ll use Tesseract as an example, but the same logic can be applied to any other Homebrew package.
Make tojson filter in Jinja2 output Unicode instead of escape sequences
This wasn’t documented anywhere, but kudos to the Jinja2 devs for making this so easy to figure out from the source code.
Fixing Windows Update: what to do when wuauserv refuses to stop
Every now and then my virtualized Windows 10 would stuck at “Checking for updates” or “Downloading updates: 0%”. The solutions on various websites suggest stopping the related system services (net stop wuauserv and net stop bits) and trashing the contents … Continue reading
How to load VirtIO storage drivers in Windows System Restore
If you need to load VirtIO block storage driver (aka viostor) in Windows System Restore (aka Windows Recovery Mode) to recover your Windows virtual machine, take the following steps. (Also please read my note below).