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
# Use this environment to publish this package on pypi: | |
# | |
# # Enter the environment | |
# nix-shell release.nix | |
# | |
# # create the package | |
# python setup.py bdist | |
# | |
# # register to pypi (if not registered yet) | |
# twine register dist/project_name-x.y.z.tar.gz |
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
#============================================================================== | |
# vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 cc=81 tw=80 | |
#============================================================================== | |
# | |
# DESCRIPTION: An applicance for batsim experimentation | |
# | |
#============================================================================== | |
--- | |
extend: default/chroot/debian8.yaml |
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
Work: | |
base-devel | |
maven | |
python2-virtualenv | |
linux-headers | |
vagrant | |
virtualbox | |
docker | |
nmap | |
tree |
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
nmap -sU -p 123 --script ntp-info 10.0.0.*/24 |
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
# Allows for faster key repetition | |
set -s escape-time 0 | |
# Keep quiet and don't display warnings. | |
set-option -g quiet on | |
# Interact with xterm clipboard. | |
set-option -g set-clipboard on | |
# Window numbering starts from '1', '0' is too far away. | |
set-option -g base-index 1 | |
# Ring the terminal bell from any window, in URxvt this is disabled, but activity is recorded. | |
set-option -g bell-action any |
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
set nocompatible " be iMproved | |
filetype off " required! | |
" Setting up Vundle - the vim plugin bundler | |
let iCanHazVundle=1 | |
let vundle_readme=expand('~/.vim/bundle/vundle/README.md') | |
if !filereadable(vundle_readme) | |
echo "Installing Vundle.." | |
echo "" | |
silent !mkdir -p ~/.vim/bundle |
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/bash | |
############################################################################# | |
# my script NAME # | |
############################################################################# | |
# | |
# *Description* | |
# this script must be used ... | |
# | |
# | |
# |
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/bash | |
if [ $# -lt 1 ]; then | |
echo "No destination defined. Usage: $0 destination" >&2 | |
exit 1 | |
elif [ $# -gt 1 ]; then | |
echo "Too many arguments. Usage: $0 destination" >&2 | |
exit 1 | |
elif [ "$(whoami)" != "root" ]; then | |
echo "ERROR: You must be root to run this script. |
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/bash | |
################################# | |
# Config script for Ubuntu # | |
################################# | |
# exit if error | |
set -e | |
# check rights |