Skip to content

Instantly share code, notes, and snippets.


Janik Vonrotz janikvonrotz

View GitHub Profile
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"}
janikvonrotz / helper.js
Last active Oct 17, 2016
Helper library for js projects #JavaScript #Meteor #Node
View helper.js
function concenateToPhrase(array, connectWord) {
var length = array.length;
var phrase = ""; => {
var index = array.indexOf(item);
// return word if theres is only one item
if(length == 1){
phrase = item;
janikvonrotz / Configure Lets Encrypt auto renewal for
Last active Feb 14, 2016
Configure Lets Encrypt auto renewal for certificates #Markdown #OpenSSL
View Configure Lets Encrypt auto renewal for

This post is part of my Your own Virtual Private Server hosting solution project.
Get the latest version of this article here:


Let’s Encrypt is a free, automated, and open certificate authority (CA), run for the public’s benefit. So far it works well and makes it easy to obtain a free certificate. Now the created certificates will expire withing 90 days. This post will show you how you can auto renew these certificates before they expire.


janikvonrotz / Favorite
Last active Jun 6, 2016
List of my favorite books #JanikVonrotz
View Favorite

Frank Schätzing

  • Limit

Stephen King

  • The Dark Tower series
  • Under the Dome

Christopher Paolini

janikvonrotz /
Last active Oct 22, 2015
Ubuntu: Install Python #Ubuntu #Python


Configure Python 3 and install pip. Pip allows us to easily manage any Python 3 package we would like to have.