Skip to content

Instantly share code, notes, and snippets.

View landonb's full-sized avatar

Landon Bouma landonb

  • Minneapolis, MN
View GitHub Profile
@landonb
landonb / introrx.md
Created August 2, 2020 04:18 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@landonb
landonb / winrm.bat
Created February 10, 2018 21:29
Windows Vagrantfile Windows Remote Management script
@echo off
set WINRM_EXEC=call %SYSTEMROOT%\System32\winrm
%WINRM_EXEC% quickconfig -q
%WINRM_EXEC% set winrm/config/winrs @{MaxMemoryPerShellMB="300"}
%WINRM_EXEC% set winrm/config @{MaxTimeoutms="1800000"}
%WINRM_EXEC% set winrm/config/client/auth @{Basic="true"}
%WINRM_EXEC% set winrm/config/service @{AllowUnencrypted="true"}
%WINRM_EXEC% set winrm/config/service/auth @{Basic="true"}
@landonb
landonb / Vagrantfile
Last active November 13, 2024 04:51
Windows Vagrantfile example
Vagrant.configure("2") do |config|
# Other box urls: https://www.bram.us/2014/09/24/modern-ie-vagrant-boxes
config.vm.box = "modern.ie/win7-ie11"
config.vm.box_url = 'http://aka.ms/vagrant-win7-ie11'
# big timeout since windows boot is very slow
config.vm.boot_timeout = 500
# Port forward WinRM (Windows Remote Management) and RDP
# File: logging2.py
# Last Modified: 2016.10.13 /coding: utf-8
# Author: Landon Bouma (landonb @ retrosoft . com)
# Project Pages: https://github.com/landonb/*
# Summary: Python logging wrapper.
# Copyright: © 2008, 2015-2016 Landon Bouma.
# vim:tw=0:ts=4:sw=4:noet
# License: GPLv3. See LICENSE.txt.
# -------------------------------------------------------------------
# Summary: Wrap Python logging facility: