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
pub 2048D/4F238505 2011-09-20 | |
uid Thomas Jungblut <[email protected]> | |
sig 3 4F238505 2011-09-20 Thomas Jungblut <[email protected]> | |
pub 4096R/56623ACB 2014-04-22 | |
uid Thomas Jungblut (apache account email pgp client blax) <[email protected]> | |
sig 3 56623ACB 2014-04-22 Thomas Jungblut (apache account email pgp client blax) <[email protected]> | |
sub 4096R/BDDECF6D 2014-04-22 | |
sig 56623ACB 2014-04-22 Thomas Jungblut (apache account email pgp client blax) <[email protected]> |
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
/** | |
* Licensed to the Apache Software Foundation (ASF) under one | |
* or more contributor license agreements. See the NOTICE file | |
* distributed with this work for additional information | |
* regarding copyright ownership. The ASF licenses this file | |
* to you under the Apache License, Version 2.0 (the | |
* "License"); you may not use this file except in compliance | |
* with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 |
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
String pathBase = "/home/thomasjungblut/Downloads/"; | |
PDDocument source = PDDocument.load(pathBase | |
+ "c1.pdf"); | |
PDDocument lastPage = PDDocument.load(pathBase + "updated.pdf"); | |
source.removePage(source.getNumberOfPages() - 1); | |
source.addPage( (PDPage) lastPage.getDocumentCatalog().getAllPages().get(0) ); | |
source.save(pathBase + "c2_updated.pdf"); |
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
package de.jungblut.benchmark; | |
import java.util.ArrayList; | |
import com.google.caliper.Param; | |
import com.google.caliper.Runner; | |
import com.google.caliper.SimpleBenchmark; | |
public class PerfectSquaresBenchmark extends SimpleBenchmark { |
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
package de.jungblut.benchmark; | |
import java.util.Random; | |
import com.google.caliper.Param; | |
import com.google.caliper.Runner; | |
import com.google.caliper.SimpleBenchmark; | |
import de.jungblut.math.DoubleMatrix; | |
import de.jungblut.math.cuda.JCUDAMatrixUtils; |
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
package de.jungblut.index | |
import scala.collection.mutable.ArrayBuffer | |
import scala.collection.mutable.MultiMap | |
import scala.collection.mutable.HashMap | |
import scala.collection.mutable.Set | |
final class Index[T](nGramSize: Int) { | |
private val index = new HashMap[String, Set[T]] with MultiMap[String, T] |
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
package de.jungblut.ml; | |
import java.io.BufferedReader; | |
import java.io.FileNotFoundException; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.regex.Pattern; |
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
package de.jungblut.ml; | |
import java.awt.Color; | |
import java.awt.FlowLayout; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; |
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.File; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.concurrent.Callable; | |
import java.util.concurrent.ExecutorCompletionService; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
import org.apache.hadoop.io.IntWritable; |
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
package de.jungblut.benchmark; | |
import java.util.Random; | |
import com.google.caliper.Param; | |
import com.google.caliper.Runner; | |
import com.google.caliper.SimpleBenchmark; | |
public class MatMultBenchmark extends SimpleBenchmark { |