Skip to content

Instantly share code, notes, and snippets.

View ilbelkyr's full-sized avatar
😼
notorious catgirl

Nicole ilbelkyr

😼
notorious catgirl
  • Cologne, Germany
  • 22:29 (UTC +01:00)
  • X @ilbelkyr
View GitHub Profile

Keybase proof

I hereby claim:

  • I am ilbelkyr on github.
  • I am ilbelkyr (https://keybase.io/ilbelkyr) on keybase.
  • I have a public key ASAHhaB7h62B4Ipo-pa38f2bN3Ny6ljy-yQsglBcDjAazgo

To claim this, I am signing this object:

@ilbelkyr
ilbelkyr / gist:61a07ae69fdfcf2f8b99
Last active June 15, 2019 20:20
freenode channel successor logic

Channel successor logic on freenode

(This covers what Atheme services as used on freenode will do if all founder (+F) accounts of a channel are dropped. It does not go into any staff policies on related matters. In particular, single-# channels have policies that services cannot reasonably implement¹ as they commonly involve talking to actual people.)

For single-# channels, the freenode-staff role account is always chosen as successor; normal channel successor logic does not apply in this case.

Otherwise, the "best" user will be selected from the channel's ACL according to the following criteria:

  • They may not have the +b flag. This ensures AKICKed users will never inherit a channel.
  • They need to be able to accomodate the channel registration; users who already have 30 channels registered cannot inherit a channel unless they have been granted the RegNoLimit flag.²
@ilbelkyr
ilbelkyr / linedraw.vim
Created April 25, 2012 15:27
Line-drawing character mappings in insert mode for Vim
" Vimscript file to allow easy insertion of line-drawing
" characters in insert mode.
" Currently based on the numeric keyboard layout of most
" keyboards - other possibilities include using + for ┼, etc.
"789+ ┌┬┐│
"456 ├┼┤
"123 └┴┘
"0 ─
function LineD ()