This file contains 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
port -y install git-core | |
---> Computing dependencies for git-core | |
---> Dependencies to be installed: curl curl-ca-bundle perl5 perl5.8 libidn gettext expat libiconv gperf ncurses ncursesw openssl zlib pkgconfig p5-error python26 bzip2 db46 gdbm readline sqlite3 rsync popt | |
For perl5.8: skipping org.macports.main (dry run) | |
For perl5: skipping org.macports.main (dry run) | |
For curl-ca-bundle: skipping org.macports.main (dry run) | |
For expat: skipping org.macports.main (dry run) | |
For gperf: skipping org.macports.main (dry run) | |
For libiconv: skipping org.macports.main (dry run) | |
For ncursesw: skipping org.macports.main (dry run) |
This file contains 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
$ brew install -vd mit-scheme | |
==> Build Environment | |
CC: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
MAKEFLAGS: -j2 | |
==> Downloading http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.0.1/mit-scheme-c-9.0.1.tar.gz | |
curl -f#LA Homebrew 0.7.1 (Ruby 1.8.7-174; Mac OS X 10.6.4) http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.0.1/mit-scheme-c-9.0.1.tar.gz -o /Users/tianyi/Library/Caches/Homebrew/mit-scheme-9.0.1.tar.gz |
This file contains 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
$ brew install -v ocaml | |
==> Build Environment | |
CC: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CXX: /usr/bin/c++ => /usr/bin/c++-4.2 | |
LD: /usr/bin/cc => /usr/bin/gcc-4.2 | |
CFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
CXXFLAGS: -O3 -march=core2 -msse4.1 -w -pipe | |
MAKEFLAGS: -j2 | |
==> Downloading http://caml.inria.fr/pub/distrib/ocaml-3.12/ocaml-3.12.0.tar.bz2 | |
File already downloaded and cached to /Users/tianyi/Library/Caches/Homebrew |
This file contains 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
tell application "Address Book" | |
repeat with this_person in every person | |
if exists (phone of this_person) then | |
repeat with this_phone in phones of this_person | |
set temp to value of this_phone | |
if the length of temp is equal to 12 and the character 1 of temp is equal to "1" then | |
set value of this_phone to "+86" & temp | |
end if | |
if the length of temp is equal to 6 then | |
set label of this_phone to "short" |
NewerOlder