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
# This will give access to the 1.1.1.0/24 | |
# UDP + TUN + No duplicate certs! | |
# openvpn-tun-all.conf | |
# Server IP and port | |
local 2.2.2.2 | |
port 1194 | |
# Openvpn address pool | |
server 1.1.2.0 255.255.255.0 |
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
# /etc/pf.conf | |
########################################## | |
# MACROS | |
########################################## | |
WANIF = "vlan1337" | |
LANIF = "en0" | |
VPNIF = "{tun0, tun1}" |
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
# ~/.bashrc | |
HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups | |
PS1='\[\033[01;31m\]\u\[\033[01;31m\]@\[\033[01;31m\]\h:\[\033[01;34m\]\w>\[\033[00m\] '; export PS1 | |
CLICOLOR="YES"; export CLICOLOR | |
LSCOLORS="ExGxFxdxCxDxDxhbadExEx"; export LSCOLORS | |
alias vi='vim' | |
alias showpflog="tcpdump -n -e -ttt -r /var/log/pflog" |
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 | |
# Furkan Cayci | |
# tar back-up the directory and save it in NFS share | |
VERSION="v0.2" | |
SERVERADDR=10.0.0.1 | |
BACKUPDIR=/tank/backup | |
MOUNT="/export" | |
NOW="$(date +'%F-%H-%M')" |
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
background yes | |
update_interval 1 | |
cpu_avg_samples 2 | |
net_avg_samples 2 | |
double_buffer yes | |
no_buffers yes | |
gap_x 20 |
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
; | |
; Netatalk 3.x configuration file | |
; | |
[Global] | |
hostname = crazy_hostname.domain | |
afp interfaces = em0 em1 | |
afp listen = 10.0.0.1 1.2.3.4 | |
cnid listen = 127.0.0.1 | |
vol preset = default_for_all |
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
bootsect /nt60 ALL /mbr |
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
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2 build-essential | |
cd /usr/src | |
wget http://www.kernel.org/pub/linux/kernel/XX.bz2 | |
make clean && make mrproper | |
cp /boot/config-`uname -r` ./.config | |
make-kpkg clean | |
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers |
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 | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
OlderNewer