Skip to content

Instantly share code, notes, and snippets.

View labaneilers's full-sized avatar

Laban Eilers labaneilers

View GitHub Profile
@labaneilers
labaneilers / Dockerfile
Created August 29, 2019 15:27
Bug: Running podman inside jenkins on openshift
FROM registry.access.redhat.com/dotnet/dotnet-22-rhel7:2.2-8
@labaneilers
labaneilers / name-gender-change-minor-massachusetts.md
Last active May 11, 2022 23:59
Name and gender change in Massachusetts

Change your child's name and gender marker in 6 easy steps!

The website https://transequality.org has really great, comprehensive information, which covers many different situations. It is, however, a bit complicated and dense.

We distilled this information into this step-by-step recipe, with our specific case (and a few tweaks from hindsight), which is what we wish we had starting out.

If your case is similar, this may work for you:

  • we're his biological parents
  • we're still married and all live together
125 execve("/bin/wslpath", ["wslpath", "/c/some/path"], [/* 18 vars */]) = 0
125 arch_prctl(ARCH_SET_FS, 0x61c0b8) = 0
125 set_tid_address(0x61c0f0) = 125
125 getpid() = 125
125 brk(NULL) = 0x1893000
125 brk(0x1894000) = 0x1894000
125 open("/dev/lxssclient", O_RDWR) = 3
125 getcwd("/c/frb/wsl-bug", 4096) = 15
125 open("/c/frb/wsl-bug", O_RDONLY|O_NOFOLLOW|O_PATH) = 4
125 ioctl(3, _IOC(0, 0x00, 0x3f, 0x22), 0x7fffeb5f70c0) = 0
@labaneilers
labaneilers / elementAdded.js
Created December 8, 2017 19:42
Listen and respond to DOM elements as they are added to prevent flicker
(function(win) {
'use strict';
var listeners = [];
var doc = win.document;
var MutationObserver = win.MutationObserver || win.WebKitMutationObserver;
var observer;
// Returns true if the specified node matches the selector
@labaneilers
labaneilers / setup.ps1
Last active December 1, 2017 21:13
sitecore-base
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
& C:\Windows\system32\tzutil /s "Eastern Standard Time"
Update-ExecutionPolicy Unrestricted
Disable-UAC
Set-WindowsExplorerOptions -EnableShowProtectedOSFiles -EnableShowFileExtension -EnableShowHiddenFilesFoldersDrives
Enable-RemoteDesktop
@labaneilers
labaneilers / TPLPromises.cs
Created October 28, 2017 20:48
Promises-link syntax for Tasks in dotnet
using System;
using System.Threading;
using System.Threading.Tasks;
namespace exception_test
{
class Program
{
static void Main(string[] args)
{
@labaneilers
labaneilers / git config
Last active October 4, 2017 18:41
git config
[user]
name = Laban Eilers
email = leilers@vistaprint.com
[alias]
rt = log --pretty=format:'%C(bold yellow)%h %C(cyan)%an%C(auto)%d %Creset%<(130,trunc)%s %C(cyan)(%cr)' --date=short --graph --all --decorate --author eilers --max-count 10
lgs = log --pretty=format:'%C(bold yellow)%h %C(cyan)%an%C(auto)%d %Creset%<(130,trunc)%s %C(cyan)(%cr)' --date=short --graph --all --decorate --max-count 30
rb = rebase origin/svn
fa = fetch --all
rbi = rebase --interactive
@labaneilers
labaneilers / executor.ini
Last active August 25, 2020 02:10
Executor settings
[W0]
keywords=addremove
command=control.exe
comment=Add/remove programs
param=appwiz.cpl
[W1]
keywords=admin
command=control.exe
comment=Administrative tools
@labaneilers
labaneilers / AutoHotKey.ahk
Created October 4, 2017 14:58
AutoHotKey config
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments. They are not executed.
; This script has a special filename and path because it is automatically
; launched when you run the program directly. Also, any text file whose
; name ends in .ahk is associated with the program, which means that it
; can be launched simply by double-clicking it. You can have as many .ahk
; files as you want, located in any folder. You can also run more than
; one .ahk file simultaneously and each will get its own tray icon.
@labaneilers
labaneilers / setup.ps1
Last active May 24, 2018 00:19
Windows dev setup
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHiddenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
Disable-InternetExplorerESC