Skip to content

Instantly share code, notes, and snippets.

View perplexa's full-sized avatar

Daniel König perplexa

View GitHub Profile

Weechat operator config candy for EFNet


Create additional server notice windows on connect

/set irc.server.efnet.command "/buffer add efnet.conn; /buffer add efnet.opm"
#!/usr/bin/env python3
import re
import sys
import urllib.request
headers = {'User-Agent': 'curl/7.54.0'}
req = urllib.request.Request('http://wttr.in/' + (sys.argv[1] if len(sys.argv) > 1 else ''))
req.add_header('User-Agent', 'curl/7.54.0')

Keybase proof

I hereby claim:

  • I am perplexa on github.
  • I am perplexa (https://keybase.io/perplexa) on keybase.
  • I have a public key whose fingerprint is FC29 2043 7D9C 2520 633D D312 85E1 A06E 5989 1650

To claim this, I am signing this object:

@perplexa
perplexa / tmux.md
Created October 9, 2015 14:03 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@perplexa
perplexa / tmux-cheatsheet.markdown
Created October 9, 2015 08:48 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname