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 | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=1.8 |
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
| --- /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SystemProfileFactory.py.orig 2011-09-15 14:28:14.000000000 -0400 | |
| +++ /opt/vertica/oss/python/lib/python2.7/site-packages/vertica/network/SystemProfileFactory.py 2011-09-15 14:29:51.000000000 -0400 | |
| @@ -142,8 +142,14 @@ | |
| if (res[0] == '0'): | |
| opsys = DBinclude.OS_DEBIAN | |
| return opsys, host | |
| + | |
| + (status, res) = ssh.execute("grep \"squeeze\" /etc/debian_version", hide=True) | |
| + if (res[0] == '0'): | |
| + opsys = DBinclude.OS_DEBIAN |
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
| public class BlockingQueue implements Queue { | |
| private java.util.Queue queue = new java.util.LinkedList(); | |
| /** | |
| * Make a blocking Dequeue call so that we'll only return when the queue has | |
| * something on it, otherwise we'll wait until something is put on it. | |
| * | |
| * @returns This will return null if the thread wait() call is interrupted. | |
| */ |
NewerOlder