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
"\e[A": history-search-backward | |
"\e[B": history-search-forward | |
"\e[1~": beginning-of-line | |
"\e[4~": end-of-line | |
set show-all-if-ambiguous on | |
set completion-ignore-case on |
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/sh | |
host="api" | |
domain="example.com" | |
sites="/path/to/your/sites" | |
site="$sites/$host.$domain" | |
cd "$site" || exit | |
unset GIT_DIR |
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
MLK_Settings_Begin | |
__ns::true::B | |
__vib::10::S | |
__mtt::500::S | |
__tl::0::S | |
__swp::false::B | |
__tr::6::S | |
__sym2::="'+-:?/[]{}::S | |
__lpe::2::S | |
__br::0::S |
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/sh | |
# | |
# mmv - move multiple files and/or directories at once | |
# | |
# Usage: | |
# mmv [-h] [-d DESTINATION] file1 [file2 file3 ...] | |
# | |
# Written by Aigars Sukurs <[email protected]> | |
# |
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
highlight OverLength ctermbg=none ctermfg=red cterm=bold,underline guibg=#E53B2C | |
match OverLength /\%>80v.\+/ |
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
apt-get install liquidsoap liquidsoap-plugin-flac liquidsoap-plugin-faad liquidsoap-plugin-icecast liquidsoap-plugin-ladspa liquidsoap-plugin-lame liquidsoap-plugin-lo liquidsoap-plugin-samplerate liquidsoap-plugin-taglib liquidsoap-plugin-theora liquidsoap-plugin-gavl liquidsoap-plugin-gd liquidsoap-plugin-graphics tap-plugins swh-plugins |
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
# apt-get insall ssmtp | |
# vim /etc/ssmtp/ssmtp.conf | |
~ Start ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# | |
# Config file for sSMTP sendmail | |
# | |
# The person who gets all mail for userids < 1000 | |
# Make this empty to disable rewriting. | |
root=postmaster |
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
# | |
# Pieci / 5 koncerti sound processing | |
# http://pieci.lv | |
# | |
# Author: Aigars Sukurs <[email protected]> | |
# Copyright: (C) 2013 130DB | |
# Licence: MIT | |
# | |
s = ladspa.gate(s, threshold = -60.0, attack = 0.15, hold = 1.0, decay = 200.0, range = -25.0) |
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
Lets say you have a lots of predefined mountpoints. Move them to separate XML file mount-points.xml | |
At the beggining of icetcast.xml add | |
<!DOCTYPE icecast [ | |
<!ENTITY mounts SYSTEM "mount-points.xml"> | |
]> | |
and then add reference to mounts somewhere within your configuration file | |
&mounts; |
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
Lets say you have a lots of predefined mountpoints. Move them to separate XML file mount-points.xml | |
At the beggining of icetcast.xml add | |
<!DOCTYPE icecast [ | |
<!ENTITY mounts SYSTEM "mount-points.xml"> | |
]> | |
and then add reference to mounts somewhere within your configuration file | |
&mounts; |