Profile
Achievement
You have not received any achievements.chrisaiv's Recent Snippets
- All /
I suspect this boilerplate code will continue to evolve while I settle in on my favorite libraries and frameworks but
6
1329
posted 12 years ago by chrisaiv
Very cool example of copying a frame from an MP4 and displaying it on the canvas or image. In order for images to be saved, the video must come from the same domain
0
4750
posted 12 years ago by chrisaiv
I started messing around with the Last.fm API and somehow just started building more and more service requests. This should be enough to get anyone started on using Last.FM's API
0
1147
posted 12 years ago by chrisaiv
Recently I needed to capture a JSON feed of the top artists from Last.fm. The script makes a request for a JSON response which I later treat as a dictionary object. You'll probably need to sign up for an API Key before using this script
0
1045
posted 12 years ago by chrisaiv
The Blackberry AppWorld portal allows you to schedule reports which are delivered as CSV.zip files. Although the CSV file offers a lot of detail about operating system and date of download, most of the time I just want to know which users downloaded...
0
934
posted 13 years ago by chrisaiv
If you need to do any sort of screen capturing using FFMPEG, you might need this one day
0
931
posted 13 years ago by chrisaiv
Need to check if your device is online before sending/getting a request? Here's how.
0
673
posted 13 years ago by chrisaiv
There are roughly three ways to do this: programatically, through stylesheets, or through the Anroid manifest.
0
885
posted 13 years ago by chrisaiv
This is part of a much larger class but I wanted to give enough context to explain the value of GeoCoder. GeoCoder has two methods called getFromLocation() and getFromLocationName() that allow you to capture an address or coordinates.
1
816
posted 13 years ago by chrisaiv
This two liner is powerful. It shows you how to find images on a page based on the source (src) and replace them with another image.
0
824
posted 13 years ago by chrisaiv
I always have trouble preparing JSON to work nicely with as3corelib. Here's an example of what I do whenever the array I'm looking for is nested within more JSON. This really isn't for anyone other than myself.
0
756
posted 13 years ago by chrisaiv
I love this script. It's perfect for anyone trying to transforms headlines into some sort of Title Case format without using CSS
0
832
posted 13 years ago by chrisaiv
This simple example will access your GeoLocation on mobile Safari and place a marker using Google Maps.
3
999
posted 13 years ago by chrisaiv
This mini experiment simply shows how to create a static Google Map with a Marker based on a user's Geo Location. This was designed specifically for Safari Mobile
4
1842
posted 13 years ago by chrisaiv
Adobe AIR 2.6 was just released and it includes a couple of new features for iOS such as camera, video, and keyboard support but for now, you'll need to compile using command-line ADT. Here's a simple example showing you how to compile in test-mode...
0
1136
posted 13 years ago by chrisaiv
If you are trying to solving one or both of these problems:
+ If the window is resized to a smaller size that was designed for - a scrollbar would be nice.
+ If the content is larger than the original design - a scrollbar would be nice
Then use...
1
770
posted 13 years ago by chrisaiv
I needed a way to talk to Google Calendars. here's how I was able to create a RFC 3339 timestamp
0
1001
posted 14 years ago by chrisaiv
You did a checkout when you really wanted to do an export. Now there are tons of .svn folders in your project, and you need them to go away. Shell scripting to the rescue.
0
1106
posted 14 years ago by chrisaiv
I found this awesome function that allows you to easily remove duplicate values.
4
1672
posted 14 years ago by chrisaiv
Handy Date/Time converter: Convert Date Object to MySQL date format, Translate minutes into an English phrase, Convert MySQL date to Actionscript Date object, Get Day name from Date, Get name of Month from a Date Object, Input the seconds and return...
1
1289
posted 14 years ago by chrisaiv
I found this awesome class by [email protected] and can't help but share it.
1
985
posted 14 years ago by chrisaiv
Here are a few examples that show how the relationship between objects and references
0
739
posted 14 years ago by chrisaiv
Dates and Time are always important to understand in any language. PHP has some rockin' functions but here are a few that I use the most.
0
852
posted 14 years ago by chrisaiv