This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am kumpelblase2 on github. | |
* I am kumpelblase2 (https://keybase.io/kumpelblase2) on keybase. | |
* I have a public key whose fingerprint is BB9E 074C E4A1 D892 FBEC D2AA 430D 28CA DBAA 446A | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^([a-zA-Z0-9]+) ?(-(>|-) ?([a-zA-Z0-9]+) ?(\(([a-zA-Z0-9]+)\))?)? ?( ?: ?([0-9]+))?;$ | |
This parses the following kinds of (undirectional) graphs: | |
a -> b; | |
a ->b; | |
a-> b; | |
a -- b; | |
b--a; | |
a -> b(my_name); | |
a -> b (my_name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias please='sudo bash -c "$(history -p !!)"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Insert your preferred key mappings here. | |
unmapAll | |
# Basic movement | |
map d scrollLeft | |
map h scrollDown | |
map t scrollUp | |
map n scrollRight | |
map ii scrollToTop | |
map I scrollToBottom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Github Autoexpand News Items | |
// @namespace https://kumpelblase2.github.io/ | |
// @version 0.1 | |
// @description Automatically expands news entries in your Github Feed. | |
// @author kumpelblase2 | |
// @match https://github.com/ | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
BINARY_LOCATION="/usr/bin/gitea" | |
ARCHIVE_FILENAME="gitea-$1-linux-amd64.xz" | |
FILENAME="gitea-$1-linux-amd64" | |
URL="https://dl.gitea.io/gitea/$1/gitea-$1-linux-amd64.xz" | |
URL_HASH="https://dl.gitea.io/gitea/$1/gitea-$1-linux-amd64.xz.sha256" | |
URL_SIGN="https://dl.gitea.io/gitea/$1/gitea-$1-linux-amd64.xz.asc" | |
rc-service gitea stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Move this file to `.config/wireshark/plugins`, adapt the port on the bottom and reload the reload the lua plugins. | |
silkroad_proto = Proto("silkroad", "Silkroad Online Protocol") | |
function silkroad_proto.dissector(buffer, pinfo, tree) | |
pinfo.cols.protocol = "SILKROAD" | |
local subtree = tree:add(silkroad_proto, buffer(), "Silkroad Packet Data") | |
local current = 0 | |
while buffer:captured_len() > current do | |
local encrypted = false | |
local upper = buffer:bytes(current + 1,1):get_index(0) |