Category Archives: Technical

“Rational” IT related entries.

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 , | Leave a 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

MODx Evolution: removing spam links

My friend’s MODx Evolution based website was hacked and he’s asked me to help him fix it. Every page of his website was “infected” with invisible links to viagra webshops. The code of those links was as follows: <div style=”position:absolute;left:-2311px;top:-2794px;”><a … Continue reading

Posted in Solutions | Tagged | 10 Comments

Concisest guide to setting up Time Machine server on Ubuntu Server 12.04, 14.04 & Debian

“This worked much better than more recently published guides.” How to quickly set up Time Machine server on Ubuntu Server 12.04/14.04/16.04 and Debian without using extra repositories, unnecessary packages and redundant configuration. Backing up tested on OS X 10.6 Snow Leopard, … Continue reading

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

Word 2011: paste unformatted (plain) text with Cmd+V shortcut

Update from 2018: for Word 2016 instructions, click here. The following video shows how to assign pasting as plain text (without formatting) to Cmd+V keyboard shortcut/hotkey in Microsoft Word 2011 for Mac OS X. Note that it is not the same … Continue reading

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