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
#!c:/perl/bin/perl.exe | |
# ActiveState perl | |
# with DBI, DBD-ODBC | |
# | |
# ppm install DBI | |
# ppm install DBD-ODBC | |
# ODBC DSN for source etiming database | |
#$SDSN='driver=Microsoft Access Driver (*.mdb);dbq=o:\2016\fossum\3-stafett\etime.mdb'; |
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/sh | |
sudo yum update -y | |
sudo rpm --import http://packages.confluent.io/rpm/1.0/archive.key | |
sudo sh -c 'cat > /etc/yum.repos.d/confluent.repo <<EOF | |
[confluent-1.0] | |
name=Confluent repository for 1.x packages | |
baseurl=http://packages.confluent.io/rpm/1.0 | |
gpgcheck=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
#!/bin/sh | |
tmpfile="/tmp/jstack-$$" | |
if [ -f "$1" ]; then | |
echo "Using '$1'" | |
fn=$1 | |
else | |
echo "Using default" | |
jstack `jps | grep -E "Boot|Resin"| awk '{print $1}'` > $tmpfile | |
fn=$tmpfile |
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
// InputStream kdata = new GZIPInputStream(this.getClass().getClassLoader().getResourceAsStream("kommuner.geojson.gz")); | |
/* | |
for (final MapPoint p : l) { | |
List<GeomapperKommune.Kommune> res = mapper.intersects(p); | |
//System.out.println("::: " + res); | |
} | |
*/ | |
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
### Keybase proof | |
I hereby claim: | |
* I am hennings on github. | |
* I am spjelkavik (https://keybase.io/spjelkavik) on keybase. | |
* I have a public key whose fingerprint is AAF3 B74B C868 2B18 040C 720C 0112 9D64 A47F F55E | |
To claim this, I am signing this object: |
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
<%@ page pageEncoding="UTF-8" language="java" contentType="text/html;charset=UTF-8"%> | |
<%@ page import="org.apache.logging.log4j.LogManager, org.apache.logging.log4j.Level, | |
org.apache.logging.log4j.core.LoggerContext , org.apache.logging.log4j.core.config.LoggerConfig, | |
java.util.Map"%> | |
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> | |
<% long beginPageLoadTime = System.currentTimeMillis();%> | |
<!-- | |
THE REASON THIS UTILITY WAS WRITTEN USING SCRIPLET AND NOT TAGS OR UTILS |