Get latest tweet without API key in PHP

On 21 August 2010, in Technology, by Greg

I’ve been working on a backend for a website and needed a way to show the latest Twitter update. There is plenty of code floating around that does this, but I couldn’t find anything simple that preserved formatting, like hyperlinks to @replies, e-mail addresses, URLs, etc. Anything that did was either very bulky (lots of source files) or required a Twitter API key…so I wrote my own, self-contained in a single function call.

Continue reading »

Tagged with:  

I haven’t been messing around with the Android SDK for too long but I’ve already found some things that I think are worth sharing. Android has a concept of Services, or a process that can sit in the background and run a task without needing to interact with the user. There’s plenty of reasons why a Service might not need to be running all the time (say an alarm clock app with no alarms scheduled), but for the most part, Services need to be started at boot. Here’s how, tested from Android 1.5 to 2.2, since no other example I could find on the Internet was complete for this ever-changing SDK.

Continue reading »

Tagged with:  

iAds are going to be all over apps in the AppStore in just a few short weeks as developers try to make some money from the average iPhone user. The only problem is that you won’t make any money unless the user is running iOS 4.0. Versions of the iOS prior to this don’t have the iAd framework and therefore can’t display ads. So what’s a developer who wants a few clams to do?

Continue reading »

Tagged with:  

MultiDetailView

On 03 April 2010, in Technology, by Greg

UPDATE: Well, glad I spent the time preparing this…Apple decided to post it on their site…


Happy iPad release day! Now that the iPad NDA has been been lifted, there are a lot of topics I’d like to write about. iPhone OS 3.2 brings about several new features including a new UIViewController called UISplitViewController. This allows you to, in landscape orientation, have two UIViewContollers side-by-side. On device rotation to portrait orientation, the left-most UIViewController (the “rootViewController”) disappears from view and is replaced by a UIBarButtonItem in the right-most UIViewController (the “detailViewController”).

Continue reading »

Tagged with:  

One of the worst things about being a “tech guy” to non-technical people is that you are constantly bombarded with questions or favors and you feel obliged to give in a large amount of the time.  It’s even worse when the knowledge of your “skill” is spread to friends and neighbors of your friends whom you don’t even know.  Most of the time, especially recently (being unemployed), I don’t so much mind helping out but people definitely take advantage.

Continue reading »

Tagged with:  

Mac OS X on Dell Inspiron Mini 10v

On 19 February 2010, in Technology, by Greg

I spent today doing a lot of  favors for people, including getting Mac OS X 10.6 (Snow Leopard) running on a friend’s Dell Inspiron Mini 10v.  Making a hackintosh out of these machines used to be a pain, but it’s really quite easy now.

Continue reading »

Tagged with:  

A few months ago, I dropped my 15″ MacBook Pro from about 3 feet.  Upon immediate inspection, I only noticed a small dent near the DVI connector, but I figured that was the extent of the damage since the computer was off (or at least in sleep mode) at the time.

Continue reading »

Tagged with:  

Graduation Day!

On 24 December 2009, in Life, School, by Greg

Well, now it’s Christmas Eve, but yesterday at 10AM I participated in the graduation ceremonies at UMBC.  Not sure how ready I am to leave that place.  On one hand, it will be nice to not have homework or projects for a bit and I can let my stress level lower dramatically.  On the other hand, now I have to drive at least two hours to see anyone I know.  With working full-time in the future, this is going to be a huge pain.  I’ve been accepted into the Masters program at UMBC and so hopefully that gives me an excuse to be on campus, but I’m also not sure that’s what I really want.

There’s really just too much going through my head right now.  I need to settle down and let it all sink in.  I need the time to do that now.

I never thought I would see this day.

 

Snow, Round 1

On 19 December 2009, in Other, by Greg

Before...

...and after.

 

UMBC Campus Friend

On 18 December 2009, in School, Technology, by Greg

I gave my final presentation for my iPhone Development class tonight on my project called UMBC Campus Friend. It’s an app that tells you places you are near on a campus. From a developer’s perspective, it’s very cool in that all you have to do is provide an XML file with POI descriptions and another XML file with building coordinates to get the app to work, with zero programming experience necessary.

After the presentation, I was approached by an individual from UMBC’s DoIT who expressed a great deal of interest and excitement in the app and said that we would probably be in contact.  Several other students thought I should be trying to go somewhere with this app.  They’re probably right.  I’m looking to get the ball rolling, beefing up the app to add some features I thought about but didn’t have time to implement, and hopefully even taking this app to market. It’s a good night for sure!