Skip to content

Instantly share code, notes, and snippets.

Janik Vonrotz janikvonrotz

Block or report user

Report or block janikvonrotz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
janikvonrotz / Collect-ImageMetadata.ps1
Last active Aug 16, 2019
Extract and transfrom metadata of all image files in a folder#powershell
View Collect-ImageMetadata.ps1
Function Get-FileMetaData {
foreach($sFolder in $folder)
$a = 0
$objShell = New-Object -ComObject Shell.Application
$objFolder = $objShell.namespace($sFolder)
foreach ($File in $objFolder.items())

Title: Tao-te-King
Author: Lao Tse
Comment: The bible of daoism. Love the quotes and most of them are as relevant as it gets for today.
Rating: 8/10
ISBN: 9783257791259
Finished: 17.12.2018

Title: Supernova Era

janikvonrotz / map.geojson
Last active May 20, 2019
Places I've been to
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
title author
Janik von Rotz



The knoweldge articles are stored in a strict structure. There are 7 top level folders:

janikvonrotz / Convert-KeePassToPass.ps1
Last active Oct 20, 2019
Convert KeePass to Pass #KeePass #PowerShell
View Convert-KeePassToPass.ps1
[xml]$Content = Get-Content -Path "KeepassData.xml"
Access the xml data:
function Traverse-Tree ($Node, $ParentPath) {
janikvonrotz / Meteor project
Created Mar 28, 2017
Meteor project structure #Markdown #Meteor
View Meteor project

Meteor project structure

The Meteor project structure (MPS) is a proposal for a simple file and folder naming specification.

There are several basic distinctions when building a Meteor project structure. First there is a client, server and an imports folder. All folders have specific naming rules and differ in their structure.

Global restrictions are applied to all folders:

  • Non-npm-package-import sources are always index.js files.
  • Every first-level subfolder contains an index.js file.
janikvonrotz /
Created Feb 17, 2017
Convert-ImageToSVG #ImageMagick
convert input.jpg output.ppm
potrace -s output.ppm -o svgout.svg
janikvonrotz /
Last active Feb 28, 2017
Keybase proof

Keybase proof

I hereby claim:

  • I am janikvonrotz on github.
  • I am janikvonrotz ( on keybase.
  • I have a public key whose fingerprint is 256C CDF7 5B8F C4CC FA86 0382 6A0E A5EA F417 5898

To claim this, I am signing this object:

janikvonrotz / Create-IndexJsForNodeProjects.ps1
Last active Jun 29, 2017
Create index.js for node.js project #PowerShell #Node.js
View Create-IndexJsForNodeProjects.ps1
$import = ""
$export = @()
Get-ChildItem | Where-Object{!@("store", "index").contains($_.BaseName)} | ForEach-Object{
$import += "import $($_.baseName) from '$($_.baseName)';`n"
$export += $_.BaseName
janikvonrotz / Convert-ImageFile.ps1
Created Oct 17, 2016
Convert image file format #PowerShell #GraphicsMagick
View Convert-ImageFile.ps1
Get-ChildItem | foreach{Invoke-Expression "gm.exe convert $($_.Name) $($_.BaseName).png"}
You can’t perform that action at this time.