Design Programming & Coding Tutorial

Google Docs spreadsheet script: compare dates, highlight past dates, highlight weekends, and highlight today

ORIGINAL PROBLEM I spent hours tonight struggling with this Google Apps script I wrote to serve as custom functions or advanced macros. I adapted it from this StackOverflow post. The main issue I ran into was comparing dates. Here is my research path, and hopefully, some indicator as to why it took so long: STEPS […]

Design Programming & Coding

CodeSlayer2010’s Code: jQuery Fancy Paragraph Styling (manila background, rounded-rectangle, drop-shadow, orange border)

I wrote this jQuery in about 5 minutes. It is really simple, but amazingly powerful at the same time. The purpose of this is to instantly style paragraph tags. Here are the style parameters: Background color: Manila (light beige-ish/yellow) Border color: Orange Drop-shadow: Yes Rounded-rectangle: Yes I want to make the code easily available to […]

Design Errors Programming & Coding

Zemanta Puts Unwanted HTML Comments In Pre-Formatted PHP Code (Sourcecode) In WordPress Posts

PROBLEM: I  have recently determined through trial and error and process of elimination that Zemanta is responsible for adding extraneous HTML comments to my pre-formatted (with “pre” tags) PHP code that I have placed between “sourcecode” tags to activate’s built in programming code syntax highlighting. Here is a screenshot (fig 1.) that demonstrates the […]

Design Programming & Coding Tutorial

Building A PHP Database Connection Class From Scratch (using Singleton & ActiveRecord patterns)

Greetings folks. Tonight I’m studying on how to create a PHP Object-Oriented MySQL database connection class.  This will be reusable and able to be implemented in any database driven web application built with PHP & MySQL.  It uses the ActiveRecord and Singleton design patterns. I’m currently following this YouTube tutorial: Using OOP PHP to select, […]

Programming & Coding

PHP View Utilities Code Debugger – A Wrapper For print_r function

Greetings folks. If you’ve ever gotten tired of having to type: [sourcecode language=”php” htmlscript=”true”] echo "<pre>"; print_r($some_var); echo "</pre>"; [/sourcecode] you are going to love the little debugger class I built. This is a very simple, basic class which doesn’t use patterns or anything fancy.  Actually, it may indeed use patterns that I’m not familiar […]

Microsoft PowerShell logo
Computing Errors Programming & Coding

Powershell – Executing commands which require quotes and variables is practically impossible!

I’ve spent the last 2 hours reading an interesting bug report/forum thread about how executing commands which require quotes and variables in PowerShell is difficult (this was originally posted on Microsoft Connect, which no longer exists; replaced with link). I’m trying to understand how to properly quote commands with parameters and interpolated paths so […]

Programming & Coding Tutorial PHP MySQL WAMP Project: Widget Corp – Progress Update – 2012.02.07

Hello folks.  I’ve been doing a tutorial called PHP With MySQL Essential Training.  I’ve actually been doing aboutg 2-8 hours per week of the multiple, sequential lessons that are involved in this excellent hands-on tutorial for about a month now. At this point, I have completed all the basic PHP and MySQL material, and […]

Eric Hepperle's MySpace profile from 2009
Computing Programming & Coding Tutorial

How do you use CSS on MySpace 2.0? SOLVED! (Sort-of)

After searching for “How do you use CSS on MySpace?” and getting many dead ends, I started to become frustrated. The most common false-results that Google was sending me to were advising others who have asked similar questions recently to put CSS in the “About Me” section, or rudely and abrasively chastising the posters that […]