Friday, 31 December 2010

Happy New Year

Happy New Year, from the Worldbaseball.ca team.
2011

Tuesday, 13 July 2010

custombuttons2

1.Custom Buttons2 | Home of the Custom Buttons2 Extension for Mozilla Software [Internet].  [cited 2010 Jul 13];Available from: http://custombuttons2.com/

edit icon

Above is a firefox button I created with a firefox add-on named Custombuttons2. I made the button for quick editing on our CMS. When I am navigating a content page I can just click this button and immediately be directed to edit mode.

Here is the code to embed in your own button (once you've added the add-on) that will do just that:

/*Code*/
getBrowser().contentWindow.location.assign('http://C.M.S.IP/Page'
+window.content.wrappedJSObject.ipCurrentPageDefID+
'.aspx?PageMode=Edit');
/*Code: be advised there are no line-breaks in the above; replace C.M.S.IP*/

Of course you will need credentials to login and permissions to edit the page you are on.

Thursday, 25 March 2010

March update

Well baby is here, and life is good. My wife and I are some of the lucky ones, as our baby is sleeping through the nights. Obviously this can change, so I'm counting my lucky stars.

Whats coming up?

Drop down sub-content/content templates, CMS compatible javascript with built-in progressive enhancement, brought to you by jquery(ui, cycle, filament group), and yaml.de.
Read more on this issue between graceful degradation and progressive enhancement here.

Also, a new header will be gracing our presence, showing campuses, learning centers, and bread crumbs that KG had uncovered.

If I could see the future I'd probably see lots of testing ahead.

Thursday, 29 October 2009

Templates, CNC Connect, Fitness, Baby

This month I hope to have completed a flexible layout website template which is based on YUI Grids, and JQuery UI. This ensures compatibility which many 'A' grade browsers. The only catch is I'll have to look for some degradable javascript to allow for the best user experience. Also, I'm going to be incorporating the WAI-ARIA roles for accessibility.

Flexible or Static? Please post your opinion below!

The great thing about YUI Grids is inheritance, which means we can incorporate the same structures within the template via wysiwyg editor snippets. That's the idea anyway: trying to get away from using tables for HTML layout. I was thinking that the div structure might have to have an overflow:hidden style added to prevent crazy un-formatted pictures from over-expanding.

Is this creating more trouble than its worth? Please post your opinion below!

Also, I will be updating Collegue (CNCConnect) -- I find that system so confusing as the main navigation is on the bottom and not well highlighted. If you take a look at the viewing pattern map below, you'll see why its a bad place to put the main navigation.


(http://poynterextra.org/eyetrack2004/viewing.htm)

Here is a great two-tone .gif image that Jordan created, and after saving for web as a gif, 8 colours, I converted it into a 4.6kB file. Converting these types of images really keep a flash file small. This is part of the fitness.cnc.bc.ca initiative, a collaboration of the Yellowhead Rotary Club and CNC.



Baby is coming in an ETA of 3 weeks, give or take some. We're getting both excited and nervous.

On other topics, I'm on the lookout for a Google Wave invitation.

Tuesday, 13 October 2009

DDClient | Namecheap

Ok, so having a baby means tightening the belt, and to do this I figured I could save some money by getting rid of some static IP's at home. I have a few domain names registered through Namecheap.com, and their A records are pointed at my home server. On my home server I am running a Linux kernal 2.6 + Debian Etch, BubbaTwo server, a small footprint device made in Sweden.

Namecheap.com provides Dynamic DNS, and has support via linux software ddclient, which updates your A record at Namecheap.com with your current IP address.

To update multiple domains, you will need ddclient 3.8 + patch. I found a great resource here.

Very cool!

Here is a sample from my ddclient.conf which may help you get started:

protocol=namecheap
server=dynamicdns.park-your-domain.com
login=domain.com
password=namecheap_password_for_dynamic_dns
@.
domain.com, www.domain.com

Tuesday, 18 August 2009

fscommand, and OSX projectors

Recently I've made a multi-os flash projector project. This can be very frustrating. Here are some tips to help anyone else out there.

fscommand('exec','myapp.app')

To execute external applications in CS3, AS2 I found this to be the best way. It is noteworthy that you cannot include a path, and must have myapp.app in the root application folder of the projector, within a folder called fscommand.

To procure myapp.app, you must compile a run-only applescript 'application' in the mac environment, and make sure to append .app at the end of it.

Here is some code to differentiate operating systems.
BTW, make sure you upgrade to at least 9.0.3 if using CS3.

on (release) {
    var os:String = System.capabilities.os.substr(0, 3);
    if (os == "Win") {
        fscommand("exec", "open_pdf.bat");
    } else {
        fscommand("exec", "open_pdf.app");
    }
}

Love this

Kuroshio Sea - 2nd largest aquarium tank in the world - (song is Please don't go by Barcelona) from Jon Rawlinson on Vimeo.

Wednesday, 22 July 2009

Monster among laptops

Some people fall backwards while feigning a Fred Sanford-like heart attack upon seeing the Lenovo ThinkPad W700ds for the first time. In a world of ever-shrinking notebooks and itty-bitty laptops, the ThinkPad W700ds weighs in at a hefty 11 pounds (the charger/AC adapter is another 2.2lb), and measures 16.1 x 12.2 x 2.1". If Boeing built laptops for the Pentagon, a box of donuts says it would look like the Lenovo ThinkPad W700ds.

http://www.bhphotovideo.com/c/find/newsLetter/LenovoThinkPad-W700ds.jsp