This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ImageLoadingOp.h | |
// PersonList | |
// | |
// Created by Marcio Valenzuela on 10/20/09. | |
// Copyright 2009 Personal. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <UIKit/UIKit.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PlaceViewController.h | |
// TouristNov09 | |
// | |
// Created by Marcio Valenzuela on 11/11/09. | |
// Copyright 2009 Personal. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import "Place.h" // Import the places object header |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PublicTimelinesViewController.h | |
// P3Scratch | |
// | |
// Created by Marcio Valenzuela on 11/25/09. | |
// Copyright 2009 Personal. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import "TwitterHelper.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)synchronousLoadTwitterData{ | |
// Beause this is ran inside a seprate thread we have to be real careful | |
// that the data we play with here doesn't clobber another thread that is | |
// running at the exact same time. We will build a temprary array that we | |
// will assign the instance variable to only on the main thread. | |
// setup the tweet array and log it ONCE | |
publicTweets = [[NSMutableArray alloc]init]; | |
// this needs to be a new operation so as not to block the main thread... | |
NSArray *userTimeline = [[NSArray alloc] initWithArray:[TwitterHelper fetchPublicTimeline]]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// P3ScratchAppDelegate.m | |
// P3Scratch | |
// | |
// Created by Marcio Valenzuela on 10/30/09. | |
// Copyright Personal 2009. All rights reserved. | |
// | |
#import "P3ScratchAppDelegate.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(isset($_POST['create_xml'])){ | |
echo "Links Data Posted"; | |
/* All Links data from the form is now being stored in variables in string format */ | |
$urlDoc = $_POST['urlDoc']; | |
$urlAdd = $_POST['urlAdd']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Marcio Valenzuela on 12/4/09. | |
// Copyright Personal 2009. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import "AppViewController.h" | |
@interface AppDelegate : NSObject <UIApplicationDelegate,UIImagePickerControllerDelegate> { | |
UIWindow *window; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CPTestAppBarChartController.m | |
// CPTestApp-iPhone | |
// | |
#import "CPTestAppBarChartController.h" | |
@implementation CPTestAppBarChartController |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include_once("JSON.php"); | |
$json = new Services_JSON(); | |
$link = mysql_pconnect("localhost", "usr", "pwd") or die("Could not connect"); | |
mysql_select_db("dbname") or die("Could not select database"); | |
$query = "SELECT * FROM users"; | |
$result = mysql_query($query); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)synchronousLoadFlickrData{ | |
NSLog(@"BEGINLOADINGflickr dictionary"); | |
PaparazziAppDelegate *appDelegate= (PaparazziAppDelegate *)[[UIApplication sharedApplication] delegate]; | |
// GET PLIST FILE INFO | |
filePath = [[NSBundle mainBundle] pathForResource:@"FakeData" ofType:@"plist"]; | |
if (filePath) | |
{ | |
// CREATE FLICKR ARRAY FROM PLIST FILE PATH |
OlderNewer