Skip to content

Instantly share code, notes, and snippets.

View nicenemo's full-sized avatar

Hans Kruse nicenemo

View GitHub Profile
@nicenemo
nicenemo / customize_image.yml
Created November 28, 2021 20:35
Customize a Raspberry pi image for K3S use
#!ansible-playbook
---
- name: Configure Raspberry Pi image.
hosts: localhost
become: false
connection: local
vars:
mount_point: /mnt/d
cmd_line_path: "{{ mount_point }}/cmdline.txt"
ssh_txt: "{{ mount_point }}/ssh.txt"
@nicenemo
nicenemo / replace_semicolon_with_greek_question_mark-prank.ahk
Created May 21, 2020 12:28
Replac semicolon with greek question mark prank
; Replace semicolon with Greek question mark ;)
`;::Send {U+037E}
return

The following is the HAR recording from From firefox when trying to access the settings of horizontal bar chart when editting the view.

{
  "log": {
    "version": "1.2",
    "creator": {
      "name": "Firefox",
@nicenemo
nicenemo / Either3.cs
Last active August 29, 2015 14:19
Either Experiment second try removed Value1, Value2 etc for typed variant casting to object first
using System;
namespace EitherExperiment
{
public static class Either
{
}
public struct Either<T1, T2, T3>
{