This file contains 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
eclipse.buildId=4.3.0.M20130911-1000 | |
java.version=1.7.0_51 | |
java.vendor=Oracle Corporation | |
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=pl_PL | |
Framework arguments: -product org.eclipse.epp.package.jee.product -showlocation | |
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -showlocation | |
Error | |
Fri Feb 28 12:33:30 CET 2014 |
This file contains 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
Windows Firewall | |
Turn off | |
NetSh Advfirewall set allprofiles state off | |
Turn on | |
NetSh Advfirewall set allrprofiles state on | |
Check the status of Windows Firewall | |
Netsh Advfirewall show allprofiles |
This file contains 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
set JAVA_OPTS=-Dgroovy.source.encoding=UTF-8 -Dfile.encoding=Cp852 -Xmx1G |
This file contains 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.junit.Assert.*; | |
import static org.junit.matchers.JUnitMatchers.*; | |
import static org.hamcrest.CoreMatchers.*; |
This file contains 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
using System.Net.NetworkInformation; | |
var args = Env.ScriptArgs; | |
if(args.Count > 0) { | |
var ping = new Ping(); | |
var reply = ping.Send(args[0]); | |
Console.WriteLine("Pinging {0} [{1}]: {2}", args[0], reply.Address, reply.Status); | |
} |
This file contains 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
cver all -localonly |
This file contains 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
org.hamcrest.Matchers.* | |
org.hamcrest.CoreMatchers.* | |
org.junit.* | |
org.junit.Assert.* | |
org.junit.Assume.* | |
org.junit.matchers.JUnitMatchers.* | |
org.mockito.Mockito.* |
This file contains 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
private static String toUnicode(char ch) { | |
return String.format("\\u%04x", (int) ch); | |
} |
This file contains 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
def fmt = new java.text.SimpleDateFormat('EEE MMM dd HH:mm:ss zzz yyyy', Locale.US) | |
fmt.parse('Tue Jul 01 06:00:00 GMT+01:00 2014') |
This file contains 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
VSTest.Console.exe [TestFileNames] [Options] |
OlderNewer