Skip to content

Instantly share code, notes, and snippets.


Tien Tran coolersport

View GitHub Profile
View jenkins.js
var openConsole = function(e) {
window.location = this.href+'console';
return false;
var updateAllBuildLinks = function() {
// change default build link to console log
var es = document.querySelectorAll('a[href*="job/"]');
[], function(e) {
coolersport /
Created Nov 7, 2017
Run docker private registry with read/write access control
View coolersport.theme.bash
#!/usr/bin/env bash
# based on minimal theme
dark_grey="\[$(tput setaf 8)\]"
coolersport / jre8_linux.txt
Last active Jan 22, 2018
Latest Oracle JRE for Linux
View jre8_linux.txt
View Remove all git tags
#Delete local tags.
git tag -l | xargs git tag -d
#Fetch remote tags.
git fetch
#Delete remote tags.
git tag -l | xargs git push --delete origin
#Delete local tasg.
git tag -l | xargs git tag -d
coolersport /
Last active Aug 8, 2018 — forked from fappel/
JUnit 4 TestRule to run a test repeatedly for a specified amount of repetitions
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
* <p>
* Repeat annotation to be applied at the test method level to indicate how many time the test method to be executed
* repeatedly.
coolersport /
Last active Aug 27, 2015
Aspose Words output incorrect unicode characters

With the same code base, Aspose Words renders documents with unicode characters properly on Linux but not Windows. It may be related to encoding set in system properties.

Verify that the following system properties are set as below:

You can’t perform that action at this time.