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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("flowdock.com") { | |
.chat-message, .comment-message, .action-message, .line-message, .status-message, .file-message, .error-message { | |
padding-top: 0 !important; | |
padding-bottom: 0 !important; | |
font-family: Ubuntu,Tahoma,sans-serif !important; | |
font-size: 10px !important; | |
} | |
} |
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
#!/usr/bin/perl | |
use File::Temp qw/ :mktemp /; | |
my @params = grep(/^-/,@ARGV); | |
@ARGV = grep(!/^-/,@ARGV); | |
my $tmp = $ENV{"TMP"}; | |
$tmp = "/tmp" unless(defined($tmp)); | |
($tmpfh, $tmpfile) = mkstemp($tmp."/diff_u.XXXXXX"); |
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
<botConfig> | |
<irc-settings> | |
<encoding>utf-8</encoding> | |
<fallbackEncoding>iso-8859-15</fallbackEncoding> |
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
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-enforcer-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>ban-unwanted-dependencies</id> | |
<goals> | |
<goal>enforce</goal> | |
</goals> |
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
log4j.debug=false | |
# Default level is INFO | |
log4j.rootLogger=INFO,StdoutErrorFatal,StdoutWarn,StdoutInfo,StdoutDebug,StdoutTrace | |
# and for com.some.package.* log everything | |
log4j.logger.com.some.package=TRACE | |
log4j.appender.StdoutErrorFatal=org.apache.log4j.ConsoleAppender | |
log4j.appender.StdoutErrorFatal.layout=org.apache.log4j.PatternLayout |
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 | |
if [ "$1" = "-profile" ]; then | |
exec ${HOME}/firefox-20.0/firefox "$@" | |
echo Failed to start Firefox | |
exit 1 | |
fi | |
exec /usr/bin/firefox "$@" |
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
cat > .git/hooks/post-receive <<EOF | |
#!/bin/bash | |
set -e | |
cd .. | |
unset GIT_DIR | |
git reset --hard HEAD -- | |
# put any additional cleanup/reload commands here | |
EOF | |
chmod ug+rx .git/hooks/post-receive |
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
import static org.apache.catalina.Lifecycle.*; | |
import static org.apache.catalina.LifecycleState.*; | |
import org.apache.catalina.*; | |
import org.apache.catalina.connector.Connector; | |
import org.apache.catalina.startup.Tomcat; | |
// ... | |
tomcat.getServer().addLifecycleListener(new LifecycleListener() { | |
@Override | |
public void lifecycleEvent(final LifecycleEvent event) { |
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 | |
if [ $# -lt 1 ]; then | |
echo usage: "$0 <perl> [<file1> ...]" | |
exit 1 | |
fi | |
sed="$1" | |
shift |
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
FirefoxBinary firefox = new FirefoxBinary(); | |
// allow user to specify which DISPLAY to use if running e.g. Xephyr | |
String display = System.getProperty("firefoxDisplay"); | |
if (display != null) { | |
firefox.setEnvironmentProperty("DISPLAY", display); | |
} | |
WebDriver driver = new FirefoxDriver(firefox, null); |
OlderNewer