;; Make it so we can load via ASDF just by using REQUIRE (I'm lazy)
;; mostly stolen from http://www.mail-archive.com/cmucl-help-bounce@cons.org/msg02514.html
(defun module-provide-asdf (name)
(let* ((name (string-downcase name))
(system (asdf:find-system name nil)))
(when system
(asdf:oos 'asdf:load-op name)
t)))
;; hook it in
(pushnew 'module-provide-asdf *module-provider-functions*)
Tuesday, December 30, 2008
To load ASDF-modules by using REQUIRE
Sunday, December 7, 2008
Create DMG from Finder folder
1. In Disk Utility: File->New->Disk Image From Folder... --> create read-write image
2. Mount the image
3. Customize the folder [1]
4 In Disk Utility: Images->Convert->Compressed (bzip2) [2]
[1] Create a hidden folder in the DMG-ed folder (.background). Put there an image. With Cmd-J (Show View Options) open View Options panel for the folder and select the image as a background to use.
[2] ?
2. Mount the image
3. Customize the folder [1]
4 In Disk Utility: Images->Convert->Compressed (bzip2) [2]
[1] Create a hidden folder in the DMG-ed folder (.background). Put there an image. With Cmd-J (Show View Options) open View Options panel for the folder and select the image as a background to use.
[2] ?
Saturday, December 6, 2008
Objective-C debugging tips
1. Run app from console with
2. Set
(Got from Dave Dribin's Blog)
OBJC_HELP
environment variable set to 1.2. Set
NSObjCMessageLoggingEnabled
env. variable to YES
or call to instrumentObjcMessageSends(YES)
to log all Objective-C messages.(Got from Dave Dribin's Blog)
Subscribe to:
Posts (Atom)