Skip to content

Instantly share code, notes, and snippets.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: GPGTools - https://gpgtools.org
mQINBFaqU0wBEADom7lfulHJ2VcNZXjQoEPDZ504zAuw0U7hGSJ3eNKEjaLb0LPd
ogPqHNogvZooILfoUiHuH5tC2NV7LwDmsKuA/sR61BOuol+JUD65+NgKtztr1/Fx
IG5YFPSU7n6RtAQitxte94VHPvjBqfQmMuJbFg0q3+DmDctVK5CKYeqx1CnVOzbN
IYDSX016nlsLdaOs1worCtMF3mi9+x4PKlFVNtFOp0VrqS6EF9v/7d6avwPYvXuI
FHq2Upq+zO+PBDL4BvZ6sgNWaB7VSxNjxB4smM4QtKOAZlaeAWeo42YcpEF9NFsl
sOITIFhxHkBu9ZHJGkj8ENNRulT0isVMYuYnF0NF4d8q4H4exbUtg9bj7/Al92um
Z/1LAgFK91fdey/FYO1J0nGPbNRDHR47tx8OJo+EfQEvDNvAqgWLtYQfnQ7Qe7g3
@leveled
leveled / .vimrc
Created June 5, 2016 22:03
Vim RC settings
"" SHELL:
set shell=/bin/bash
"" NUMBERING:
" Sets the numeric setting on by default
set number
" sets global clipboard on
set clipboard=unnamed
@leveled
leveled / .tmux.conf
Last active September 14, 2016 21:12
Tmux Conf settings
# Vi like movement in buffer
setw -g mode-keys vi
# Starts window numbering at 1, renumbers automatically, increases scrollback history limit
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
set -g history-limit 10000
# Rebinding for navigating within panes
@leveled
leveled / ubuntu-comfort.sh
Created September 14, 2016 21:23
Ubuntu Server Comfort
cd ~/
sudo apt-get remove vim tmux -y
sudo apt-get install vim git tmux wget -y
wget https://gist.github.com/leveled/5a861cd1cd62bb9de22611261687eaf3/raw/5d3dddabd949d40613374b9ad0b3e49191869b0a/.vimrc
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
wget https://gist.githubusercontent.com/leveled/c1afc6cb3350e0a7c69b8c15b2da1d74/raw/b352510716a186cfc9880bbada730d798448f208/.tmux.conf
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux source ~/.tmux.conf
echo "Press prefix + I to install all the Tmux plugins"
@leveled
leveled / 0_reuse_code.js
Created September 19, 2016 13:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
<IfDefine IgnoreBlockComment>
...
</IfDefine>
curl -A "'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)')" 10.11.1.39/robots.txt
net user username password /ADD
net localgroup administrators John /add
sp_databases
sp_tables
EXEC master..xp_cmdshell 'dir *.exe''
gcc myCProgram.c -o myCProgram -I/usr/src/linux-headers-3.18.0-kali1-common/include/asm-generic/