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
- canon
- caps lock
- datadog
- data storage
- davinci resolve
- directadmin
- django
- egpu
- extjs
- gpu
- growl
- guacamole
- gulp
- i18n
- illustrator
- itunes
- javascript
- jinja2
- kerio connect
- laserjet
- librsvg
- mac hardware
- mac mouse problems
- macos
- mac software
- mdadm
- modx
- nginx
- proxmox
- python
- raid
- readynas
- starcraft 2
- synology
- textmate
- virtualization
- vlc
- vscode
- windows
- windows server
- xcode
Category Archives: Technical
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’);