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
| // | |
| // UIImage+Additions.m | |
| // SteveJobsTribute | |
| // | |
| // Created by Zachry Thayer on 10/11/11. | |
| // Copyright (c) 2011 Yoshimi Robotics. All rights reserved. | |
| // | |
| #import "UIImage+Additions.h" |
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
| // | |
| // main.m | |
| // fccRadioListParser | |
| // | |
| // Created by Zachry Thayer on 11/14/11. | |
| // Copyright (c) 2011 Zachry Thayer. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
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
| /* | |
| * How to search for images and restrict them by color. | |
| */ | |
| google.load('search', '0'); | |
| function OnLoad() { | |
| // Create a search control | |
| var searchControl = new google.search.SearchControl(); |
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
| // | |
| // main.m | |
| // fccRadioListParser | |
| // | |
| // Created by Zachry Thayer on 11/14/11. | |
| // Copyright (c) 2011 Zachry Thayer. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
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
| #include "stdafx.h" | |
| #include <stdio.h> | |
| int main() | |
| { | |
| printf("Please enter your problem:\n"); | |
| while(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
| // | |
| // main.m | |
| // ImageNabber | |
| // | |
| // Created by Zachry Thayer on 11/15/11. | |
| // Copyright (c) 2011 Zachry Thayer. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
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 getImageUrlForCallsign(NSString *callsign){ | |
| NSString *searchURL = [NSString stringWithFormat:@"http://www.bing.com/images/search?q=%@+logo&go=&qs=n&sk=&sc=8-4&form=QBIR", callsign]; | |
| NSString *regexOneliner = [NSString stringWithFormat:@"/usr/local/bin/wget -O tmp.txt \"%@\";sleep 2;cat tmp.txt | perl -ne '/class=\"sg_t\" src=\"([^>]*)\" style=\"([^>]*)\"/; print \"$1,\" ' >> tmp2.txt;echo '\"%@\":\"' >> allText.json; cat tmp2.txt | perl -ne '/,*(http[^,]*).*/; print \"$1\"' >> allText.json;echo '\",' >> allText.json;echo 'Done'; rm tmp.txt; rm tmp2.txt", | |
| searchURL, callsign]; | |
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)myProperty | |
| { | |
| if(!myProperty) | |
| { | |
| //allocate/default init | |
| } | |
| return myProperty; | |
| } |
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
| git push origin master | |
| To enfield@documations.org:/Code/ScribbeoMacServer | |
| ! [rejected] master -> master (non-fast-forward) | |
| error: failed to push some refs to 'enfield@documations.org:/Code/ScribbeoMacServer' | |
| To prevent you from losing history, non-fast-forward updates were rejected | |
| Merge the remote changes (e.g. 'git pull') before pushing again. See the | |
| 'Note about fast-forwards' section of 'git push --help' for details. |
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
| @interface YRFrequenciesLCDView : UIView | |
| @property (nonatomic) CGFloat frequency; | |
| @end |