Microsoft Visual C++ 2005 Redistributable Package (x64)
Microsoft Visual C++ 2005 Redistributable Package (x86)
Microsoft Visual C++ 2005 SP1 Redistributable Package (x86)
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| // Disable all the Jenkins jobs | |
| import hudson.model.* | |
| for(item in Hudson.instance.items) { | |
| println("Disabled job: " + item.name + '\n') | |
| item.disabled=true | |
| item.save() | |
| } | |
| def queue = Hudson.instance.queue |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>group</groupId> | |
| <artifactId>dummy</artifactId> | |
| <name>Dummy Project</name> | |
| <version>1.0.12</version> | |
| <packaging>pom</packaging> | |
| <scm> | |
| <connection>scm:git:https://......</connection> | |
| <tag>HEAD</tag> |
| - name: ensure github.com is a known host | |
| lineinfile: | |
| dest: /root/.ssh/known_hosts | |
| create: yes | |
| state: present | |
| line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}" | |
| regexp: "^github\\.com" |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| configuration AdminRestAp { | |
| Import-DscResource -ModuleName xPSDesiredStateConfiguration | |
| Import-DscResource -ModuleName xNetworking | |
| Node "webserver" { | |
| <# | |
| Install windows features | |
| #> | |
| WindowsFeature InstallIIS { |
| #requires -version 2 | |
| <# | |
| .SYNOPSIS | |
| <Overview of script> | |
| .DESCRIPTION | |
| <Brief description of script> | |
| .PARAMETER <Parameter_Name> | |
| <Brief description of parameter input required. Repeat this attribute if required> |
| Function Log-Start{ | |
| <# | |
| .SYNOPSIS | |
| Creates log file | |
| .DESCRIPTION | |
| Creates log file with path and name that is passed. Checks if log file exists, and if it does deletes it and creates a new one. | |
| Once created, writes initial logging data | |
| .PARAMETER LogPath |
| #!/bin/sh | |
| DESC="Java Service" | |
| NAME=java-service | |
| PIDFILE=/tmp/$NAME.pid | |
| PATH_TO_JAR=~/java-service.jar | |
| PATH_TO_JAVA=/usr/local/jdk1.8.0_131/bin/java | |
| SERVICE_CONFIG='-Dserver.port=8080 -DLOG_PATH=/var/log' | |
| COMMAND="$PATH_TO_JAVA -- $SERVICE_CONFIG -jar $PATH_TO_JAR" |