Skip to content

Instantly share code, notes, and snippets.

@nikolauskrismer
nikolauskrismer / create3dModel_colmapAndOpenMVS.bat
Last active October 9, 2018 11:57
Photogrammetrie: script for creating a 3d model out of multiple jpg images (using COLMAP and openMVS)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Generates a 3D model out of multiple photographs using ::
:: COLMAP and openMVS. See https://peterfalkingham.com/ for more ::
:: information about photogrammetrie. ::
:: ::
:: Note that the COLMAP library folder needs to be added to the ::
:: PATH environment variable in order for this script to work. ::
:: ::
:: Copyright 2018, Peter Falkingham (v1.0, v1.1) ::
:: Copyright 2018, Nikolaus Krismer (v1.2) ::
@nikolauskrismer
nikolauskrismer / get_oracle_jdk_linux_x64.sh
Last active September 19, 2018 14:14 — forked from n0ts/get_oracle_jdk_x64.sh
Get latest Oracle JDK package bash shell script
#!/bin/bash
# You must accept the Oracle Binary Code License
# http://www.oracle.com/technetwork/java/javase/terms/license/index.html
#
# @author 2014-2017 n0ts <[email protected]> (https://gist.github.com/n0ts/40dd9bd45578556f93e7)
# @author 2018 niko <[email protected]> (https://gist.github.com/nikolauskrismer/d0818c3e27d18bc7a25e6c5c197f42c6)
#
# usage: get_oracle_jdk_linux_x64.sh <jdk_version> <ext>
#
@nikolauskrismer
nikolauskrismer / copyToGallery.sh
Last active August 10, 2018 12:46
Copies images and movies from a src directory to a destination directory
#! /bin/bash
################################################################################
# Name: #
# copyToGallery.sh #
# #
# Description: #
# Copies images and movies from a src directory to a destination directory. #
# This is most useful for keeping raw files in one folder, while providing #
# jpg files in a (piwigo) web gallery #
@nikolauskrismer
nikolauskrismer / checkstyle_nkrchecks.xml
Created June 4, 2018 11:08
Checkstyle configuration file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
<!--
Checkstyle-Configuration: NKrChecks
Description:
Slightly modified version of Sun Checks that better matches the default code formatter setting of Eclipse.
-->
<module name="Checker">
<property name="severity" value="warning"/>
<module name="TreeWalker">
@nikolauskrismer
nikolauskrismer / checkstyle.gradle
Last active June 4, 2018 11:11
Includes checkstyle_nkr.xml configuration file
/*
* Version handling checkstyke_nkrchecks.xml download
*/
apply plugin: 'checkstyle'
checkstyle {
configFile = file("${buildDir}/checkstyle.xml")
ignoreFailures = true
showViolations = false
toolVersion = '+'
@nikolauskrismer
nikolauskrismer / changelog.gradle
Created June 4, 2018 11:05
Gradle script creating a changelog out of git commit messages
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "org.ajoberstar:grgit:+"
}