日曜日, 2月 27, 2011

route-me: Creating a new MapSource Class

route-me: Creating a new MapSource Class

touchMapLite

touchMapLite

light javascript viewer for slippy map tiles, optimized for mobile devices. based on panoJS. developed for - openstreetmap data - (multi-) touch sensitive devices - webkit browser.


touchMapLite framework notes

水曜日, 2月 23, 2011

route-me Embedding Guide


■ ○route-me○
https://github.com/route-me/route-me
route-me is using GitHub to share code with you!



Old Stuff:
http://code.google.com/p/route-me/downloads/list
route-me
Open source iPhone-native slippy map.




■Git through a proxy(http://www.rootninja.com/git-through-a-proxy/)
git config -–global http.proxy http://172.20.203.128:808
簡単なやり方:
export https_proxy=http://172.20.203.128:808


■GIT clone over HTTP(http://rip747.wordpress.com/2008/09/12/git-clone-over-http-who-knew/)
git clone https://github.com/route-me/route-me.git


■EmbeddingGuide
▲How-to guide on making an application containing a map
http://code.google.com/p/route-me/wiki/EmbeddingGuide

△route-me Embedding Guide - GitHub
https://github.com/route-me/route-me/wiki/Embedding-Guide
▲Integrating with your own project
http://www.gisnotes.com/wordpress/2009/12/iphone-dev-note-19-route-me-opensource-mapping-for-the-iphone/

“Unknown class in Interface Builder file” error at runtime

“Unknown class in Interface Builder file” error at runtime

  1. Just call a method it inherits from NSObject, like +class.
  2. Set the -ObjC linker flag. In Xcode go to Project -> Edit Project Settings, find the "Other Linker Flags" entry and add the following (capitalization important) "-ObjC" without the quotes.
    Related linker option:
    -all_load: This one seems a bit overkill, as all of my unused classes will be kept in the final binary, potentially bloating it.
    -ObjC : This seems to be a compiler flag, and overrides the file extension rules.
    -lobjc : Need this special case of the -l option in order to link an Objective-C or Objective-C++ program.
  3. Fixed this by copying the text from my class.h and .m, deleting those class files from the project, and creating new class.h and .m files with the same name using "Add File".Then paste the code back into the new files, and everything work great.

月曜日, 2月 21, 2011

Put Mac OS dmg image to USB

Mac : Bootable USB from dmg image


sudo asr --restore --source /Volumes/MountedDMG-Disk --target /Volumes/USB-Stick --erase

金曜日, 2月 18, 2011

Corkscrew is a tool for tunneling SSH through HTTP proxies

Corkscrew
Corkscrew is a tool for tunneling SSH through HTTP proxies.