This file contains hidden or 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
| #import | |
| // types of annotations for which we will provide annotation views. | |
| typedef enum { | |
| CSMapAnnotationTypeStart = 0, | |
| CSMapAnnotationTypeEnd = 1, | |
| CSMapAnnotationTypeImage = 2 | |
| } CSMapAnnotationType; |
This file contains hidden or 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
| #import "CSImageAnnotationView.h" | |
| #import "CSMapAnnotation.h" | |
| #define kHeight 100 | |
| #define kWidth 100 | |
| #define kBorder 2 | |
| @implementation CSImageAnnotationView |
This file contains hidden or 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
| 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" |
This file contains hidden or 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
| 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" |
This file contains hidden or 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
| class Item(models.Model): | |
| TYPE_CHOICES = ( | |
| #('PR', 'Permanent'), | |
| #('SP', 'Special'), | |
| #('TM', 'Temporary'), | |
| ('RR', 'Rare'), | |
| ('TP', 'Trap'), | |
| ('DF', 'Defense'), | |
| ) |
This file contains hidden or 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)viewWillAppear:(BOOL)animated { | |
| NSLog(@"viewWillAppear in home table view controller"); | |
| [self updateMiniProfile:[NSDictionary dictionaryWithContentsOfFile:@"Profile.plist"]]; | |
| [super viewWillAppear:animated]; | |
| } |
NewerOlder