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
janikvonrotz / Migrate-SPOFunctions.ps1
Created Feb 24, 2014
PowerShell: Migrate SharePoint PowerShell functions by Jeffrey Paarhuis #PowerShell #SharePointOnline
View Migrate-SPOFunctions.ps1
# change function directory
cd (join-path $PSfunctions.Path "SharePoint Online")
# download latest source code
Install-PPApp "Client-side SharePoint PowerShell" -Force -IgnoreDependencies
# delete example files
Get-ChildItem | where{$_.extension -eq ".ps1" -or $_.PSIsContainer} | Remove-Item -Force -Recurse -Confirm:$false
# copy dlls to lib folder
@janikvonrotz
janikvonrotz / Configuration.ini
Created Feb 25, 2014
SQL Server: SharePoint SQL Server 2008 R2 Best Practice #SQLServer #SharePoint
View Configuration.ini
;SQLSERVER2008 Configuration File
[SQLSERVER2008]
; Specify the Instance ID for the SQL Server features you have specified. SQL Server directory structure, registry structure, and service names will reflect the instance ID of the SQL Server instance.
INSTANCEID="MSSQLSERVER"
; Specifies a Setup work flow, like INSTALL, UNINSTALL, or UPGRADE. This is a required parameter.
ACTION="Install"
@janikvonrotz
janikvonrotz / Open-KeePass.ps1
Created Feb 25, 2014
PowerShell: Open KeePass with preselected key #KeePass #PowerShell
View Open-KeePass.ps1
& KeePass "N:\IT\passwordsafe\pwdb.kdbx" -preselect:"H:\Documents\pwdb.key"
@janikvonrotz
janikvonrotz / Install php5-fpm.md
Last active Aug 29, 2015
Ubuntu: Install php5-fpm #PHP #Markdown
View Install php5-fpm.md

Requirements

  • Ubuntu server

Installation

Install the package with aptitude.

sudo aptitude install php5-fpm
@janikvonrotz
janikvonrotz / Install npm package forever.md
Created Mar 4, 2014
Ubuntu: Install npm package forever #Markdown #Node.js
View Install npm package forever.md

Introduction

A simple CLI tool for ensuring that a given script runs continuously (i.e. forever).

Requirements

  • Ubuntu server
  • Node.js

Installation

@janikvonrotz
janikvonrotz / Update Ubuntu server.md
Created Mar 6, 2014
Ubuntu: Update Ubuntu server #Ubuntu #Markdown
View Update Ubuntu server.md

Requirements

  • Ubuntu server

Instructions

Update the list of available packages.

sudo aptitude update
@janikvonrotz
janikvonrotz / Install Node.js Nginx proxy website.md
Created Mar 7, 2014
Ubuntu: Install Node.js Nginx proxy website #Node.js #Nginx #Markdown
View Install Node.js Nginx proxy website.md

Introduction

It's recommanded to publish a Node.js application with a Nginx proxy website.

Requirements

  • Ubuntu server
  • Node.js
  • Nginx
  • Nginx minimal website
@janikvonrotz
janikvonrotz / Convert SSL certificates.md
Created Mar 7, 2014
Ubuntu: Convert SSL certificates #OpenSSL #Markdown
View Convert SSL certificates.md

Requirements

  • Get a free verified SSL certificate from StartSSL (optional)

Instructions

When buying a certificate from you CA (Certification Authority) e.g. a wildcard certificate for *.example.org, you have to convert this file to different formats in order to use them with your webserver installation.

To convert these files use OpenSSL.

@janikvonrotz
janikvonrotz / Migrate WordPress website.md
Created Mar 7, 2014
Ubuntu: Migrate WordPress website #WordPress #Markdown
View Migrate WordPress website.md

Introduction

This guide assumes that you're going to migrate a WordPress website from one server to an other.

Requirements

  • Ubuntu server
  • Nginx
  • Nginx minimal website
  • php5-fpm
@janikvonrotz
janikvonrotz / Get a free verified SSL certificate from StartSSL.md
Created Mar 8, 2014
Get a free verified SSL certificate from StartSSL #Markdown #OpenSSL
View Get a free verified SSL certificate from StartSSL.md

SSL certificates aren't cheap. You can create them on your own for private use. However for internet use you have to get a verified certificate.

Luckily there's https://www.startssl.com/

They offer you a class 1 SSL certificate for free. Their site might not look trustworthy, but I'm quite shure they do a great job.

You can’t perform that action at this time.