Skip to content

Instantly share code, notes, and snippets.

View rodericj's full-sized avatar
🐔
chicken

Roderic Campbell rodericj

🐔
chicken
View GitHub Profile
#import
// types of annotations for which we will provide annotation views.
typedef enum {
CSMapAnnotationTypeStart = 0,
CSMapAnnotationTypeEnd = 1,
CSMapAnnotationTypeImage = 2
} CSMapAnnotationType;
#import "CSImageAnnotationView.h"
#import "CSMapAnnotation.h"
#define kHeight 100
#define kWidth 100
#define kBorder 2
@implementation CSImageAnnotationView
function getEmail(){
date
if [ ! -f /tmp/"$1" ]
then
echo "fetching"
python ~/dev/fetch.py $1 >/tmp/$1
fi
echo "picking map"
PYTHONPATH=lib /opt/itinerator/pyre/bin/python $HOME/trunk/src/bin/pickmap.py etc/datamap /tmp/$1 >/tmp/pickmap.output.$1
echo "bin/disp /tmp/$1"
function getEmail(){
date
if [ ! -f /tmp/"$1" ]
then
echo "fetching"
python ~/dev/fetch.py $1 >/tmp/$1
fi
echo "picking map"
PYTHONPATH=lib /opt/itinerator/pyre/bin/python $HOME/trunk/src/bin/pickmap.py etc/datamap /tmp/$1 >/tmp/pickmap.output.$1
echo "bin/disp /tmp/$1"
class Item(models.Model):
TYPE_CHOICES = (
#('PR', 'Permanent'),
#('SP', 'Special'),
#('TM', 'Temporary'),
('RR', 'Rare'),
('TP', 'Trap'),
('DF', 'Defense'),
)
- (void)viewWillAppear:(BOOL)animated {
NSLog(@"viewWillAppear in home table view controller");
[self updateMiniProfile:[NSDictionary dictionaryWithContentsOfFile:@"Profile.plist"]];
[super viewWillAppear:animated];
}
Printing description of dictionary:
{
browsable = 0;
"calculated_discovery_score" = "713.7758743754462";
caption = "Hey a border around a leaf";
"comments_count" = 0;
"created_at" = "2015-03-30T22:17:53.000Z";
"discovery_score" = "<null>";
"external_source_url" = "<null>";
href = "http://m.staging.rav.io/api/v1/images/360";
This file has been truncated, but you can view the full file.
{"per_page":200,"prospectiveTenants":[{"id":748131,"created":"2014-05-15 16:37:11","lastSynced":null,"thirdPartyPrimaryKey":null,"communityId":103693,"guestCardId":734964,"uuid":"9931369c-704f-4ee1-8c62-d682191c0b81","prospectId":0,"prospectCode":null,"firstName":"Josh","lastName":"Gamp","email":"ian@powerproleasing.com","phoneNumber":"(376) 476-8657","phoneNumberType":"Mobile","secondaryPhoneNumber":"","secondaryPhoneNumberType":"Mobile","street1":"123 Place St.","street2":"220","street3":null,"city":"Denver","state":"CO","zip":"80218","country":null,"fax":null,"employmentInfo":"","brokerDisclosureSignatureUrl":null,"smsOptResponse":"NONE","oneSiteCustomerId":null,"fullName":"Josh Gamp","agreedToBrokerTerms":false,"street":"123 Place St. 220","active":true,"synced":false,"updated":"2015-01-21 08:52:26","warnings":null,"brokerDisclosureSignatureDate":null,"isPrimary":true},{"id":751012,"created":"2014-05-20 15:45:21","lastSynced":null,"thirdPartyPrimaryKey":null,"communityId":103693,"guestCardId":737493,"uuid
diff --git a/Crashlytics.framework/Versions/A/Crashlytics b/Crashlytics.framework/Versions/A/Crashlytics
index df0fe47..42d9da7 100644
Binary files a/Crashlytics.framework/Versions/A/Crashlytics and b/Crashlytics.framework/Versions/A/Crashlytics differ
diff --git a/Crashlytics.framework/Versions/A/Resources/Info.plist b/Crashlytics.framework/Versions/A/Resources/Info.plist
index a10d5ef..ead462e 100644
--- a/Crashlytics.framework/Versions/A/Resources/Info.plist
+++ b/Crashlytics.framework/Versions/A/Resources/Info.plist
@@ -15,13 +15,13 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
/**
* Helper function to determine whether two cones are playing in the same cluster. Two TuneDevices
* are in the same cluster if one is a master and the other its slave or if both are slaves to the
* same master.
*
* @param other The other Cone that may or may not be in the cluster
* @return true if the two TuneDevices are in the same cluster. false otherwise.
*/
public boolean isInClusterWith(TuneDevice other){
switch(clusterRole){