Extension talk:SyntaxHighlight GeSHi – MediaWiki

by on Dec.02, 2010, under Programming, Technology

Alternative Hook To “syntaxhighlight”

I’m using Mediawiki and this extension for a code snippet repository and it’s working great. I am finding typing “syntaxhighlight” all the time to be a little cumbersome, so I added the following to the “SyntaxHighlight_GeSHi.php” in the “efSyntaxHighlight_GeSHiSetup” function:

$parser->setHook( 'sh', array( 'SyntaxHighlight_GeSHi', 'parserHook' ) );

Now I can just use “sh” in addition to “syntaxhighlight”.

via Extension talk:SyntaxHighlight GeSHi – MediaWiki.

Leave a Comment :, , , more...

by on Nov.02, 2010, under Technology

Leave a Comment :, more...

Get Foursquare History In Google Calendar

by on Oct.24, 2010, under Technology

I use Google Calendar and have become a big fan of Foursquare in the last few months.

I just learn Foursquare has a feeds section in their website:

There is a link to retrieve your check-in history in the ICS format.  Right-click on the “In ICS” link and select “Copy link address”.

In Google Calendar, under Other Calendars on the left, click Add and select Add by URL.  Paste in the copied URL and click Add to Calendar.  Your Foursquare check-in’s will now appear in your calendar.

Leave a Comment :, , , more...

Apple Still Maintaining Their Illusion of Elitism

by on Oct.20, 2010, under Technology

"Streaming video requires Safari 4 or 5 on Mac OS X Snow Leopard or Safari on iOS 3 or later." -- Either you use our toys or you can't play in the sandbox.

Leave a Comment :, , more...

Using WallWatcher with DD-WRT

by on Oct.13, 2010, under Technology

I just installed WallWatcher on my Linksys54G router running DD-WRT.

I recommend setting up static IP address for MAC address the computer you’re installing DD-WRT on, if you haven’t already.

Settings needed in DD-WRT:

Services tab, Services sub-tab:

SNMP section:

SNMP: Enable
Location: Unknown
Contact: root
Name: dd-wrt
RO Community: public
RW Community: private

System Log section:

Syslogd: Enable
Remote Server: [IP address of the computer you’re installing WallWatcher on]

Security tab, Firewall sub-tab:

Log Management section:

Log: Enable
Log Level: High

Settings needed in WallWatcher Options:

Router tab:

Router: DD-WRT

Bandwidth tab:

Collect bandwidth usage: checked
From: snmp
Every: 30 sec (you can change this if you’d like)

SNMP OID’s section:

Community: public


8 Comments :, , , , more...

GPS Location in Photos

by on Oct.12, 2010, under Technology

Shafer Corn Maze, October 2010 - Viewed in Picasa

I’ve turned on “Store Location” in the camera settings of my Android phone.  It seems like a neat idea: be able to keep track which restaurant a friend’s birthday was at, or that great place we sat for fireworks last Fourth of July.

I guess it didn’t initially occur to me the privacy implications of sharing these pictures on some social media websites.  I tested out the availability of the location information on photos shared on Facebook and Twitter (via TwitPic).  These services both have some kind of resizing action performed on them which strips out this (and other) metadata from the file.  Tumblr however is one I’ve discovered which doesn’t do anything to the photo.

On the one hand this is good: you get to have your high-res photos unaltered on your Tumblr blog, and possibly you could update your theme to use this data some how.  For the average user however, this could be an easy way for someone to find out where you live.

Leave a Comment :, , , , , more...

Microsoft Access: “Make-Table Query” Force Memo Fields

by on Oct.05, 2010, under Programming

Unfortunately it looks like there isn’t a way to force Access to make a table with Memo data type fields instead of Text.  A functional work around is:

  1. Run the Make-Table query
  2. Edit the table in Design View
  3. Change the Text field to Memo
  4. Change the Make-Table query to an Append query
  5. Create a Delete query
  6. Run the new Append query


    3 Comments : more...