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
| # long-running command growler | |
| # hooks for zsh, built on bash version at http://hints.macworld.com/article.php?story=20071009124425468 | |
| preexec_functions+='save_preexec_time' | |
| save_preexec_time() { | |
| export PREEXEC_CMD="$(history $HISTCMD | sed 's/ *[0-9]* *//')" | |
| export PREEXEC_TIME=$(date +'%s') | |
| } | |
| precmd_functions+='growl_about_long_running_commands' |
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
| /* | |
| Copyright 2010 Kevin Whinnery | |
| Licensed under the Apache License, Version 2.0 (the "License"); | |
| you may not use this file except in compliance with the License. | |
| You may obtain a copy of the License at | |
| http://www.apache.org/licenses/LICENSE-2.0 | |
| Unless required by applicable law or agreed to in writing, software |
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
| ## Roll your own python from source: | |
| wget http://www.python.org/ftp/python/2.6.5/Python-2.6.5.tgz | |
| tar -xzvf Python-2.6.5.tgz && cd Python-2.6.* | |
| ./configure --enable-framework=/Library/Frameworks --with-universal-archs=intel --enable-universalsdk=/ | |
| make | |
| sudo make install | |
| # Update the symlink for `python` (and check others) |
NewerOlder