chrisaiv


Member since 01/16/2007

Name: Chris Last Name

chrisaiv

Location: Los Angeles

Code

116 snippets

29501 profile views

39 Comment(s) Posted

View their favorites

Profile

Achievement

You have not received any achievements.

chrisaiv's Recent Snippets



I suspect this boilerplate code will continue to evolve while I settle in on my favorite libraries and frameworks but
6 3000 posted 13 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 6409 posted 13 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 1853 posted 14 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 3693 posted 14 years ago by chrisaiv
Simple test showing how to make a request to Spotify's API.
2 1834 posted 14 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 1482 posted 14 years ago by chrisaiv
If you need to do any sort of screen capturing using FFMPEG, you might need this one day
0 3514 posted 14 years ago by chrisaiv
Need to check if your device is online before sending/getting a request? Here's how.
0 1187 posted 14 years ago by chrisaiv
There are roughly three ways to do this: programatically, through stylesheets, or through the Anroid manifest.
0 1463 posted 14 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 1634 posted 14 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 1375 posted 14 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 1447 posted 14 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 1580 posted 14 years ago by chrisaiv
This simple example will access your GeoLocation on mobile Safari and place a marker using Google Maps.
3 1800 posted 14 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 2673 posted 14 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 2890 posted 14 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 1459 posted 15 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 1822 posted 15 years ago by chrisaiv
0 3470 posted 15 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 2933 posted 15 years ago by chrisaiv
Easy way to populate a drop-down menu
3 2582 posted 15 years ago by chrisaiv
I found this awesome function that allows you to easily remove duplicate values.
4 2646 posted 15 years ago by chrisaiv
3 1916 posted 15 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 2156 posted 16 years ago by chrisaiv
I found this awesome class by [email protected] and can't help but share it.
1 1605 posted 16 years ago by chrisaiv
See the contents within a directory and print them out.
0 1499 posted 16 years ago by chrisaiv
Handy function that allows you get some data on a file
0 1439 posted 16 years ago by chrisaiv
Here are a few examples that show how the relationship between objects and references
0 1361 posted 16 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 1438 posted 16 years ago by chrisaiv
0 1374 posted 16 years ago by chrisaiv