Some of my thoughts about CSS developent. Think of more? Share in the comments and I’ll add them to this page! Low Coupling The principle of low coupling suggests that distinct parts of an application be as “stand-alone” as possible.…
Some of my thoughts about CSS developent. Think of more? Share in the comments and I’ll add them to this page! Low Coupling The principle of low coupling suggests that distinct parts of an application be as “stand-alone” as possible.…
Needing an event subscription and publishing system for a HTML5/canvas game I’m creating, I wrote a very light event system. Anything than can call JavaScript (link, button, etc) can raise an event: LightEvents.publishEvent('event name', data); Subscribing to events is equally easy:
|
1 2 3 |
LightEvents.listenFor('event name', function (data) { //callback function }); |
Here is the…
In the course of my work, I’ve created and refined a simple ad rotator. It is built in JavaScript, and does not rely on any library, like jQuery, to function. In my experience, it defeats ad-block, and loads easily on…
In asp.net web applications, it is common to have dozens — if not hundreds — of user controls that perform postbacks to the server, actions initiated by a user such as a button click. Often before a save, delete, or…
What are microformats? Microformats are small patterns of HTML to represent commonly published things like people, events, blog posts, reviewsand tags in web pages. Microformats are the quickest & simplest way to provide an API to the information on your website. See what else you can do…
Fascinated by a lecture as part of my CS degree pursuits (there is light at the end of the tunnel!), I decided to build some digital circuitry beginning with logic gates and ending with a full 32-bit adder. LIVE DEMO So here’s my question:…
During an interview (for a software developer position) with a major employer in the state of Utah, I was asked an interesting programming question: Create a function that, given an integer parameter, will return the middle three digits I mentally…
Using the Google Chrome plugin Stylish, users can add custom CSS to be applied to any domain. I’ve created a dark CSS theme for Facebook, called FaceBook IDE Within Stylish (found in the Chome menu bar): Write a new style…
Following the release of the Boy Scouts of America “Perversion Files,” I thought it would be interesting to do some data visualization via Google Maps API Reports of Sexual Abuse by State If your’e interesting in doing some visualization of…
Converting an <address> tag into a Google maps link is something I’ve written about in the past, but user “Moose” was wondering if you can do the same thing, but transform it into an embedded map. Quick answer: Yes! Using…
I administer a Windows server which runs multiple instances of WordPress. Today I needed to install another instance, but the Gallery Installer through IIS kept failing. I resorted to installing manually, and wrote up this guide to installing WordPress on…
Due to the familiar syntax of JavaScript, it is easy for experienced developers to make blunders without knowing it. One common problem is crafting object constructors. With some simple knowledge and scope checks we can create well formed constructors that function as developers expect.
In the standard course of programming for my job and school, I have occasionally come to the need of a simple function or plugin to numerically sort UL list items. In the spirit of sharing with the community, here is a jQuery…
After much Googleing for how to do a camera shaking effect in Unity, I decided to write my own small script to accomplish the effect. It combines both positional movement with rotational movement to simulate closely an actual camera shake.…
I few years ago, I wrote a post about forcing two divs to be equal height — quite a feat if you’ve ever tried! Since then, a great jQuery plugin has came out that makes equal div height pretty easy…
(0/0 fps) Game play Press [Enter] start Use [Left] and [Right] arrows Press [Space] to fire missiles Game information Programmed using JavaScript, the melonJs game library, and the Tiled map editor. Source files: Game init/resources In game entities/logic
From College Publisher to WordPress: My own daily WTF
Up until June 2011, The Signpost (Weber State University’s student news organization), was hosted by College Publisher – A content management system designed for university newspapers like The Signpost. In June 2011, the paper made the jump to WordPress. The first order…
Posted in Commentary, WordPress