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
src2pkg -I xterm.tar.gz -e="--enable-256-color --enable-wide-chars" |
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
groupadd -g 200 postfix | |
useradd -u 200 -d /dev/null -s /bin/false -g postfix postfix | |
groupadd -g 201 postdrop | |
make makefiles CCARGS="-DUSE_SASL_AUTH -DUSE_TLS -DUSE_CYRUS_SASL -I/usr/include/sasl" AUXLIBS="-L/usr/lib -lsasl2 -lssl -lcrypto" | |
postconf -e 'disable_mime_input_processing = yes' | |
postconf -e 'disable_mime_output_conversion = yes' |
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
git config --global user.signingkey C2163D7F |
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
sudo cpan App::cpanminus | |
sudo cpanm Dist::Zilla | |
sudo cpanm Dist::Zilla::Plugin::Git | |
sudo cpanm Dist::Zilla::Plugin::PodWeaver | |
sudo cpanm Archive::Tar::Wrapper | |
sudo cpanm Dist::Zilla::Plugin::AutoMetaResources | |
sudo cpanm Dist::Zilla::Plugin::AutoVersion | |
sudo cpanm Dist::Zilla::Plugin::NextRelease |
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
sudo /bin/mount -t cifs -o iocharset=utf8,credentials=/etc/win.passwd,uid=petr,gid=users,rw,nobrl //server/c\$ /mnt/tmp |
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
Encrypt: | |
gpg -er email@example.com backup.tar.gz | |
Decrypt: | |
gpg --decrypt backup.tar.gz.gpg > backup.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
for foo in *.flac; do echo sox $foo -C6 `basename $foo .flac`.ogg; done |
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
Section "InputClass" | |
Identifier "keyboard-layout" | |
MatchIsKeyboard "yes" | |
Driver "evdev" | |
Option "XkbLayout" "cz" | |
Option "XkbVariant" "bksl" | |
Option "XkbOptions" "terminate:ctrl_alt_bksp" | |
EndSection |
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 | |
# source: http://www.utech.de/2013/05/shell-script-creating-a-cd-for-unattended-ubuntu-server-installations/ | |
# | |
# General configuration | |
# | |
basedir="/home/data/ubuntu-unattended" | |
downloads="/home/data/ubuntu-unattended.download" | |
tmpdir="/home/data/ubuntu-unattended.tmp" | |
builddir="$tmpdir/build.$$" |
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
split --numeric-suffixes=1 -b 100M -a3 file.zip file.zip. |