Skip to content

Instantly share code, notes, and snippets.

@wimpunk
wimpunk / @@INTRO.md
Last active January 31, 2025 08:14 — forked from djmitche/@@INTRO.md
My use of Taskwarrior

Getting Started

My Usage

I've been using this for almost ten years now, so here are some of the ways I have set it up to be most productive. See my taskrc below for implementation details.

In general, I've had the most success by keeping lists of tasks short and to the point, avoiding the anxiety of seeing 100 tasks and feeling like I'm going to drown.

@wimpunk
wimpunk / Synology-Diskstation-Git.md
Created April 12, 2021 14:58 — forked from walkerjeffd/Synology-Diskstation-Git.md
Instructions for setting up git server on Synology Diskstation

Configure Synology NAS as Git Server

Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.

Set Up User and Folder

  • Create user gituser via Diskstation interface (with File Station and WebDAV privilages)
  • Add new shared folder called git (located at /volume1/git) with read/write access for gituser and admin. This folder will hold all the repos.
  • Install Git Server package via Diskstation
@wimpunk
wimpunk / README.md
Last active January 6, 2021 09:08
ignition file for server

README

  • create yaml file
  • create ignition file: podman run -i --rm quay.io/coreos/fcct:release --pretty --strict < ignition-backup.yaml > ignition.yaml
  • test ignitio file: docker run --rm -i quay.io/coreos/ignition-validate:release - < ignition.yaml
  • sudo coreos-installer install /dev/sda \
    --ignition-url https://cutt.ly/XjdAUC7 \
    --copy-network`
    
@wimpunk
wimpunk / Search my gists.md
Created November 18, 2020 14:35 — forked from santisbon/Search my gists.md
How to search gists

Enter this in the search box along with your search terms:

Get all gists from the user santisbon.
user:santisbon

Find all gists with a .yml extension.
extension:yml

Find all gists with HTML files.
language:html

@wimpunk
wimpunk / self-signed-certificate-with-custom-ca.md
Created October 8, 2020 08:52 — forked from fntlnz/self-signed-certificate-with-custom-ca.md
Self Signed Certificate with Custom Root CA

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096
#!/bin/python
#
# laatste versie op https://git.io/JJ2YJ
# setup:
# - GND naar de - op het bord
# - kortste poot LED naar - lijn
# - langste poot LED naar gemeenschappelijke rij (bvb lijn 27)
# - weerstand ene poot op lijn 27 andere op zelfde lijn als GPIO 21 (lijn 21)
#
import RPi.GPIO as GPIO
@wimpunk
wimpunk / vim-cheats.md
Created July 12, 2019 13:07 — forked from Starefossen/vim-cheats.md
My vim cheat sheet for working with tabs and window splits.

Tabs

New Tab

  • :tabnew - new blank tab
  • :tabedit [file] - open file in tab

Cursor Movement

  • gt (:tabn) - next tab
@wimpunk
wimpunk / fixing-vrt.md
Last active February 6, 2019 07:22
Fixing vrt.nu

upgrading vrt.nu to 1.5.1

Introduction

While upgrading vrt.nu on my raspberry pi running kodi, I had some problems, especially because the latest vrt.nu application needs inputstream-adaptive v2.0.19 and that is not provided by the normal stretch repositories. These are the notes about fixing those problems.

Checking repository

Running apt policy kodi-inputstream-adaptive give us this:

@wimpunk
wimpunk / autopgsqlbackup
Created May 30, 2017 14:44 — forked from matthewlehner/autopgsqlbackup
Auto PostgreSQL backup script.
#!/bin/bash
#
# PostgreSQL Backup Script Ver 1.0
# http://autopgsqlbackup.frozenpc.net
# Copyright (c) 2005 Aaron Axelsen <[email protected]>
#
# This script is based of the AutoMySQLBackup Script Ver 2.2
# It can be found at http://sourceforge.net/projects/automysqlbackup/
#
# The PostgreSQL changes are based on a patch agaisnt AutoMySQLBackup 1.9
@wimpunk
wimpunk / disable-bell
Last active January 7, 2021 13:38
Random notes
```
# disable-bell
bind 'set bell-style none'
```