Useful if you are testing something
watch echo "HELLOA `date`" | socat - UDP4-DATAGRAM:192.168.1.0:19838,sp=19835,broadcast,range=192.168.1.5/32
systemProp.http.proxyHost=www.proxyhost.org systemProp.http.proxyPort=8080 systemProp.http.proxyUser=userid systemProp.http.proxyPassword=password systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
Have fun.
-p
tells it to loop through the input and print-0777
tells it to use the end of file as the input separator, so that it gets the whole thing in in one slurp-e
means here comes the stuff I want you to do@
as a delimiter so you don't have to escape /
*?
, the non-greedy version, to match as little as possible, so we don't go all the way to the last occurrence of </xyz>
in the files
modifier to let .
match newlines (to get the multiple-line tag values)g
modifier to match the pattern multiple timesHtmlUnitDriver driver = new HtmlUnitDriver(); driver.setJavascriptEnabled(true);
HtmlUnitDriver driver = new HtmlUnitDriver(true);
HtmlUnitDriver driver = new HtmlUnitDriver(BrowserVersion.FIREFOX_3);
HtmlUnitDriver driver = new HtmlUnitDriver(capabilities);