Category Archives: Technical

“Rational” IT related entries.

Sample AppleScript + Bash uninstaller

Should you ever need to write an uninstaller for your macOS app, feel free to base it on our project—written entirely in AppleScript and Bash: https://github.com/SmoothMouse/Uninstaller

Posted in Releases | Tagged , , | Leave a comment

XQuartz.pkg stalls at “verifying” in El Capitan

I don’t know why OS X El Capitan sometimes fails to verify XQuartz 2.7.9 package (the process just gets stuck despite “Allow apps downloaded from anywhere” on “Enabled”). What I know, however, is that you can still install it via Terminal as easy … Continue reading

Posted in Solutions | Tagged | 16 Comments

Run Django dev server with Gulp

This is basically an extract from this excellent article by Caktus Group’s Calvin Spealman.

Posted in How to’s | Tagged , , | Leave a comment

Django: add i18n template tag to built-ins

Django 1.9 allows you to load template tags globally, i.e. without having to include {% load %} statements at the top of each template. The new option is called builtins and you can set it in your settings.py like so … Continue reading

Posted in Programming | Tagged | Leave a comment

librsvg 2.40.11 breaks resizing in rsvg-convert

rsvg-convert 2.40.11 calculates SVG bounds incorrectly resulting in an empty or cropped image. (See my comment in Homebrew repository and the bug report). 

Posted in Bugs | Tagged | 1 Comment

Magnific Popup + HTML5 History API (demo)

A demo of Magnific Popup with unique URLs and browser Back/Forward button support, using HTML5 History API via History.js. GitHub.

Posted in Programming | Tagged | Leave a comment

Watermark images like a pro using Python + Wand + librsvg

This is a Python 2.7 code recipe for applying a semi-transparent vector (SVG) watermark with overlay blending like so: What’s special about it:

Posted in Programming | Tagged , | 4 Comments

Using Python’s urllib2 or Requests with a SOCKS5 proxy

Just a Python 2.7 code sample showing how to make requests using Python’s urllib2 or Requests through a SOCKS proxy.

Posted in Programming | Tagged | 2 Comments

Resuming link between Apogee Duet and keyboard volume controls

Oftentimes when I wake up my MBP from sleep mode or reconnect the Thunderbolt hub, Apogee Duet stops responding to keyboard sound volume controls. When it happens, I can still change Duet’s volume from Maestro or Audio MIDI Setup.app, just not using the keyboard … Continue reading

Posted in Solutions | Tagged , | 2 Comments

Add a printer via command-line in OS X

Goal: add a network printer via Remote Desktop’s command-line to numerous Macs.

Posted in How to’s | Tagged , | 4 Comments