Thomas Aylott has come up with a clever script that allows you to easily create Mac apps from shell scripts. Here’s how it works. Basically, a Mac application has a .app extension, but it’s not really a file — it’s a package. You can view... 続きを読む
Macで漫然とRubyをインストールすると、rails consoleやirbで日本語を使えないことがある。(どうなるかというと、日本語の変換を確定した途端に「\U+FFE3\U+FFAB」みたいにUnicodeのエスケープっぽいものが表示される。)そうなった時の直し方を説明する。 な... 続きを読む
Stream your photos, music and movies to the Web, your iPhone, iPad or Android音楽を自宅のネットワークの外にストリーミングしたり、動画をストリーミングするためにはプレミアムソフトウェア (2,980円) をご購入下さい。お持ちのパソコン何台にでもインス... 続きを読む
自宅のPC上に保存したMPEG-4形式のビデオ(ムービー)を出先から見る際、iOSデバイスであればStreamToMeやAirVideoが使いやすく、また画質も良いので重宝しているのですが(特にStreamToMeは1080iのMPEG2-TSをリアルタイムに変換出来るのでオススメ)、出来れば... 続きを読む
ruby, osx, lion, llvm, rvm下のエントリで紹介した patch を当てた ruby-1.9.2 を rvm でインストールするには --patch オプションを使いましょう。 $ curl -o ruby-1.9.2-lion.patch https://raw.github.com/gist/1110796/cb6097bdaaedd6d9525041ecabe5f78e77... 続きを読む
Macの外部モニタのアンチエイリアス問題 問題 Macではサブピクセルレンダリングという綺麗なアンチエイリアスの掛かるレンダリング手法が利用されている。 Apple製以外のサードパーティモニタ接続時、これが無効化される場合がある。 具体的には、モニタ接続後... 続きを読む
After playing with iremoted and Ruby’s IO.popen I guess I am convinced that Ruby really works as a glue on many levels. So, using iremoted and capture Apple remote commands in the terminal it is trivial to use the remote to control a Ruby ap... 続きを読む
© Amit Singh. All Rights Reserved. Written in January 2006 Introduction Certain Apple computers, such as the x86-based iMac and the MacBook Pro, ship with an infrared remote control that is used to control the Front Row media application. ire... 続きを読む
Keyboard and mouse shortcuts Keyboard and mouse shortcuts are combinations of keyboard strokes and mouse clicks that you can use to perform specific actions. Knowing some of the Google Chrome shortcuts listed below can help save you time. 続きを読む
iTunesとafplayを連携させるスクリプト、iTunes_afplay置き場現在の最新版をダウンロードするときは下記のリンクをクリックするか、保存してください ********************************************** 【 iTunes... 続きを読む
ファイルの最終アクセス日を記録しないように以前設定をして、書き込み頻度を下げましたが、/tmp を Ramdisk にして更に書き込み頻度を下げてみようと思います。 Mac OS XでRAMDiskを参考にして設定しました。 で、128MBのRAMDiskが出来ます。/dev/disk1 のデバ... 続きを読む
The problem is not solved although I accepted one answer. Problem: Vim updates very slowly the screen in Screen in Mac, although lazyredraw and showcmd are off. The line numbers get on the foldColumn as below, for instance, when I have line n... 続きを読む
シェルから画面の色を反転させるコマンドを作った. negaというコマンドを実行すると,色が反転する.内部的には,osascriptを使って,システムに色を反転するキーである,Command + Option + Control + 8を送ってる.28というのが,8を表すキーコード. #!/bin... 続きを読む
[macosx-jp:09570] TIPS KeyRepeat %defaults write NSGlobalDomain KeyRepeat 0 または %defaults write "Apple Global Domain" KeyRepeat 0 ログアウトして再ログイン。以上。 これでちょっとはましになった。これが素OSXの限界か。kbdaccみたいなのねーんか... 続きを読む
The Ruby on Rails web application framework has built up a tremendous head of steam over the last year. Fueled by some significant benefits and an impressive portfolio of real-world applications already in production, Rails is destined to con... 続きを読む
[mac][spotlight][del.icio.us] del.icio.usでソーシャルブックマークしたデータをSpotlightでパッと一瞬で検索できるdelimportが異常に便利だ 要するにdel.icio.usにブックマークしたURLとかコメントとかタイトルを取ってきて、Spotlightで全文検索データベー... 続きを読む