Skip to content

Instantly share code, notes, and snippets.

View t-yuki's full-sized avatar

Yukinari Toyota t-yuki

  • Yokohama, Japan
View GitHub Profile
@t-yuki
t-yuki / tcpdf.rb.patch
Last active December 25, 2015 06:39
A patch for http://www.redmine.org/issues/12447 Currently, PNG file that uses interlacing is not supported.
--- lib/plugins/rfpdf/lib/tcpdf.rb.orig 2013-10-11 14:42:17.062092119 +0900
+++ lib/plugins/rfpdf/lib/tcpdf.rb 2013-10-11 20:45:03.154108262 +0900
@@ -33,6 +33,7 @@
require 'tempfile'
require 'core/rmagick'
+require 'zlib'
#
# TCPDF Class.
@t-yuki
t-yuki / 0_MEMO.md
Last active November 24, 2016 13:12
Example gocov-xml Jenkins job with cobertura plugin for gocov project. You should edit GOROOT and GOPATH and remove `go get xxx`.

Points:

  1. Checkout git repository to subdir src/gocov using Local subdirectory for repo option of Jenkins Git Plugin.
  2. Add Jenkins $WORKSPACE to $GOPATH
  3. Convert gocov output. absolute path to relative path.
mkdir -p $JENKINS_HOME/gopath
export GOROOT=$JENKINS_HOME/workspace/golang
export GOPATH=$JENKINS_HOME/gopath:$WORKSPACE