Skip to content

Instantly share code, notes, and snippets.

View tiesmaster's full-sized avatar

Ties Brobbel tiesmaster

View GitHub Profile
@tiesmaster
tiesmaster / powerline-test.sh
Created August 7, 2023 19:45
Powerline test script
#!/bin/bash
echo -e "Powerline glyphs:\n\
Code points Glyphe Description Old code point
U+E0A0 \xee\x82\xa0 Version control branch (U+2B60 \xe2\xad\xa0 )\n\
U+E0A1 \xee\x82\xa1 LN (line) symbol (U+2B61 \xe2\xad\xa1 )\n\
U+E0A2 \xee\x82\xa2 Closed padlock (U+2B64 \xe2\xad\xa4 )\n\
U+E0B0 \xee\x82\xb0 Rightwards black arrowhead (U+2B80 \xe2\xae\x80 )\n\
U+E0B1 \xee\x82\xb1 Rightwards arrowhead (U+2B81 \xe2\xae\x81 )\n\
U+E0B2 \xee\x82\xb2 Leftwards black arrowhead (U+2B82 \xe2\xae\x82 )\n\
@tiesmaster
tiesmaster / DisableWebSearchStartMenu.reg
Created August 7, 2023 19:04
Disable web search of Windows Start Menu
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]
"DisableSearchBoxSuggestions"=dword:00000001
@tiesmaster
tiesmaster / settings.json
Created July 12, 2023 20:52
Improved Solarized Dark for Windows Terminal
{
"background": "#002B36",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#2A9AE8",
"brightCyan": "#38D6CA",
"brightGreen": "#1B9E00",
"brightPurple": "#6C71C4",
@tiesmaster
tiesmaster / settings.json
Created July 12, 2023 19:50
Set font to FiraCode Nerd Font in WT for the default profile
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"profiles":
{
"defaults": {
"font":
{
"face": "FiraCode Nerd Font"
}
@tiesmaster
tiesmaster / AddPasswordShowHideEyeIcon.js
Last active June 1, 2023 14:37
Add password show/hide eye icon to donpardon.nl
// ==UserScript==
// @name Add password show/hide eye icon
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.donpardon.nl/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=donpardon.nl
// @grant GM_addStyle
// @grant GM_getResourceText
@tiesmaster
tiesmaster / MakePasswordFieldVisible.js
Created May 31, 2023 09:00
Make password field visible for donpardon.nl
// ==UserScript==
// @name Make password field visible
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.donpardon.nl/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=donpardon.nl
// @grant none
// ==/UserScript==
@tiesmaster
tiesmaster / sample-workload-one.yaml
Created May 10, 2023 08:41
Sample workload on Kubernetes to test the Tailscale operator
apiVersion: apps/v1
kind: Deployment
metadata:
name: sample-workload-one
spec:
replicas: 1
selector:
matchLabels:
app: sample-workload-one
template:
@tiesmaster
tiesmaster / TestClass.cs
Created February 21, 2023 12:55
Failing serialization of stronglytyped id in dictionary
public class TestClass
{
[Fact]
public void MyTestMethod()
{
var dict = new Dictionary<UserId, string>();
var userId = UserId.New();
dict[userId] = "Yolo";
@tiesmaster
tiesmaster / workflowy-additional-shortcuts.js
Created January 27, 2023 15:43
Workflowy: Additional Shortcuts
// ==UserScript==
// @name Workflowy: Additional Shortcuts
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://workflowy.com/
// @icon https://www.google.com/s2/favicons?domain=workflowy.com
// @grant none
// ==/UserScript==
@tiesmaster
tiesmaster / docker-compose.yml
Created January 24, 2023 21:03
golink Docker Compose setup
version: "3"
services:
golink:
image: ghcr.io/tailscale/golink:main
volumes:
- ./data:/home/nonroot
volumes:
golink-volume: null