This file contains hidden or 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 | |
| # Build Zsh from sources on Ubuntu. | |
| # From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file. | |
| # Some packages may be missing | |
| # sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo | |
| sudo apt-get build-dep zsh | |
| git clone git://git.code.sf.net/p/zsh/code zsh |
This file contains hidden or 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 | |
| # | |
| # zfs snapshot auto-rotation | |
| # | |
| # usage: zfs_snapshot.sh <mountpoint> <snapshot name> <number of keeping snapshots> [recursive] | |
| # | |
| # recursive option: Recursively create snapshot (zfs snapshot -r) | |
| # | |
| # for crontab | |
| # |
This file contains hidden or 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 | |
| sudo apt-get build-dep tmux | |
| # git clone git://git.code.sf.net/p/tmux/tmux-code tmux | |
| git clone https://github.com/tmux/tmux | |
| cd tmux | |
| ./autogen.sh | |
| ./configure --prefix=/usr/local |