From: Chris Koeritz Date: Thu, 18 Apr 2013 01:04:32 +0000 (-0400) Subject: humanizing the config file examples. X-Git-Tag: 2.140.90~1008 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=fb96bedb9b0ff27c07b3bf120ffd116ecf72620e;p=feisty_meow.git humanizing the config file examples. --- diff --git a/database/configuration/emacs/dot-emacs b/database/configuration/emacs/dot-emacs deleted file mode 100644 index 9a140a98..00000000 --- a/database/configuration/emacs/dot-emacs +++ /dev/null @@ -1,7 +0,0 @@ - -# this is an example .emacs file with my preferred indentation for code. - -(setq c-default-style "linux" - c-basic-offset 2) - - diff --git a/database/configuration/emacs/dot.emacs b/database/configuration/emacs/dot.emacs new file mode 100644 index 00000000..9a140a98 --- /dev/null +++ b/database/configuration/emacs/dot.emacs @@ -0,0 +1,7 @@ + +# this is an example .emacs file with my preferred indentation for code. + +(setq c-default-style "linux" + c-basic-offset 2) + + diff --git a/database/configuration/readme.txt b/database/configuration/readme.txt new file mode 100644 index 00000000..86a257a3 --- /dev/null +++ b/database/configuration/readme.txt @@ -0,0 +1,9 @@ + +this directory provides a bunch of example configuration files for different +services and programs. + +some of the files here are named "dot.something", and that generally should +be translated to a real name of ".something". otherwise, these configuration +example files would be hidden (since the start with a dot), which doesn't +make a very good example. + diff --git a/database/configuration/screen/dot.screenrc b/database/configuration/screen/dot.screenrc new file mode 100644 index 00000000..bc3f9bda --- /dev/null +++ b/database/configuration/screen/dot.screenrc @@ -0,0 +1,12 @@ + +nethack on + +logfile $HOME/.tmp/zz_screenlog_%t_%Y_%m_%d_%c.%n + +defscrollback 1024 + +# Display the status line +hardstatus on +hardstatus alwayslastline +hardstatus string "%{.kW}%-w%{.bW}%t [%n]%{-}%+w %=%{..G} %H %{..Y} %Y/%m/%d %c" + diff --git a/database/configuration/screen/screenrc b/database/configuration/screen/screenrc deleted file mode 100644 index bc3f9bda..00000000 --- a/database/configuration/screen/screenrc +++ /dev/null @@ -1,12 +0,0 @@ - -nethack on - -logfile $HOME/.tmp/zz_screenlog_%t_%Y_%m_%d_%c.%n - -defscrollback 1024 - -# Display the status line -hardstatus on -hardstatus alwayslastline -hardstatus string "%{.kW}%-w%{.bW}%t [%n]%{-}%+w %=%{..G} %H %{..Y} %Y/%m/%d %c" - diff --git a/database/configuration/vim/dot.vimrc b/database/configuration/vim/dot.vimrc new file mode 100644 index 00000000..b271fa5b --- /dev/null +++ b/database/configuration/vim/dot.vimrc @@ -0,0 +1,30 @@ + +" cranks up the register saved buffer size to 1000 lines, since otherwise the cut buffer will only +" preserve the default 50 lines for a paste to another file. this makes all registers go up to +" this size though, so if you save to a lot of different ones, you will use more space in your +" viminfo file. +set viminfo='100,<1000,s10,h + +" tells vim not to make a backup of the file before editing it; this is living dangerously. +set nobk + +" nocompatible|nocp turns off compatibility mode, allowing filename completion. +set nocompatible + +" elflord just happens to be the color scheme i prefer. there are a bunch. +colorscheme elflord + +" map the normal copy, cut and paste keys (ctrl-c, ctrl-x & ctrl-v) for vim. +nmap "+gP +imap i +vmap "+y +vmap "+c + +" map ctrl-a to select all of the file. ctrl-i increments, whatever that is. +noremap +noremap gggHG +inoremap gggHG +cnoremap gggHG +onoremap gggHG +snoremap gggHG +xnoremap ggVG diff --git a/database/configuration/vim/dotvimrc b/database/configuration/vim/dotvimrc deleted file mode 100644 index b271fa5b..00000000 --- a/database/configuration/vim/dotvimrc +++ /dev/null @@ -1,30 +0,0 @@ - -" cranks up the register saved buffer size to 1000 lines, since otherwise the cut buffer will only -" preserve the default 50 lines for a paste to another file. this makes all registers go up to -" this size though, so if you save to a lot of different ones, you will use more space in your -" viminfo file. -set viminfo='100,<1000,s10,h - -" tells vim not to make a backup of the file before editing it; this is living dangerously. -set nobk - -" nocompatible|nocp turns off compatibility mode, allowing filename completion. -set nocompatible - -" elflord just happens to be the color scheme i prefer. there are a bunch. -colorscheme elflord - -" map the normal copy, cut and paste keys (ctrl-c, ctrl-x & ctrl-v) for vim. -nmap "+gP -imap i -vmap "+y -vmap "+c - -" map ctrl-a to select all of the file. ctrl-i increments, whatever that is. -noremap -noremap gggHG -inoremap gggHG -cnoremap gggHG -onoremap gggHG -snoremap gggHG -xnoremap ggVG diff --git a/database/configuration/webcam/dot.webcamrc b/database/configuration/webcam/dot.webcamrc new file mode 100644 index 00000000..f6b0aaa6 --- /dev/null +++ b/database/configuration/webcam/dot.webcamrc @@ -0,0 +1,37 @@ + +[grab] + device = /dev/video0 + text = "webcam %Y-%m-%d %H:%M:%S" +# infofile = filename + fg_red = 255 + fg_green = 255 + fg_blue = 255 + width = 320 + height = 240 + delay = 1 + wait = 0 +# input = composite1 + norm = pal + rotate = 0 + top = 0 + left = 0 + bottom = 239 + right = 319 + quality = 85 + trigger = 100 + once = 0 + +[velma] + host = velma + user = anonymous + pass = fred@ + dir = incoming + file = webcam.jpeg + tmp = uploading.jpeg + passive = 1 + debug = 0 + auto = 0 + local = 0 + ssh = 0 + + diff --git a/database/configuration/webcam/webcamrc_example b/database/configuration/webcam/webcamrc_example deleted file mode 100644 index f6b0aaa6..00000000 --- a/database/configuration/webcam/webcamrc_example +++ /dev/null @@ -1,37 +0,0 @@ - -[grab] - device = /dev/video0 - text = "webcam %Y-%m-%d %H:%M:%S" -# infofile = filename - fg_red = 255 - fg_green = 255 - fg_blue = 255 - width = 320 - height = 240 - delay = 1 - wait = 0 -# input = composite1 - norm = pal - rotate = 0 - top = 0 - left = 0 - bottom = 239 - right = 319 - quality = 85 - trigger = 100 - once = 0 - -[velma] - host = velma - user = anonymous - pass = fred@ - dir = incoming - file = webcam.jpeg - tmp = uploading.jpeg - passive = 1 - debug = 0 - auto = 0 - local = 0 - ssh = 0 - -