JavaScript appears to be disabled. We recommend you enable JavaScript while visiting this site.

(All original content on this site is licensed under the Creative Commons License Attribution-Noncommercial-No Derivative Works 3.0.)

Twitter hashtag - #walkingmusic

In the spirit of Rob Lumley (rmlumley), who created #cubemusic, and after a great walk today, I've created an original hashtag: #walkingmusic.

For all those days I go for a walk (which I hope to be every Friday afternoon, at least), I'll be noting afterwards what music I listened to on my walk. It's very similar to #cubemusic, but not as likely to get you in trouble (even though I would assume there would be more than that to it). ;)

I use Twitter for the most simple of posts, but if you'd like to follow me ...

Tags:

Categories: Internet, StrivingLife

(All original content on this site is licensed under the Creative Commons License Attribution-Noncommercial-No Derivative Works 3.0.)

My first, working, piece of jQuery

This is the first piece of jQuery that I wrote, for production use, that works exactly as I'd like it to. Some code has been changed.

try {
	$(document).ready(function(){
		$('div#headerLogin')
			.prepend($(document.createElement('div'))
			.addClass('headerLoggedIn')
			.append('Logged in as: <span><cfoutput>#query.displayName#</cfoutput></span> <span><a href="/logout/">logout</a></span>')
		);
		$('div.headerLoggedIn')
			.after('<span>Hello<cfif IsDefined("query.first_name") AND Trim(query.first_name) NEQ "">, <cfoutput>#query.first_name#</cfoutput></cfif></span>');
	});
} catch (ex) {}

It's for a site that runs ColdFusion, hence the CF tags.

Basically it finds the div with an id of headerLogin and adds to that a new div, with a class and some text. Then additional text is added to that new div.

Pretty simple, but ...

Tags:

Categories: StrivingLife

(All original content on this site is licensed under the Creative Commons License Attribution-Noncommercial-No Derivative Works 3.0.)

Passing the time online, reading the news

Often times, like this morning, I've got anywhere between 5 to 60 minutes of time to kill.

It doesn't make sense to do anything truly productive, so I end up visiting a number of sites. techmeme.com, dailyrotation.com, news.google.com, etcetera. Then I get desperate and visit weather.gov.

However, once I've visited these, I run low on ideas of other sites, like these, that I can visit.

Any recommendations on sites that combine news, from a number of different sources, that is also interesting? I'm not looking for something like smashingmagazine.com, just short and to the point. And while I will visit YouTube to kill time, I'd rather do something semi-productive.

And yes, this is a filler post, of sorts.

Tags:

Categories: Internet, StrivingLife