Tags
adsense animation apache apple auto future date blog coding compsci css diy flash forum game hard drive internet explorer iphone itunes java javascript link linux mac mysql netbeans network Photography photoshop php Plain Text Custom Post Type plugin Programming prototype python reliti robot scratch teaching tips twitter ubuntu usb video web design wordpress youtube-
Popular This Week
- Difference in Hub, Switch, Bridge, & Router
- JavaScript Error ‘expected identifier, string or number’ in IE
- Multiple cases for switch construct
- Plugins for inserting JS and CSS into posts
- PHP: Benchmarking echo vs. print vs. printf
- DIY: Make Your Own Ethernet Loopback Cable
- How to create a wine glass in Blender
- PHP: A function to return the first n words from a string
- List functions disabled in PHP
- Quick Fix for OpenX Redirect Loop
My Other Sites
Monthly Archives: May 2012
WordPress, Custom Taxonomy, and “An unidentified error has occurred”
Working on a plugin today, part of which includes a custom taxonomy, and came across a snag today. Got the taxonomy added, along with the custom post type it was associated with. The meta box showed up just like it … Continue reading
Weekly Tweets for 2012-05-19
RT @olgachaidou RT @CoolSWEng: An advantage of being forgetful is that you’re forced to document your code. #
Posted in Tweets
Leave a comment
Regex to replace multiple spaces
Normally I just don’t worry about this since I’m usually building websites and HTML takes care of merging multiple spaces. But it comes up occasionally. And since it’s just a quick regex replace, it’s pretty quick to merge multiple spaces. Piece … Continue reading
Hiding the “Welcome to your new WordPress site” message
Sitting here working on setting up a WordPress network and hit a snag. New sites have a giant “Welcome to your new WordPress site” message when someone logs in for the first time. Now, I’m not against the message; and … Continue reading
Weekly Tweets for 2012-05-12
Comment form in @WordPress, above or below existing comments? http://t.co/FjfNkbwT # Quick and easy way to refresh a jQuery datatables table http://t.co/rdg0sdhI #
Posted in Tweets
Leave a comment
Should add new comment be above existing comments
Had a thought while scrolling to the bottom of a WordPress post with 250+ comments. Does having the add new comment form at the bottom of a page that long lead to fewer comments? Really, who is going to scroll … Continue reading
Datatables jQuery plugin – Refresh table
Sometimes I try and make things way too hard. One of the things that a web app I’m working on needs is the ability to do an advanced search. It’s using the outstanding DataTables plugin for jQuery which takes care … Continue reading
Double click on file in Chrome developer tools
How did I not know this already? I’m working on a web app that’s pretty Ajax heavy so I’ve got the Chrome developer tools window opened up to the Network tab so I can see what’s going on. By accident … Continue reading
Math for Game Programmers
Had an idea running through my head for a while now and finally pulled the trigger last weekend. Something I’ve noticed teaching students to write games is that most don’t expect programming games to involve as much math as it … Continue reading