Skip to content

Instantly share code, notes, and snippets.

View operatorofhell's full-sized avatar

operatorofhell

View GitHub Profile
Action SOL SOW Char Char EOW EOL
Move Ctl+a Esc+b Ctl+b Ctl+f Esc+f Ctl+e
Delete Ctl+x Ctl+w Bsp Ctl+d Esc+d Ctl+k
Other Shortcuts
Delete line Ctl+u Uppercase Esc+u Exit cfg Ctl+z
Paste Ctl+y Lowercase Esc+L
@operatorofhell
operatorofhell / pysyslog.py
Last active September 14, 2018 11:10 — forked from marcelom/pysyslog.py
Tiny Python Syslog Server
#!/usr/bin/env python
## Tiny Syslog Server in Python.
##
## This is a tiny syslog server that is able to receive UDP based syslog
## entries on a specified port and save them to a file.
## That's it... it does nothing else...
## There are a few configuration parameters.
LOG_FILE = 'yourlogfile.log'
@operatorofhell
operatorofhell / config.ini
Created December 5, 2017 13:44
git multi windows shares remote
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = //host/tmp/a
fetch = +refs/heads/*:refs/remotes/origin/*
@operatorofhell
operatorofhell / remoteInitGit.bat
Created December 5, 2017 13:41
initialize git on remote windows share
pushd \\<host>\share
git init --bare myrepo.git
popd
@operatorofhell
operatorofhell / config.ini
Last active December 5, 2017 13:42
git config with multiple push urls to windows share
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = //host/tmp/a
fetch = +refs/heads/*:refs/remotes/origin/*
var domain = {
"com":{
"yammer":{
"bla":1,
"fasel":2
},
"microsoft":3
},
"de":{
"test":{
@operatorofhell
operatorofhell / users base group
Created August 15, 2014 17:49
echopet issue #386
User:
default: true
permissions:
- essentials.hat
- herochat.pm
- iBank.withdraw
- herochat.leave.*
- herochat.speak.global
- herochat.join.global
- iBank.access
@operatorofhell
operatorofhell / gist:8569252
Created January 22, 2014 23:03
perl iterate trough hash
%hash = (1 => 'a',2 => 'b',3 => 'c',);
map { print "$_ =>\t$hash{$_}\n" } keys %hash;