Mac OS X 10.6.8 / Automator 2.1.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| property ffplay : "/usr/local/bin/ffplay" | |
| on main(input) | |
| do shell script ffplay & space & quoted form of input | |
| end main | |
| on open argv | |
| repeat with aFile in argv | |
| main(POSIX path of aFile) | |
| end repeat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- | |
| -- Winetricks.app - Winetricks GUI | |
| -- Created by mattintosh4 on 2013-04-09. | |
| -- Copyright (c) 2013 mattintosh4, https://github.com/mattintosh4/iNSTANTWiNE | |
| -- | |
| -- user edit area | |
| property PREFIX : "/usr/local/bin" | |
| property WINEPREFIX : "$HOME/.wine" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # OSXShellScriptAppBuilder (C) 2012 mattintosh4 | |
| # | |
| # Usage: | |
| # bash <(curl https://raw.github.com/mattintosh4/OSXShellScriptAppBuilder/master/OSXShellScriptAppBuilder.sh) "module-name" | |
| cat <<__EOF__ | |
| ================================================================ |
Automator のシェルスクリプトアクションで使えるサンプル集です。「アプリケーション」や「サービス」を作成するときにどうぞ。
- 製作者: mattintosh
- ブログ: http://mattintosh.blog.so-net.ne.jp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -------------------------------------- | |
| # Google search from terminal | |
| # -------------------------------------- | |
| ggr(){ | |
| _gU="$(echo $* | sed -e 's/^-[a-z] //' -e 's/ /+/g')" | |
| _gU="https://www.google.co.jp/#hl=ja&safe=off&output=search&sclient=psy-ab&q=${_gU}&oq=${_gU}" | |
| case $1 in | |
| -c) _gA="/Applications/Google Chrome.app";; | |
| -f) _gA="/Applications/Firefox.app";; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case "$(defaults read com.apple.finder CreateDesktop)" in | |
| 0) defaults write com.apple.finder CreateDesktop -bool YES;; | |
| 1) defaults write com.apple.finder CreateDesktop -bool NO;; | |
| esac | |
| killall Finder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir build-32 && cd build-32 && ABI=32 \ | |
| ../configure \ | |
| --prefix=/usr/local/tools/gmp/5.0.5/i386 \ | |
| --enable-cxx && make -j4 && make check && make install && cd ../ && mkdir build-64 && cd build-64 && ABI=64 \ | |
| ../configure \ | |
| --prefix=/usr/local/tools/gmp/5.0.5/x86_64 \ | |
| --enable-cxx && make -j4 && make check && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .webkit-line-gutter-backdrop + table{ | |
| background-color:rgb(25,25,25); | |
| font-size:12px; | |
| line-height:1.5 | |
| } | |
| .webkit-line-gutter-backdrop + table .webkit-line-content{ | |
| color:rgb(255,255,255); | |
| font-family:"dejavu sans mono",monospace; | |
| white-space:pre | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #contentWrap{ | |
| position:relative; | |
| padding-top:45px; /* フッターメニューの高さに合わせて調整 */ | |
| } | |
| #contentBox{ | |
| padding:0; | |
| } | |
| .footNavi{ | |
| margin:0; | |
| position:absolute; |