Skip to content

Instantly share code, notes, and snippets.

@Skunnyk
Skunnyk / keybase.md
Created July 12, 2018 10:22
keybase.md

Keybase proof

I hereby claim:

  • I am skunnyk on github.
  • I am skunnyk (https://keybase.io/skunnyk) on keybase.
  • I have a public key ASCgm6ZCirIvr6jPI5SOL1KcwG0deP1B8Z8pRS3epyah4wo

To claim this, I am signing this object:

virtual_mailbox_domains = example.org
virtual_mailbox_base = /home/vmail/vhosts
virtual_mailbox_maps = hash:/etc/postfix/virtual_mailbox_recipients
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_alias_maps = hash:/etc/postfix/virtual_alias_recipients
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
protocols = imap lmtp
disable_plaintext_auth = yes
auth_mechanisms = plain login
mail_location = maildir:/home/vmail/vhosts/%d/%n # %d = domaine %n = user
namespace inbox {
separator = /
inbox = yes
}
@Skunnyk
Skunnyk / Build xfce git master
Last active May 22, 2017 09:49
Compile xfce git master
#!/bin/bash
# vagrant init terrywang/archlinux; vagrant up --provider virtualbox
# vagrant ssh
# sudo pacman -Sy intltool gtk2 gtk3 gtk-doc dbus-glib perl-uri libwnck libwnck3 xorg-iceauth
# Run this script
set -euo pipefail
umask 022
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig:/usr/local/lib/pkgconfig
gitrepo="https://git.xfce.org/xfce/"
@Skunnyk
Skunnyk / .tmux.conf
Last active February 25, 2020 17:08
set -g default-terminal "screen-256color"
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
unbind [
bind Escape copy-mode
# Set the prefix to ^A.
unbind C-b
set -g prefix ^A
bind a send-prefix
termcapinfo xterm ti@:te@
term screen-256color
defutf8 on
hardstatus alwayslastline "%{=b db}[ %{-b dy}%H %{+b db}][ %{+b dd}%?%{w}%{-b}%-Lw%? %{+b}([%n]%{-b} %{+b}%f%t%?(%u)%?)%{-b}%{w}%?%+Lw%?%?%= %{+b b}][%{-b w} %d/%m %{y}%c %{+b b}]"
screen -t thename