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
- PHP: Benchmarking echo vs. print vs. printf
- DIY: Make Your Own Ethernet Loopback Cable
- 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: tips
WordPress recent posts as JSON
For an update to one of my web projects I went looking for a way to get the recent posts as JSON instead of using the RSS feed. I personally find JSON much easier to deal with than RSS, so … Continue reading
days_ago function for PHP
Can’t take credit for all of this, but I also don’t remember where the code that I started with came from. days_ago is a function that will take two dates and return a more human friendly version of dates. So … 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
Netbeans with multiple monitors
How did I not try this before today? My normal method of needing two files open was to have the one I’m working on in Netbeans and the other in Notepad++ on separate monitors. Turns out you can drag the … 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
Apple Remote – How did I now know about this?
As geeky as I am you would think I would have heard about Apple Remote before this week. Maybe it’s because I haven’t been an Apple geek until a few weeks ago. For those of y’all in my shoes, Remote … Continue reading
How to get a screen shot from an iPhone
It’s come up a few times where I’ve needed to get a screen shot from my iPhone. Turns out there are two ways to do it, one of which is built into the phone. Easiest way is to hold down … Continue reading