Keith Kim’s Blog
Technology, Development, Tech Trends, Tech Team Management
14th
JUL
Using SVN in Mac
Posted by Keith under Apple, Development Tools
Get the binary from here: http://www.open.collab.net/downloads/community/
9th
JUL
Setting up CVS pserver on OSX 10.4 and up (10.5, 10.6)
Posted by Keith under Development Tools
There’s no /etc/inetd.conf, or /etc/xinetd.conf. New version of OSX uses something called “launchd.”
Read following pages for setting up pserver.
- http://www.afp548.com/article.php?story=20050716191439302
- http://discussions.apple.com/thread.jspa?threadID=2123254
See:
Launchd: http://developer.apple.com/macosx/launchd.html
Copy & Paste from above site — just in case :
CVS pserver launchd item for OS X 10.4
Tuesday, August 02 2005 @ 08:14 pm MDT
Contributed by: ChrisRyland
Views: 6,637
TipsInspired by the recent excellent launchd overview on afp548, I needed to set up a CVS pserver on our new Tiger Xserve box, migrating from an old Linux server.
Here’s a recipe that seems to work.
You’ll need to create a launchd control file, call it cvspserver.plist, and put it in /Library/LaunchDaemons (where local launch control files are supposed to live):
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=”1.0″>
<dict>
<key>Label</key>
<string>com.apple.cvspserver</string>
<key>UserName</key>
<string>cvs</string>
<key>Program</key>
<string>/usr/bin/cvs</string>
<key>ProgramArguments</key>
<array>
<string>cvs</string>
<string>-f</string>
<string>–allow-root=/Users/cvs</string>
<string>pserver</string>
</array>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockPassive</key>
<true/>
<key>SockServiceName</key>
<string>cvspserver</string>
<key>SockType</key>
<string>SOCK_STREAM</string>
</dict>
</dict>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
</dict>
</dict>
</plist>
You’ll have to change the –allow-root=/Users/cvs CVS root specification above to match your actual root, but otherwise the above should work.
Next, it doesn’t appear that cvs under Tiger can access the standard user/password database, so you’ll have to create a password file in your $CVSHOME/CVSROOT directory:
$ cd ~cvs/CVSROOT
$ sudo htpasswd -c passwd user1
$ sudo htpasswd passwd user2 # etc.
Then, you’ll need a
# launchctl load /Library/LaunchDaemons/cvspserver.list
and you should be in business. (At the next reboot, cvspserver.plist should be picked up by launchd.)
21st
JUN
PhoneGap: development apps for iPad
Posted by Keith under iPhone iPad development
http://phonegap.pbworks.com/iPad
- Create the project as per the Getting Started with PhoneGap (iPhone) page.
- Once created, edit the Project Settings (Project > Edit Project Settings) menu option
- Under the Configuration pop-up select All Configurations (added from the comment)
- In the ‘Build’ tab, scroll down to the ‘Deployment’ section
- Change the Targeted Device Family to ‘iPad’
21st
PhoneGap install
Posted by Keith under iPhone iPad development
As of today, the latest (release) version is 0.9.1 — but when 0.9.0 was release, it failed to install with error messages. Follow steps on this page to build the PhoneGap install package: http://choozang.net/244
It’s in Korean, but steps with screen shots are available on the page; just follow the steps.
21st
iPhone and iPad development
Posted by Keith under Lisp, iPhone iPad development
There are a few ways to develop applications for iPhone and iPad:
- Xcode
- Web app
- GameSalad
Xcode
With Xcode, of course, write codes in Objective-C and/or mix code in C++.
Web app
Basically it’s a web page using HTML5+CSS+JavaScript. But there are free tools like PhoneGap and Titanium Mobile to compile pages into native code.
GameSalad
It’s like Game Maker — all GUI and no coding. It’s still a lot of work to develop a game, but it removes coding completely. It’s not free — if one wants to sell apps on app store, it requires $99/yr fee to use the tool. But it’s free to toy around with it.
I played around with all three methods (Xcode with Objective-C, PhoneGap and GameSalad). For most of simple apps, PhoneGap will suffice. For simple games, GameSalad will do. For 3D intensive, or more sophisticated apps, use Xcode with Objective-C/C++.
RESROUCES
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jul | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||
Recent Posts
- Using SVN in Mac
- Setting up CVS pserver on OSX 10.4 and up (10.5, 10.6)
- PhoneGap: development apps for iPad
- PhoneGap install
- iPhone and iPad development
Recent Comments
- Pranav on Intro: Java ME and Palm
- Keith on Code Review tools
- Jesse Gibbs on Code Review tools
- pdumsproject on MS Project replacement (Desktop apps)
- sparky on EverNote, better than Microsoft OneNote
Categories
- Apple
- Architecture
- Books
- Clojure
- Cool Apps
- Development Tools
- Erlang
- Fun
- Golang
- iPhone iPad development
- J2EE
- J2ME
- Java
- Lisp
- Management
- PDA
- Sites
- Tips
- Unix/Linux
- Windows
Archives
- July 2010
- June 2010
- January 2010
- December 2009
- November 2009
- July 2009
- May 2009
- January 2009
- December 2008
- November 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- April 2007