Category Archives: Technical

“Rational” IT related entries.

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 | 3 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 , | 13 Comments

Относительная дата по-русски в Python и Django

Под “относительной датой” я подразумеваю вывод даты следующим образом: 5 минут назад, вчера, 7 дней назад, завтра и т.д. (Не уверен, что это правильный термин, но ничего лучше в голову не приходит).

Posted in Programming, Посты на русском | Tagged , , | Leave a comment

Fix Color Picker in TextMate 2 under OS X Mavericks

To fix the Color Picker of TextMate 2 under OS X Mavericks (10.9), do the following: open ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb, near lines 74-75 replace “AppleScript Runner” with “System Events”. That’s it.

Posted in Solutions | Tagged | Leave a comment

Xcode 4.6 stalls at “Creating universal binary” in OS X 10.9

If you’ve just upgraded to OS X 10.9 “Mavericks”, but chose to stay with good ol’ Xcode 4.6.3, it may stall at “Creating universal binary” when building projects.

Posted in Solutions | Tagged | 5 Comments

Paste text even when prohibited in macOS (password dialogs etc)

I wrote a tiny AppleScript application which pastes text into fields which do not allow Cmd+V pasting (like password prompts). This may come in handy when working through VNC/remote desktop or virtualization software (such as Apple Screen Sharing, Parallels Desktop … Continue reading

Posted in Releases | Tagged | 81 Comments

Forcing ReadyNAS to update via SSH when all else fails

One of our ReadyNAS Pro 6 refused to update its firmware (called RAIDiator) to 4.2.24 (the latest as of writing) no matter how I tried. Neither local or automatic updates had any success; reinstalling the OS through the boot menu … Continue reading

Posted in Solutions | Tagged , | 1 Comment

Draw polylines on HTML5 canvas

jquery-polyline — a jQuery UI widget for drawing polylines. See it in action. Written by Victor Novikov (@Forkest) for Cyberic. License: MIT license.

Posted in Releases | Tagged | Leave a comment