myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

commit 928cdf0dc8710456b5439936dd081b2f7ca06e92
parent 481d77c4dc163643cebdf5c69d2af3ad627a2f75
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sat, 13 Aug 2016 20:35:33 +0200

Merge branch 'master' of a3nm.net:git/myconfig

Diffstat:
apt/server | 3+++
install.sh | 5++++-
nethackrc | 3+--
subversion | 105-------------------------------------------------------------------------------
subversion/config | 105+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
subversion/servers | 170+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 283 insertions(+), 108 deletions(-)

diff --git a/apt/server b/apt/server @@ -64,3 +64,6 @@ aptitude # recover from some situations, and "aptitude why" jq netselect-apt + +apache2-utils # for htpasswd + diff --git a/install.sh b/install.sh @@ -41,4 +41,7 @@ git clone 'https://github.com/vim-scripts/vimwiki' touch ~/.vim/perso mkdir -p ~/scratch mkdir -p ~/.subversion -ln -s ~/config/subversion ~/.subversion/config +for a in config servers +do +ln -s ~/config/subversion/$a ~/.subversion/$a +done diff --git a/nethackrc b/nethackrc @@ -1,11 +1,10 @@ -OPTIONS=menucolors,showscore,autodig,perm_invent,autopickup,dump:nethack_dump,showscore,boulder:0 +OPTIONS=menucolors,showscore,autodig,perm_invent,autopickup,showscore,boulder:0 # # System-wide NetHack configuration file for console-only NetHack. # OPTIONS=windowtype:tty,toptenwin,hilite_pet,lit_corridor OPTIONS=hpmon,showscore -OPTIONS=paranoid_hit OPTIONS=fixinv,safe_pet,sortpack,tombstone,color,time,showexp OPTIONS=verbose,news,fruit:potato OPTIONS=dogname:Slinky diff --git a/subversion b/subversion @@ -1,105 +0,0 @@ -### This file configures various client-side behaviors. -### -### The commented-out examples below are intended to demonstrate -### how to use this file. - -### Section for authentication and authorization customizations. -[auth] -### Set store-passwords to 'no' to avoid storing passwords in the -### auth/ area of your config directory. It defaults to 'yes'. -### Note that this option only prevents saving of *new* passwords; -### it doesn't invalidate existing passwords. (To do that, remove -### the cache files by hand as described in the Subversion book.) -# store-passwords = no -### Set store-auth-creds to 'no' to avoid storing any subversion -### credentials in the auth/ area of your config directory. -### It defaults to 'yes'. Note that this option only prevents -### saving of *new* credentials; it doesn't invalidate existing -### caches. (To do that, remove the cache files by hand.) -# store-auth-creds = no - -### Section for configuring external helper applications. -password-stores = -[helpers] -### Set editor to the command used to invoke your text editor. -### This will override the environment variables that Subversion -### examines by default to find this information ($EDITOR, -### et al). -# editor-cmd = editor (vi, emacs, notepad, etc.) -### Set diff-cmd to the absolute path of your 'diff' program. -### This will override the compile-time default, which is to use -### Subversion's internal diff implementation. -# diff-cmd = diff_program (diff, gdiff, etc.) -### Set diff3-cmd to the absolute path of your 'diff3' program. -### This will override the compile-time default, which is to use -### Subversion's internal diff3 implementation. -# diff3-cmd = diff3_program (diff3, gdiff3, etc.) -### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' -### program accepts the '--diff-program' option. -# diff3-has-program-arg = [true | false] -diff-cmd = colordiff - -### Section for configuring tunnel agents. -[tunnels] -### Configure svn protocol tunnel schemes here. By default, only -### the 'ssh' scheme is defined. You can define other schemes to -### be used with 'svn+scheme://hostname/path' URLs. A scheme -### definition is simply a command, optionally prefixed by an -### environment variable name which can override the command if it -### is defined. The command (or environment variable) may contain -### arguments, using standard shell quoting for arguments with -### spaces. The command will be invoked as: -### <command> <hostname> svnserve -t -### (If the URL includes a username, then the hostname will be -### passed to the tunnel agent as <user>@<hostname>.) If the -### built-in ssh scheme were not predefined, it could be defined -### as: -# ssh = $SVN_SSH ssh -### If you wanted to define a new 'rsh' scheme, to be used with -### 'svn+rsh:' URLs, you could do so as follows: -# rsh = rsh -### Or, if you wanted to specify a full path and arguments: -# rsh = /path/to/rsh -l myusername -### On Windows, if you are specifying a full path to a command, -### use a forward slash (/) or a paired backslash (\\) as the -### path separator. A single backslash will be treated as an -### escape for the following character. - -### Section for configuring miscelleneous Subversion options. -[miscellany] -### Set global-ignores to a set of whitespace-delimited globs -### which Subversion will ignore in its 'status' output, and -### while importing or adding files and directories. -# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store -### Set log-encoding to the default encoding for log messages -# log-encoding = latin1 -### Set use-commit-times to make checkout/update/switch/revert -### put last-committed timestamps on every file touched. -# use-commit-times = yes -### Set no-unlock to prevent 'svn commit' from automatically -### releasing locks on files. -# no-unlock = yes -### Set enable-auto-props to 'yes' to enable automatic properties -### for 'svn add' and 'svn import', it defaults to 'no'. -### Automatic properties are defined in the section 'auto-props'. -# enable-auto-props = yes - -### Section for configuring automatic properties. -[auto-props] -### The format of the entries is: -### file-name-pattern = propname[=value][;propname[=value]...] -### The file-name-pattern can contain wildcards (such as '*' and -### '?'). All entries which match will be applied to the file. -### Note that auto-props functionality must be enabled, which -### is typically done by setting the 'enable-auto-props' option. -# *.c = svn:eol-style=native -# *.cpp = svn:eol-style=native -# *.h = svn:eol-style=native -# *.dsp = svn:eol-style=CRLF -# *.dsw = svn:eol-style=CRLF -# *.sh = svn:eol-style=native;svn:executable -# *.txt = svn:eol-style=native -# *.png = svn:mime-type=image/png -# *.jpg = svn:mime-type=image/jpeg -# Makefile = svn:eol-style=native - diff --git a/subversion/config b/subversion/config @@ -0,0 +1,105 @@ +### This file configures various client-side behaviors. +### +### The commented-out examples below are intended to demonstrate +### how to use this file. + +### Section for authentication and authorization customizations. +[auth] +### Set store-passwords to 'no' to avoid storing passwords in the +### auth/ area of your config directory. It defaults to 'yes'. +### Note that this option only prevents saving of *new* passwords; +### it doesn't invalidate existing passwords. (To do that, remove +### the cache files by hand as described in the Subversion book.) +# store-passwords = no +### Set store-auth-creds to 'no' to avoid storing any subversion +### credentials in the auth/ area of your config directory. +### It defaults to 'yes'. Note that this option only prevents +### saving of *new* credentials; it doesn't invalidate existing +### caches. (To do that, remove the cache files by hand.) +# store-auth-creds = no + +### Section for configuring external helper applications. +password-stores = +[helpers] +### Set editor to the command used to invoke your text editor. +### This will override the environment variables that Subversion +### examines by default to find this information ($EDITOR, +### et al). +# editor-cmd = editor (vi, emacs, notepad, etc.) +### Set diff-cmd to the absolute path of your 'diff' program. +### This will override the compile-time default, which is to use +### Subversion's internal diff implementation. +# diff-cmd = diff_program (diff, gdiff, etc.) +### Set diff3-cmd to the absolute path of your 'diff3' program. +### This will override the compile-time default, which is to use +### Subversion's internal diff3 implementation. +# diff3-cmd = diff3_program (diff3, gdiff3, etc.) +### Set diff3-has-program-arg to 'true' or 'yes' if your 'diff3' +### program accepts the '--diff-program' option. +# diff3-has-program-arg = [true | false] +diff-cmd = colordiff + +### Section for configuring tunnel agents. +[tunnels] +### Configure svn protocol tunnel schemes here. By default, only +### the 'ssh' scheme is defined. You can define other schemes to +### be used with 'svn+scheme://hostname/path' URLs. A scheme +### definition is simply a command, optionally prefixed by an +### environment variable name which can override the command if it +### is defined. The command (or environment variable) may contain +### arguments, using standard shell quoting for arguments with +### spaces. The command will be invoked as: +### <command> <hostname> svnserve -t +### (If the URL includes a username, then the hostname will be +### passed to the tunnel agent as <user>@<hostname>.) If the +### built-in ssh scheme were not predefined, it could be defined +### as: +# ssh = $SVN_SSH ssh +### If you wanted to define a new 'rsh' scheme, to be used with +### 'svn+rsh:' URLs, you could do so as follows: +# rsh = rsh +### Or, if you wanted to specify a full path and arguments: +# rsh = /path/to/rsh -l myusername +### On Windows, if you are specifying a full path to a command, +### use a forward slash (/) or a paired backslash (\\) as the +### path separator. A single backslash will be treated as an +### escape for the following character. + +### Section for configuring miscelleneous Subversion options. +[miscellany] +### Set global-ignores to a set of whitespace-delimited globs +### which Subversion will ignore in its 'status' output, and +### while importing or adding files and directories. +# global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store +### Set log-encoding to the default encoding for log messages +# log-encoding = latin1 +### Set use-commit-times to make checkout/update/switch/revert +### put last-committed timestamps on every file touched. +# use-commit-times = yes +### Set no-unlock to prevent 'svn commit' from automatically +### releasing locks on files. +# no-unlock = yes +### Set enable-auto-props to 'yes' to enable automatic properties +### for 'svn add' and 'svn import', it defaults to 'no'. +### Automatic properties are defined in the section 'auto-props'. +# enable-auto-props = yes + +### Section for configuring automatic properties. +[auto-props] +### The format of the entries is: +### file-name-pattern = propname[=value][;propname[=value]...] +### The file-name-pattern can contain wildcards (such as '*' and +### '?'). All entries which match will be applied to the file. +### Note that auto-props functionality must be enabled, which +### is typically done by setting the 'enable-auto-props' option. +# *.c = svn:eol-style=native +# *.cpp = svn:eol-style=native +# *.h = svn:eol-style=native +# *.dsp = svn:eol-style=CRLF +# *.dsw = svn:eol-style=CRLF +# *.sh = svn:eol-style=native;svn:executable +# *.txt = svn:eol-style=native +# *.png = svn:mime-type=image/png +# *.jpg = svn:mime-type=image/jpeg +# Makefile = svn:eol-style=native + diff --git a/subversion/servers b/subversion/servers @@ -0,0 +1,170 @@ +### This file specifies server-specific parameters, +### including HTTP proxy information, HTTP timeout settings, +### and authentication settings. +### +### The currently defined server options are: +### http-proxy-host Proxy host for HTTP connection +### http-proxy-port Port number of proxy host service +### http-proxy-username Username for auth to proxy service +### http-proxy-password Password for auth to proxy service +### http-proxy-exceptions List of sites that do not use proxy +### http-timeout Timeout for HTTP requests in seconds +### http-compression Whether to compress HTTP requests +### http-max-connections Maximum number of parallel server +### connections to use for any given +### HTTP operation. +### http-chunked-requests Whether to use chunked transfer +### encoding for HTTP requests body. +### neon-debug-mask Debug mask for Neon HTTP library +### ssl-authority-files List of files, each of a trusted CA +### ssl-trust-default-ca Trust the system 'default' CAs +### ssl-client-cert-file PKCS#12 format client certificate file +### ssl-client-cert-password Client Key password, if needed. +### ssl-pkcs11-provider Name of PKCS#11 provider to use. +### http-library Which library to use for http/https +### connections. +### http-bulk-updates Whether to request bulk update +### responses or to fetch each file +### in an individual request. +### store-passwords Specifies whether passwords used +### to authenticate against a +### Subversion server may be cached +### to disk in any way. +### store-plaintext-passwords Specifies whether passwords may +### be cached on disk unencrypted. +### store-ssl-client-cert-pp Specifies whether passphrase used +### to authenticate against a client +### certificate may be cached to disk +### in any way +### store-ssl-client-cert-pp-plaintext +### Specifies whether client cert +### passphrases may be cached on disk +### unencrypted (i.e., as plaintext). +### store-auth-creds Specifies whether any auth info +### (passwords, server certs, etc.) +### may be cached to disk. +### username Specifies the default username. +### +### Set store-passwords to 'no' to avoid storing passwords on disk +### in any way, including in password stores. It defaults to +### 'yes', but Subversion will never save your password to disk in +### plaintext unless explicitly configured to do so. +### Note that this option only prevents saving of *new* passwords; +### it doesn't invalidate existing passwords. (To do that, remove +### the cache files by hand as described in the Subversion book.) +### +### Set store-plaintext-passwords to 'no' to avoid storing +### passwords in unencrypted form in the auth/ area of your config +### directory. Set it to 'yes' to allow Subversion to store +### unencrypted passwords in the auth/ area. The default is +### 'ask', which means that Subversion will ask you before +### saving a password to disk in unencrypted form. Note that +### this option has no effect if either 'store-passwords' or +### 'store-auth-creds' is set to 'no'. +### +### Set store-ssl-client-cert-pp to 'no' to avoid storing ssl +### client certificate passphrases in the auth/ area of your +### config directory. It defaults to 'yes', but Subversion will +### never save your passphrase to disk in plaintext unless +### explicitly configured to do so. +### +### Note store-ssl-client-cert-pp only prevents the saving of *new* +### passphrases; it doesn't invalidate existing passphrases. To do +### that, remove the cache files by hand as described in the +### Subversion book at http://svnbook.red-bean.com/nightly/en/\ +### svn.serverconfig.netmodel.html\ +### #svn.serverconfig.netmodel.credcache +### +### Set store-ssl-client-cert-pp-plaintext to 'no' to avoid storing +### passphrases in unencrypted form in the auth/ area of your +### config directory. Set it to 'yes' to allow Subversion to +### store unencrypted passphrases in the auth/ area. The default +### is 'ask', which means that Subversion will prompt before +### saving a passphrase to disk in unencrypted form. Note that +### this option has no effect if either 'store-auth-creds' or +### 'store-ssl-client-cert-pp' is set to 'no'. +### +### Set store-auth-creds to 'no' to avoid storing any Subversion +### credentials in the auth/ area of your config directory. +### Note that this includes SSL server certificates. +### It defaults to 'yes'. Note that this option only prevents +### saving of *new* credentials; it doesn't invalidate existing +### caches. (To do that, remove the cache files by hand.) +### +### HTTP timeouts, if given, are specified in seconds. A timeout +### of 0, i.e. zero, causes a builtin default to be used. +### +### Most users will not need to explicitly set the http-library +### option, but valid values for the option include: +### 'serf': Serf-based module (Subversion 1.5 - present) +### 'neon': Neon-based module (Subversion 1.0 - 1.7) +### Availability of these modules may depend on your specific +### Subversion distribution. +### +### The commented-out examples below are intended only to +### demonstrate how to use this file; any resemblance to actual +### servers, living or dead, is entirely coincidental. + +### In the 'groups' section, the URL of the repository you're +### trying to access is matched against the patterns on the right. +### If a match is found, the server options are taken from the +### section with the corresponding name on the left. + +[groups] +# group1 = *.collab.net +# othergroup = repository.blarggitywhoomph.com +# thirdgroup = *.example.com + +### Information for the first group: +# [group1] +# http-proxy-host = proxy1.some-domain-name.com +# http-proxy-port = 80 +# http-proxy-username = blah +# http-proxy-password = doubleblah +# http-timeout = 60 +# neon-debug-mask = 130 +# store-plaintext-passwords = no +# username = harry + +### Information for the second group: +# [othergroup] +# http-proxy-host = proxy2.some-domain-name.com +# http-proxy-port = 9000 +# No username and password for the proxy, so use the defaults below. + +### You can set default parameters in the 'global' section. +### These parameters apply if no corresponding parameter is set in +### a specifically matched group as shown above. Thus, if you go +### through the same proxy server to reach every site on the +### Internet, you probably just want to put that server's +### information in the 'global' section and not bother with +### 'groups' or any other sections. +### +### Most people might want to configure password caching +### parameters here, but you can also configure them per server +### group (per-group settings override global settings). +### +### If you go through a proxy for all but a few sites, you can +### list those exceptions under 'http-proxy-exceptions'. This only +### overrides defaults, not explicitly matched server names. +### +### 'ssl-authority-files' is a semicolon-delimited list of files, +### each pointing to a PEM-encoded Certificate Authority (CA) +### SSL certificate. See details above for overriding security +### due to SSL. +[global] +# http-proxy-exceptions = *.exception.com, www.internal-site.org +# http-proxy-host = defaultproxy.whatever.com +# http-proxy-port = 7000 +# http-proxy-username = defaultusername +# http-proxy-password = defaultpassword +# http-compression = no +# No http-timeout, so just use the builtin default. +# No neon-debug-mask, so neon debugging is disabled. +# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem +# +# Password / passphrase caching parameters: +# store-passwords = no +# store-ssl-client-cert-pp = no +store-plaintext-passwords = yes +# store-ssl-client-cert-pp-plaintext = no