Skip to content

Instantly share code, notes, and snippets.

node 'razor.merkur.lan' {
include concat::setup
class { 'dhcp':
dnsdomain => [
'merkur.lan',
],
nameservers => ['4.2.2.2'],
ntpservers => ['us.pool.ntp.org'],
interfaces => ['eth0'],
pxefilename => 'pxelinux.0', # DHCP filename
;; Gist support
(live-add-pack-lib "gist")
(require 'gist)
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
@ksexton
ksexton / gist:4121179
Created November 20, 2012 21:13
vim key map
n \q @<Plug>MailQuote
v \q @<Plug>MailQuote
n <Plug>MailQuote *@:.,$s/^/> /<CR>:noh<CR>``
v <Plug>MailQuote *@:s/^/> /<CR>:noh<CR>``
http://oreilly.com/openbook/samba/book/ch04_07.html
@ksexton
ksexton / README.md
Created August 14, 2012 14:43 — forked from filler/README.md
RHEL 6.3 veewee templates for vagrant use

RHEL 6.3 veewee templates for vagrant use

These templates can be used to feed to veewee to spin up an el6 basebox for use with vagrant.

There are some coded values in definition.rb and ks.cfg which point at Yale-ishness. Amend to point at local RHEL iso/yum repo.

Built successfully with veewee 0.2.3, vagrant 1.0.3, Virtualbox 4.1.18.

Config Management

gist 1.0.1 available Emacs integration for gist.github.com
#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
bootloader --location=mbr
zerombr
clearpart --all --initlabel
text
autostep
firewall --disabled
firstboot --disable
@ksexton
ksexton / jappo.pl
Created March 16, 2012 19:40 — forked from mrdaemon/jappo.pl
use strict;
use vars qw($VERSION %IRSSI);
use Irssi;
$VERSION = '0.01';
%IRSSI = (
authors => 'Alexandre Gauthier',
contact => '[email protected]',
@ksexton
ksexton / Japanese style
Created March 16, 2012 19:38 — forked from endolith/Has weird right-to-left characters.txt
Unicode smileys emoticons
⨀_⨀
⨂_⨂
(/◔ ◡ ◔)/
°ﺑ°
(¬_¬)
(´・ω・`)
(ʘ_ʘ)
(ʘ‿ʘ)
(๏̯͡๏ )
(◕_◕)