osascript -e 'tell app "TextMate" to reload bundles'
http://blog.macromates.com/2008/git-bundle/
Sunday, February 28, 2010
Friday, February 19, 2010
macosx tar - annoying ._* files
I noticed that tar generates files starting with ._* when creating an archive
And the corresponding listing in archive
Notice how it adds "._.htaccess"
I found the solution here
Here's the command for convenience
$COPYFILE_DISABLE=true tar cvzf jfa.tgz jfa
COPYFILE_DISABLE=true (for Leopard)
COPY_EXTENDED_ATTRIBUTES_DISABLE=true (for Tiger)
$ tar cvzf jfa.tgz jfa
And the corresponding listing in archive
ashee-mac:shiva amitava$ tar tvf jfa.tgz
drwxr-xr-x amitava/staff 0 2010-02-19 09:18:22 jfa/
-rw-r--r-- amitava/staff 187 2010-02-19 08:40:06 jfa/._.htaccess
-rw-r--r-- amitava/staff 616 2010-02-19 08:40:06 jfa/.htaccess
....
....
Notice how it adds "._.htaccess"
I found the solution here
Here's the command for convenience
$COPYFILE_DISABLE=true tar cvzf jfa.tgz jfa
COPYFILE_DISABLE=true (for Leopard)
COPY_EXTENDED_ATTRIBUTES_DISABLE=true (for Tiger)
Monday, February 15, 2010
Friday, February 5, 2010
F# in macosx
I downloaded FSharp-1.9.7.8 and attempted to run it in MacOSX using mono (2.4.2.3).
This kept exiting the prompt after brief attempts to spawn a GUI. I found the solution here
Invoke fsi.exe without gui and with readline as indicated in the link above
mono $FS_HOME/bin/fsi.exe
This kept exiting the prompt after brief attempts to spawn a GUI. I found the solution here
Invoke fsi.exe without gui and with readline as indicated in the link above
mono fsi.exe --readline+ --gui-
log4j - "appender is not assignable to Appender"
If you are getting "appender is not assignable to Appender" error in an attempt to configure log4j, just pass a system property as below
$) java -Dlog4j.ignoreTCL ...whatever...
See here
$) java -Dlog4j.ignoreTCL ...whatever...
See here
Subscribe to:
Posts (Atom)