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/sh | |
# set the configuration variables below, before running the script | |
# get the solr nightly build download link from https://builds.apache.org/job/Solr-Artifacts-4.x/lastSuccessfulBuild/artifact/solr/package/ | |
JETTY_URL="http://eclipse.org/downloads/download.php?file=/jetty/stable-9/dist/jetty-distribution-9.0.6.v20130930.tar.gz&r=1" | |
JETTY_HOME="/opt/jetty" | |
JAVA='/usr/bin/java' | |
JETTY_PORT=8983 | |
JETTY_HOST=127.0.0.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
function css_browser_selector(u) { | |
var ua = u.toLowerCase(), | |
is = function(t) { | |
return ua.indexOf(t) > -1 | |
}, | |
g = 'gecko', | |
w = 'webkit', | |
s = 'safari', | |
o = 'opera', | |
m = 'mobile', |
NewerOlder