Skip to content

Instantly share code, notes, and snippets.


Jeroen Heijmans jeroenheijmans

View GitHub Profile
jimmymcp / .multi-stage-azure-pipelines.yml
Created Sep 24, 2019
Example multi-stage YAML pipeline for Azure DevOps
View .multi-stage-azure-pipelines.yml
- '*'
name: Default
container_name: Build
company_name: My Company

Here is my live stream setup kit :)

If you are doing a personal stream, I recommend only streaming to a single service such as Twitch. It is better for community building and easier on the streamer. Additionally, if you become an affiliate you are locked into a platform anyways.

How my setup works is that I have my main Desktop PC that has my streaming software, chat, alerts, music, and such all running on it. I have a second surface book that has HDMI out into the capture card in my Desktop PC. I do this because often when you compile apps it may freeze up your computer and stream :(. I have 2 sets of keyboards and mice and 2 monitors that I work off of. This works for me, but you do you :)


  • OBS: Your main go to for streaming software. It works on every OS :). If you want something with everything baked in take a look at Streamlabs OBS.
  • Streamlabs has all of your pop ups for subscribers and such on t
jeroenheijmans / angular-oauth2-oidc-extra-logging-snippet.ts
Last active May 20, 2019
Custom logging for angular-oauth2-oidc library
View angular-oauth2-oidc-extra-logging-snippet.ts
import { OAuthErrorEvent } from 'angular-oauth2-oidc';
// ... => {
if (event instanceof OAuthErrorEvent) {
} else {
jeroenheijmans / ngb-momentjs-adapter.ts
Last active Mar 3, 2022
NgbDateAdapter for Moment.js values
View ngb-momentjs-adapter.ts
import { NgbDateAdapter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
import { Injectable } from '@angular/core';
import * as moment from 'moment';
// Might need to polyfill depending on needed browser support...
const isInt = Number.isInteger;
export class NgbMomentjsAdapter extends NgbDateAdapter<moment.Moment> {
jeroenheijmans / UploadMultipartForm.psm1
Created Jan 5, 2017
Powershell Module with cmdlet to upload files in a multipart-form POST
View UploadMultipartForm.psm1
# It can be called like this:
$url ="http://localhost:12345/home/upload"
$form = @{ description = "Test 123." }
$pwd = ConvertTo-SecureString "s3cr3t" -AsPlainText -Force
$creds = New-Object System.Management.Automation.PSCredential ("john", $pwd)
Get-ChildItem *.txt | Send-MultiPartFormToApi $url $form $creds -Verbose -WhatIf