Showing posts with label os x. Show all posts
Showing posts with label os x. Show all posts
Saturday, October 24, 2009
Flex ve Türkçe Karakterler
Flex uygulamanızı derlerken şuna benzer bir hata alıyorsanız bu sorun sisteminizdeki Türkçe ayarlarından kaynaklanmakta:
Error: Could not resolve to a component implementation.
Bunu düzeltmek için birkaç yol var:
Windows'ta iseniz Flex SDK'nın bin klasöründeki jvm.config dosyasındaki
java.args=-Xmx384m -Dsun.io.useCanonCaches=false
satırını
java.args=-Xmx384m -Duser.language=en -Duser.region=US -Dsun.io.useCanonCaches=false
olarak değiştirin.
Mac ya da Linux'ta ise mxmlc dosyasını bir metin düzenleyici ile açıp
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
satırını
VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false -Duser.language=en -Duser.country=US"
olarak değiştirin.
Ayrıntılı bilgi: http://livedocs.adobe.com/flex/3/html/help.html?content=configuring_environment_3.html
Flex Builder kullanıyorsanız, alternatif olarak FlexBuilder.ini dosyasına -Duser.language=en
-Duser.location=us
satırlarını ekleyebilirsiniz. Mac'te bu dosyayı bulmak için Flex Builder.app'e sağ tıklayın, Show Package Contents'i tıklayın, Contents>MacOS klasörüne gidin.
Wednesday, June 17, 2009
Sunday, June 14, 2009
Make OS X Terminal Behave
Just choose dtterm as Terminal declaration.
Delete sends Ctrl-H might help too.
http://hans.fugal.net/blog/2008/02/12/os-x-terminal-emulation-woes
Tuesday, April 21, 2009
Sort Directories by Disk Usage
du -sm * | sort -rg
Calculates the disk usage in MB's and sorts in reverse order.
Wednesday, January 07, 2009
Entering Turkish Characters in Mac OS X without Changing the Keymap
It is possible to enter some Turkish characters using the English character map in Mac OS X.
- ı : Option + Shift + b
- ü : Option + u, then, u
- ö : Option + u, then, o
- ç : Option + c
- î : Option + i, then i : This is for accented ı's, as in: Rumî.
- â: Option + i, then a : As in kâğıt.
Friday, May 16, 2008
Friday, May 09, 2008
Disable Anti-Aliasing in Matlab in Mac OS X : AntiAntiAliasing
Usual disabling of font smoothing does not work for Matlab 2008a since it uses Java for the IDE.
To overcome this, create a file called java.opts with the following content:
-Dapple.awt.textantialiasing=off
and put it under bin/maci folder under /Applications/Matlab directory. Now editor and command line should be aliased, even though some parts of the GUI stay the same.
Also, under Leopard, slow IDE performance is solved by appending this line in java.opts in a separate line:
-Dapple.awt.graphics.UseQuartz=true
Note that these should be on separate lines and no space should be between the options. You can check whether this works by the command: java.lang.System.getProperty('apple.awt.graphics.UseQuartz')
Matlab in Aquamacs under OS X 10.5
One can use Matlab without the IDE, under emacs.
You need to set the value of
matlab-shell-command-switches to '("-nojvm -nosplash") , and in .bash_profile; append export DISPLAY=localhost:0.0
Friday, May 02, 2008
pbcopy : Copy from Terminal Output to Clipboard
OS X has a nice command called
pbcopy which lets you to copy terminal output to the clipboard. Through command line redirection, you pipe the output to pbcopy.
E.g.: make &> | pbcopy
Multiple Music Libraries in itunes
I keep some of my music on an external disk, however when the disk is not plugged, itunes cannot find the files and stops playback.
One fix for this is to have multiple itunes libraries : one for both the files in the internal and external disks; and another for files only in the internal disk.
To create and select which library itunes will use, hold down Option in Mac (Shift in Windows) when opening itunes. It will ask you which library to use; and whether you want to create another library. Typically, your current library resides in the "itunes" folder in your "Music" directory; another directory will be created inside the "Music" directory. I have named my libraries "ExternalInternal" and "Internal"; and when it asks you which library to use, typing the first few letters will take you to the matching folder; so that you don't have to scroll down to find them.
There's also an app called Libra which takes care of this issue, though I haven't tried it yet. I assume it was useful when this feature was not implemented yet in itunes, i.e. pre itunes 7.
Tuesday, April 29, 2008
Improving Quicklook : Make Quicklook Recognize Text Files without the Extension txt
qlmanage -p -c public.plain-text "$@" 2> /dev/null &
I got this from here.
Also, Folder.qlgenerator is noteworthy.
Sunday, April 27, 2008
Switch Control and Alt buttons in Windows (for OS X users)
See http://alanhogan.com/tips/swap-left-alt-and-ctrl-keys-in-windows
Friday, April 25, 2008
Modify iTunes link arrows' behavior
defaults write com.apple.iTunes invertStoreLinks -bool YES
via : MacOSXHints
Colloquy Bug : Hides Channel Output
Sometimes Colloquy makes the text on a channel invisible.
Type "/reload style" to make content visible again.
Disable Antialiasing in OS X
1. Per app setting:
defaults write -app Opera AppleAntiAliasingThreshold 40
where 40 is your threshold.
2. Global setting
defaults write -g AppleAntiAliasingThreshold 40
or use Tinkertool.
Subscribe to:
Posts (Atom)