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
SET JENKINS_HOME=C:\jenkins | |
SET JAVA_EXE="c:\Program Files\Java\jre1.8.0_65\bin\java.exe" | |
%JAVA_EXE% -jar jenkins.war |
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
' Multiple references were used to create this, but the closest is: | |
' https://gallery.technet.microsoft.com/scriptcenter/Stop-locking-computer-by-3d6e2ac2 | |
Set ws = WScript.CreateObject("WScript.Shell") | |
Do | |
'Every 10 minutes should do | |
Wscript.Sleep (1000 * 60 * 10) | |
ws.sendkeys("{NUMLOCK}{NUMLOCK}") | |
Loop |
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
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:320:in `start': can't create Thread (12) (ThreadError) | |
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:320:in `create_with_logging_context' | |
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:294:in `start' | |
from C:/opscode/chef/embedded/lib/ruby/1.9.1/timeout.rb:60:in `timeout' | |
from C:/opscode/chef/embedded/lib/ruby/1.9.1/timeout.rb:100:in `timeout' | |
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:872:in `parse_header' | |
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:855:in `read_header' | |
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/httpclient-2.6.0.1/lib/httpclient/session.rb:662:in `get_header' | |
from C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/httpclient-2.6.0.1/lib/httpclient.rb:1247: |
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
@echo off | |
:: This is a handy file to put in a common gradle directory, say C:\Program Files\Gradle, and add that directory to the path | |
:: Then, when you want to change which version of gradle is used by default, you simply update the batch file to point to that version, without | |
:: needing to update your path variable. | |
SET GRADLE_DIR="C:\Program Files\Gradle\gradle-1.10" | |
%GRADLE_DIR%\bin\gradle %* |
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
#Gradle | |
.gradle/ | |
build/ | |
# Eclipse | |
.classpath | |
.project | |
.settings/ | |
bin/ |
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 java.io.IOException; | |
import java.io.OutputStream; | |
import javax.swing.JOptionPane; | |
import org.codehaus.groovy.runtime.ProcessGroovyMethods; | |
public class JavaFromJava | |
{ |