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 | |
set autoindent | |
set smartindent | |
set tabstop=2 | |
set shiftwidth=2 | |
set showmatch | |
set guioptions-=T | |
set vb t_vb= | |
set ruler | |
set nohls |
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
# completion | |
autoload -U compinit | |
compinit | |
## Command history configuration | |
HISTFILE=$HOME/.zsh_history | |
HISTSIZE=10000 | |
SAVEHIST=10000 | |
setopt append_history |
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
zpool create -O utf8only=on -O normalization=formD -O casesensitivity=mixed -O aclinherit=passthrough tank raidz ada0 ada1 ada2 | |
#receive side | |
#sudo zfs allow -u l33tname create,receive,rename,mount,share,send tank | |
sudo zfs allow -l l33tname create,destroy,snapshot,rollback,clone,promote,rename,mount,send,receive,quota,reservation tank | |
l33tname@travos:~ % zfs allow tank | |
---- Permissions on tank --------------------------------------------- | |
Local permissions: |
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
\documentclass[a4paper,10pt]{article} | |
\usepackage[utf8]{inputenc} | |
\usepackage[top=7em, bottom=4em, left=5em, right=5em]{geometry} | |
\usepackage{xcolor,colortbl} | |
\usepackage{tabularx} | |
\usepackage{hyperref} | |
\hypersetup{ |
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
$ modinfo r8723au | |
filename: /lib/modules/3.16.3-200.fc20.x86_64/kernel/drivers/staging/rtl8723au/r8723au.ko | |
firmware: rtlwifi/rtl8723aufw_B_NoBT.bin | |
firmware: rtlwifi/rtl8723aufw_B.bin | |
firmware: rtlwifi/rtl8723aufw_A.bin | |
version: v4.1.6_7336.20130426 | |
author: Jes Sorensen <Jes.Sorensen@redhat.com> | |
author: Larry Finger <Larry.Finger@lwfinger.net> | |
author: Realtek Semiconductor Corp. | |
description: Realtek Wireless Lan Driver |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include <iostream> | |
#include <random> | |
#include <unistd.h> | |
#define BOARD_SIZE_X 150 | |
#define BOARD_SIZE_Y 40 |
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
#include <iostream> | |
#include <random> | |
#include <array> | |
#include <unistd.h> | |
class CGame | |
{ | |
public: | |
CGame() | |
{ |
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
require "sinatra" | |
configure do | |
enable :sessions | |
set :bind, '0.0.0.0' | |
end | |
get "/" do | |
erb :index |
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
# crontab -l | |
SHELL=/bin/sh | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
33 */6 * * * /usr/local/bin/php /usr/local/www/observium/discovery.php -h all >> /usr/local/www/observium/crontab.log | |
*/5 * * * * /usr/local/bin/php /usr/local/www/observium/discovery.php -h new >> /usr/local/www/observium/crontab.log | |
*/5 * * * * /usr/local/bin/python /usr/local/www/observium/poller-wrapper.py 1 >> /usr/local/www/observium/crontab.log |
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
#cat /etc/fstab.ymir_l33t_lan | |
/usr/jails/basejail /usr/jails/ymir.l33t.lan/basejail nullfs ro 0 0 | |
/tank/movies /usr/jails/ymir.l33t.lan/media/movies nullfs rw 0 0 | |
/tank/music /usr/jails/ymir.l33t.lan/media/music nullfs rw 0 0 | |
/tank/series /usr/jails/ymir.l33t.lan/media/series nullfs rw 0 0 | |
/tank/data/Photo/Handy-Sync-plex /usr/jails/ymir.l33t.lan/media/Handy-Sync-plex nullfs rw 0 0 |