Christopher's Broom Cupboard Rotating Header Image

Posts under ‘Quick Tips’

Tiplet: no SNMP replies? Fix broken SNMP responses in Windows Server 2008, Windows 8

I encountered a weird problem on a Windows Server 2008 R2 install which had dual NICs on the same physical network (different subnets, DNS and gateways) – you could interrogate its SNMP agent and you wouldn’t get a response even though the right community was set and you might initially see it working properly! This […]

Tiplet: monitor realtime web site traffic on a Linux server with tmux and tail

I run a VPS which has numerous sites on it. Whilst I was trying to pin down the root cause of sporadic hard lockups and runaway memory usage, I settled on a somewhat inefficient (yet very handy) line of code which I run inside a tmux session over a PuTTY SSH connection (two other panes […]

Tiplet: one-click Lock Screen for OS X

It must be in the name… Chris Cook devised an excellent little (Automator-based) scriptlet, self-contained as an .app Obviously (obviously, natch) if you hit Command-Option-Q for Quick User Switch – which is one HELL of a difficult keyboard combo if you can’t get your thumb to do the double keypress – plus it will close […]

Tiplet: disabling TinyMCE’s mangling of YouTube embed code

I’ve been hacking an install of phpns to make it work a little more neatly with my company’s web site (which is a real Frankensite and in BAD need of a rip-and-replace). Anyway, if you use phpns – or any CMS which uses TinyMCE for WYSIWYG text entry / editing – you’ll find that if […]

Tiplet: Recovering a ‘ghost’ domain in DirectAdmin

I added a domain name to an account on one of my DirectAdmin-managed servers yesterday, and when I came to tweak some of its settings a few hours later it had mysteriously disappeared from the domains list in the control panel! (I think this was due to a dirty restart of the core DirectAdmin program, […]