Archive for July, 2008
SynergyKM (mac) and Synergy
after a short bit of google digging in the hunt for something cool than buying any additional hardware (aka a multi-platform dual-dvi usb KVMP). Ideally I’d still like to utilize 3 monitors total without the need to lose screen real estate of my 3rd monitor, currently devoted only to the pc so that it doesn’t ever take away from stuff i have up on my powermac - the long story short is this:
if you want to control multiple machines in one room, mac os_x/xp or vista/nerdy linux flavors/ubuntu - here’s the rig to use.
Synergy2 (an open-source KM controller server/client) and/or SynergyKM (an os x GUI wrapper (cocoa) for Synergy2 to avoid compiling, tidied nicely into a pretty system preference pane)
i also tested QuickSynergy, but i like the pref-pane handiness and configuration options of SynergyKM a bit better.
Results, it worked - tested running the SynergyKM server on my macbook pro and Synergy2 1.3.1 client running on a dell pc with vista. whooohooo! i, yet again, have managed to make some internet stuff work that most web dorks moved on 6 months to a year ago. i’ll take it, i’m drinking beer!
Here’s a link to a jing swf of the active log, and how the only funk really was that the mac cursor didn’t disappear when i switched to the pc, but working nonetheless. -> 2008-07-29-synergykm
good shit for the um, design-script-oh-pseudo-grammer-ish-d00d? yis.
screen cap below, too. mobile friendly, that’s cool too i hear.. ok, enough is enough. i heart the intertubes.
Stop ‘n’ Shop Hermits…
the outer banks, nc. it is my ex-home and the epicenter of dark comedy, delivered in a seasonal spirited fashion. i rather enjoyed (another weekend) packing boxes with wifey and seeing good friends, etc.
i got quite a kick out of this pretty awesome quote from a surfer-dude stop’n’shop employee today when (for whatever strange reason this came up in conversation) describing the smell of dead hermit crabs and explaining how its the storewide notification signal when its time to dispose of one.
“damn, did i just say all that shit about those nasty fuckers?!? good call getting off the beach man. god i hate my life i wanna kill myself.”
wicked, mate. that makes me smile.
Little Stupid Wayne
Please stop the madness. He needn’t be in EVERY f’ing hip hop song out. STOP THE MADNESS with wee-taw-ded wee-zee.
Mind-tendo what?!! Wii 2.0, now with Mind Control
Where’s my jetpack? Not far away. The Nintendo Wii 2.0 will be the first large-scale commercial console gaming platform to - no shit here - incorporate a mind-controlled input device. F’ing awesome.
Importing (a LOT of) HTML Documents with MODx CMS/CMF
Yesterday was the first time in about a year and a half of using MODx CMS/CMF that I had a need for to use the Import HTML function (in the Manager, via Tools -> Import HTML). I was not only impressed by how fast it performed with a large batch of HTML files, but ecstatic with the yield of the function’s end results.
The task at hand was like this: Port an older, hand-coded HTML site over to a dynamic content management system platform. Ideally without a ton of data entry (by an error-prone human anyway) involved in the process, since the project’s scope didn’t account for that. It did however account for all the original primary body and page title content (with its original markup) needed to remain intact for sake of natural SEO positioning the site’s content had accumulated over the years.
220 Pages of HTML Content.
Um, no. I was pretty much gonna have to enter the data myself or find some mysql database import method that I preferred not have to Google around for another “solution” (hehe).
Once I’d given the Import HTML feature a test run on a fresh dev install and gotten good results, I was 75% finished with the task in under an hour.
All that was left was to prep the HTML pages by batch removing unwanted code (like navigation and header/footer/callout/etc).
This went like this (on a Mac, Windows users could easily follow suit with some Windows-ey yucky stuff).
- Grab all the HTML files from the original webserver (since I didn’t have FTP access) using the CocoaWget (a Mac/Linux GUI for WGET)
- Create an OS X Automator workflow to open all HTML files with Coda, Edit -> Find, type the opening selection and closing selection tags to remove, pausing for an insertion of a Wildcard symbol, and replacing with an HTML comment that just said <pre><!– Welcome to your new home, MODx. –></pre> !!bonus -> NO REGEX UGLY FUNK REQUIRED !!
- Voila, all 220 HTML files successfully imported in 0.21 seconds as MODx documents with the page title as the document title and anything else within the html body tag as into the MODx CONTENT system TV.


