Recent comments
- Lobezno on Forcing ReadyNAS to update via SSH when all else fails
- dark168 on “Building boot caches” error when changing startup disk
- Guac User on Guacamole 1.4: “Creation of WebSocket tunnel to guacd failed”
- Niall on Guacamole 1.4: “Creation of WebSocket tunnel to guacd failed”
- gp on Downgrade any Homebrew package easily
Categories
Tags
- apogee duet
- applescript
- bash
- caps lock
- datadog
- data storage
- django
- egpu
- extjs
- gpu
- growl
- guacamole
- gulp
- i18n
- illustrator
- javascript
- jinja2
- jquery
- laserjet
- librsvg
- mac administration
- mac hardware
- mac mouse problems
- macos
- mac software
- mdadm
- modx
- nginx
- postgres
- proxmox
- python
- raid
- readynas
- starcraft 2
- synology
- textmate
- time machine
- virtualization
- vite
- vscode
- vue.js
- windows
- windows server
- xcode
- zola
Category Archives: Programming
Permission error of AppleScript in iTunes
I was getting a permission error (code -54) when trying to set an id3 tag of a track using AppleScript. The solution was to add a delay between each operation: delay 1 Note that the track will remain “locked” until … Continue reading
Launch character palette using AppleScript in Snow Leopard
tell application “CharacterPalette” to activate There is an issue though: the new character palette doesn’t get “bound” to any of the applications, therefore double-clicking a symbol doesn’t paste it automatically to the text field. You’d have to drag-and-drop. I’m posting … Continue reading
Restrict page access to authorized MODx managers only
A while ago I needed to create a private zone with documentation, accessible only by the MODx managers (I’m talking about MODx Evolution here). In order to restrict access I wrote a simple snippet, which you can now use as … Continue reading
Add an <option> to a <select> using Mootools
var newoption = new Option(“option html”, “option value”); try { $(‘myselect’).add(newoption, null); } catch (err) { $(‘myselect’).add(newoption); } To select the newly created option: newoption.setProperty(‘selected’, ‘selected’);