Skip to content

Instantly share code, notes, and snippets.

Logstash config:
input {
lumberjack {
port => 5044
ssl_certificate => "/pathto/server.crt"
ssl_key => "/pathto/server.key"
}
}
@varh1i
varh1i / gitconfig
Last active October 26, 2018 15:12
Git config file
[user]
name = Balazs Varhegyi
email = [email protected]
[alias]
s = status
c = checkout
b = branch
[color]
ui = true
[merge]
@varh1i
varh1i / vimrc
Last active November 9, 2018 14:36
Vimrc
install neobundle: https://github.com/Shougo/neobundle.vim
"NeoBundle Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=/home/varh1i/.vim/bundle/neobundle.vim/
Edit multiple lines: Alt + Shift + Mouse click
Find: Ctrl + F
Find and Replace: Ctrl + R
Create variable: Ctrl + Alt + V
Open shortcuts: Ctrl + Alt + S
Switch between open windows: Ctrl + Tab
Close editor window: Ctrl + F4
Delete remote branch: git push <remote_name> :<branch_name>
Rebase commits after this commit: git rebase -i <commit id>
Refresh remote branches: git remote update origin --prune
Uncommit last local commit: git reset --soft HEAD^
@varh1i
varh1i / conky
Last active December 9, 2018 21:26
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details