Skip to content

Instantly share code, notes, and snippets.

@dezza
dezza / dk.txt
Last active March 28, 2025 09:39
Danske kommunale, offentlige, nævn, styrelser, sekretariater, ministerier, direktorater, statsfinancierede, rådgivning, oplysning, forskning, uddannelses sider
borger.dk
patienterstatningen.dk
mitid.dk
sundhed.dk
laegevejen.dk
stpk.dk
sundhedsdatastyrelsen.dk
digst.dk
netseidbroker.dk
mit.dk
# Norlys Digital A/S
# AS39642
2a00:1b70::/29
2a00:1f98::/29
2a02:25c8::/29
2a02:2b98::/32
2a02:6940::/32
2a03:7400::/29
2a0c:63c0::/48
# AS213320
---
name: dezza's uBlacklist subscription
description: Personal opinionated blocklist
homepage: https://gist.github.com/dezza/2ede13cc2df2db618e85bceb55228635
---
# Shitty linkedin articles
*://*.linkedin.com/pulse/*
# Stackxchange proxy websites
*://*.socketloop.com/*
@brendanzab
brendanzab / gist:d41c3ae485d66c07178749eaeeb9e5f7
Last active February 20, 2025 01:41
My personal list of Rust grievances (September 2021)

September 2022:

This has spread to a far wider audience than I had anticipated - probably my fault for using a title that is in hindsight catnip for link aggregators. I wrote this back in 2021 just as a bunch of personal thoughts of my experiences using Rust over the years (not always well thought through), and don't intend on trying to push them further, outside of personal experiments and projects.

Managing a living language is challenging and difficult work, and I am grateful for all the hard work that the Rust community and contributors put in given the difficult constraints they work within. Many of the things I listed below are not new, and there's been plenty of difficult discussions about many of them over the years, and some are being worked on or postponed, or rejected for various good reasons. For more thoughts, please see my comment below.

My personal list of Rust gr

@FrancisTurner
FrancisTurner / checkv6cfd.sh
Created June 7, 2021 10:21
Script to autoupdate armv6 cloudflared
#!/bin/bash -e
# checkv6cfd.sh
# Copyright (c) 2021, Francis Turner
# All rights reserved.
#
# Script that automates checking and if required downloading and replacing of the
# latest armv6 cloudflared as built by Darren Hobin (https://github.com/hobindar)
# for use on pi zeros and other armv6 devices
" debugging vim plugins unsilent avoids plugins silencing echom
:unsilent echomsg "debug msg in plugin"
" Commands that take filename modifiers
:vsplit %:h
:edit %:h
" open vim with search term
vim +/foo file.vim

ZSH CheatSheet

This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.

Strings

Description Syntax
Get the length of a string ${#VARNAME}
Get a single character ${VARNAME[index]}
@romainl
romainl / path.md
Last active March 12, 2025 11:05
Off the beaten path

Off the beaten path

What is &path used for?

Vim uses :help 'path' to define the root directories from where to search non-recursively for files.

It is used for:

  • gf, gF, <C-w>f, <C-w>F, <C-w>gf, <C-w>gF,
  • :find, :sfind, :tabfind,
@bmaupin
bmaupin / free-database-hosting.md
Last active April 26, 2025 05:03
Free database hosting
@romainl
romainl / showdeclaration.md
Last active January 22, 2023 14:54
Print declaration of word under the cursor

asciicast