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
tastle@tastle-w500 G=master uaa $ mvn clean install | |
[INFO] Scanning for projects... | |
[WARNING] The POM for org.springframework.build.aws:org.springframework.build.aws.maven:jar:3.0.0.RELEASE is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for org.cloudfoundry.identity:cloudfoundry-identity-common:jar:1.4.4 | |
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.cloudfoundry.identity:cloudfoundry-identity-parent:1.4.4, /home/tastle/NotMyCode/uaa/pom.xml, line 155, column 21 | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for org.cloudfoundry.identity:cloudfoundry-identity-scim:jar:1.4.4 | |
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.cloudfoundry.identity:cloudfoundry-identity-parent:1.4.4, /home/tastle/NotMyCode/uaa/p |
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
#!/bin/bash | |
# Just correct my typos | |
git config --global help.autocorrect 1 | |
# Configure git to cache HTTPS passwords for 6 hours | |
git config --global credential.helper cache | |
git config credential.helper 'cache --timeout=21600' | |
# Disable SSL checks if we are using self signed certs |
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
#!/bin/bash | |
LOG_FILE="/tmp/openshift-repo-mirror.log" | |
function doLog { | |
timestamp=`date +%Y/%m/%d\ %H:%M:%S\(%z\)` | |
echo "$timestamp | $@" >> "$LOG_FILE" | |
} | |
function doMirror() |
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
## begin nat | |
*nat | |
:PREROUTING ACCEPT [0:0] | |
:POSTROUTING ACCEPT [0:0] | |
:OUTPUT ACCEPT [0:0] | |
-A PREROUTING -i eth2 -p tcp --dport 80 -j DNAT --to-destination :8080 | |
COMMIT | |
### end nat |
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
#!/bin/bash | |
# The location of the JDK | |
NEW_JDK_LOCATION="/opt/java/jdk1.7.0_25" | |
sudo update-alternatives --install "/usr/bin/java" "java" "$NEW_JDK_LOCATION/bin/java" 1 | |
sudo update-alternatives --install "/usr/bin/javac" "javac" "$NEW_JDK_LOCATION/bin/javac" 1 | |
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "$NEW_JDK_LOCATION/bin/javaws" 1 | |
sudo update-alternatives --install "/usr/bin/jarsigner" "jarsigner" "$NEW_JDK_LOCATION/bin/jarsigner" 1 | |
sudo update-alternatives --install "/usr/bin/javah" "javah" "$NEW_JDK_LOCATION/bin/javah" 1 |
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
Acquire::http::Pipeline-Depth "0"; | |
Acquire::http::No-Cache=True; | |
Acquire::BrokenProxy=true; |
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
[puppetlabs-deps] | |
name=Puppet Labs Dependencies | |
baseurl=https://yum.puppetlabs.com/el/6/dependencies/x86_64/ | |
enabled=1 | |
gpgcheck=1 | |
gpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs |
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
' Does the following: | |
' 1: Convert all of the CVS in the current directory to XLSX files. | |
' 2: Deletes the CSVs | |
' | |
' Usage: | |
' 1: Place this script in the directory with the CSVs. | |
' 2: Double click it. | |
' 3: Jobs a good'un | |
' | |
' Borrowing heavily from here: |
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 ( | |
"log" | |
"net/http" | |
"crypto/tls" | |
"net" | |
"code.google.com/p/go.net/websocket" | |
) | |
const ( | |
tlsListenAddress = ":443" // Where are we listening for TLS connections (address:port) |
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
function timeStamp() { | |
var d = new Date(); | |
var hour = ('0' + d.getHours()).slice(-2); | |
var min = ('0' + d.getMinutes()).slice(-2); | |
var sec = ('0' + d.getSeconds()).slice(-2); | |
var mil = ('000' + d.getMilliseconds()).slice(-3); | |
return hour + ":" + min + ":" + sec + "(" + mil + ")"; | |
} | |