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: A function to return the first n words from a string
- DIY: Make Your Own Ethernet Loopback Cable
- PHP: Benchmarking echo vs. print vs. printf
- How to get a screen shot from an iPhone
- How to create a wine glass in Blender
- WordPress recent posts as JSON
My Other Sites
Tag Archives: Programming
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
PHP function to get first n words from a string
A handy little function for your bag of tricks. This PHP function will return a max number of words out of a string, or the whole string if it’s already shorter. This probably could be made shorter, but I was … Continue reading
Teaching recursion with Scratch BYOB – take 2
This is a follow up from a post I did about a year and a half ago on using Scratch BYOB to teach recursion. The original way of defining parameters in BYOB were a bit clunky, but it’s gotten much … Continue reading
Another good use for mod
Got to admit that mod is one of those topics that I have trouble getting across to my students. Not the idea of what it is and how to do it, but the purpose. The classic isOdd / isEven lab … Continue reading
Just finished up a couple of WordPress plugins
Needed a break from a larger web app I’m working on and this weekend kicked out a couple of WordPress plugins that I’ve had on my idea file for a while now. The first is called rTwit and lets you … Continue reading
Posted in Programming
Tagged ajax, blog, coding, javascript, link, php, plugin, Programming, twitter, wordpress
Leave a comment
bit.ly and PHP
Needed a quick and easy way to create a bit.ly URL for another site of mine. Google came through for me. David Walsh posted a short PHP function on his site that takes your bit.ly login, API key, and the … Continue reading
Curved corners script for Photoshop
I’ve been looking for an excuse to play around with scripting in Photoshop. Today I found one. I came across a series of actions that rounded off the corners of an image to get it ready for uploading to a … Continue reading
Posted in Programming
Tagged javascript, Photography, photoshop, Programming, web design
Leave a comment
Event tracking with JavaScript
A while back Google added event tracking to Analytics so you could keep track of Javascript and Flash events. Pretty cool feature. Being the stat junkie that I wanted to use this to keep track of outgoing clicks on a … Continue reading
Grouping MySQL query by date
Working on a statistics plugin I needed a way to group records by the day. Turns out it’s remarkably easy. If you just want to group by year and month take off the DAY() part. This would also be a … Continue reading
Difference in Hub, Switch, Bridge, & Router
In an ethernet network there are 4 devices that from the the outside look very similar. In this article we will look at the difference between hubs, switches, bridges, and routers.