Browse files

clean deprecated config files; add some new

  • Loading branch information...
1 parent af8101a commit e42c1aa9136fb495c349675b7b835546d633230f Nikolay Khodyunya committed Nov 21, 2012
Showing with 130 additions and 24,877 deletions.
  1. +2 −0 README.md
  2. +0 −87 Rakefile
  3. BIN bin/.fx.swp
  4. +0 −2 bin/chromium
  5. +0 −26 bin/colors
  6. +0 −32 bin/colors2
  7. +0 −365 bin/colortest
  8. +0 −231 bin/exifgrep
  9. BIN bin/exifprobe
  10. +0 −485 bin/mplayer.ext
  11. +0 −2 bin/seltr
  12. BIN bin/skb
  13. +0 −19 bin/startx
  14. +0 −1 bin/thumb
  15. +0 −13 bin/xrun
  16. +0 −33 config.yml.new
  17. +0 −18 dot.Xmodmap
  18. +125 −0 dot.bashrc
  19. +0 −45 dot.config/feh/keys
  20. +0 −11 dot.config/feh/themes
  21. +0 −19 dot.config/gtk-3.0/settings.ini
  22. +0 −16 dot.config/solarized/colors.ini
  23. +0 −10 dot.config/zathura/zathurarc
  24. +0 −58 dot.fonts.conf
  25. +0 −1 dot.fonts/.gitignore
  26. +0 −1 dot.fonts/bitmap/.gitignore
  27. +0 −2,605 dot.fonts/bitmap/cureextra.bdf
  28. BIN dot.fonts/bitmap/cureextra.pcf
  29. BIN dot.fonts/bitmap/dina-cyr-15.pcf
  30. +0 −4,612 dot.fonts/bitmap/lokaltog-fixed-12b-iso10646.bdf
  31. +0 −6,987 dot.fonts/bitmap/lokaltog-fixed-12r-iso10646.bdf
  32. +0 −4,631 dot.fonts/bitmap/lokaltog-fixed-12r-iso10646.bdf.bak
  33. +0 −1,914 dot.fonts/bitmap/lokaltog-symbols-11-iso10646.bdf
  34. +0 −1,711 dot.fonts/bitmap/montecarlo.bdf
  35. +3 −3 dot.gitconfig.erb → dot.gitconfig
  36. +0 −4 dot.gtkrc-2.0
  37. +0 −23 dot.gtkrc-2.0.mine
  38. +0 −26 dot.mailcap
  39. +0 −9 dot.mplayer/config
  40. +0 −1 dot.mplayer/input.conf
  41. +0 −49 dot.ncmpcpp/config
  42. +0 −184 dot.ncmpcpp/keys
  43. +0 −6 dot.pryrc
  44. +0 −2 dot.railsrc
  45. +0 −7 dot.rtorrent.rc
  46. +0 −24 dot.scripts/notification-daemon.sh
  47. +0 −96 dot.scripts/topstatusbar.sh
  48. +0 −10 dot.scripts/tray.sh
  49. +0 −214 dot.xmonad/xmonad.hs
  50. +0 −43 dot.xsession
  51. +0 −65 dot.zprofile
  52. +0 −39 dot.zshrc
  53. +0 −81 install.sh
  54. +0 −4 mad.conf
  55. +0 −34 mpd.conf.erb
  56. +0 −18 mpdscribble.conf.erb
  57. BIN wallpapers/ngsrv-1920x1080.jpg
View
2 README.md
@@ -1,3 +1,5 @@
+# NEWS
+All configurations this repository provided are now deprecated, except gitconfig and XCompose. I've switched from manual configutation to defaults as I find maintaing so much configurations is useless.
# Dotfiles
Various configuration files for my main system. Take what you like.
## Installation
View
87 Rakefile
@@ -1,87 +0,0 @@
-# Rake dotfiles manager tasks.
-# Use on your own risk.
-# Author: Nikolay Khodyunya, 2012
-# email: nickolayho@gmail.com
-require 'rake'
-require 'fileutils'
-require 'erb'
-require 'yaml'
-
-# initialization
-CONFIGFILE = 'config.yml'
-DATE = Time.now.strftime "%Y-%m-%d_%H-%M"
-DEST = "#{ENV['HOME']}"
-BACKUP = File.join DEST, "bak-#{DATE}"
-EXCLUDE = %w[. .. etc Rakefile README.md .git .gitingore .gitmodules config.yml config.yml.new gentooetc install.sh bitmap]
-
-# tasks
-desc "install the dot files into user's home directory"
-task :install do
- FileUtils::rm_rf BACKUP if File.exist?(BACKUP) || File.symlink?(BACKUP)
- @config = Conf.new('config.yml')
- link_dir('.', DEST)
-end
-
-class Conf
- def initialize(config)
- @yml = YAML::load(File.open(config))
- end
- attr_accessor :filename
- def method_missing(mname)
- @yml[@filename][mname.to_s]
- end
-end
-
-def link_dir(from,to)
- puts "Changing directory to #{from}"
- Dir.chdir from
- Dir.glob('*', File::FNM_DOTMATCH).each do |file|
- next if EXCLUDE.include? file
- result = file.sub /^dot\./, '.'
- if File.directory? file
- puts "#{file} is directory, creating #{to}/#{result}"
- newdir = File.join(to, result)
- dir_create(newdir)
- link_dir(file,newdir)
- else
- if file =~ /\.erb$/
- puts "processing #{file}"
- template = ERB.new(File.open(file).read)
- result = result.sub /\.erb$/, ''
- @config.filename = result
- backup("#{to}/#{result}") if File.exist? "#{to}/#{result}"
- File.open("#{to}/#{result}",'w') {|f| f.write template.result}
- else
- link_file(File.expand_path(file),"#{to}/#{result}")
- end
- end
- end
- Dir.chdir '..'
-end
-
-def link_file(file,to)
- backup(to) if File.exist?(to) || File.symlink?(to)
- File.symlink(file,to)
-end
-
-def dir_create(dir)
- begin
- Dir.mkdir dir
- rescue Errno::EEXIST => err
- if File.directory?(dir) && !File.symlink?(dir)
- else
- backup(dir)
- Dir.mkdir dir
- end
- end
-end
-
-def backup(file)
- if File.symlink?(file)
- File.unlink(file)
- else
- path = File.dirname(file).sub DEST, ''
- FileUtils.mkdir_p BACKUP+path
- FileUtils.mv(file,"#{BACKUP}#{path}")
- end
-end
View
BIN bin/.fx.swp
Binary file not shown.
View
2 bin/chromium
@@ -1,2 +0,0 @@
-#!/usr/bin/env bash
-chromium-dev --disk-cache-dir=/tmp/chrome-cache
View
26 bin/colors
@@ -1,26 +0,0 @@
-#!/bin/bash
-#
-# This file echoes a bunch of color codes to the
-# terminal to demonstrate what's available. Each
-# line is the color code of one forground color,
-# out of 17 (default + 16 escapes), followed by a
-# test use of that color on all nine background
-# colors (default + 8 escapes).
-#
-
-T='gYw' # The test text
-
-echo -e "\n 40m 41m 42m 43m\
- 44m 45m 46m 47m";
-
-for FGs in ' m' ' 1m' ' 30m' '1;30m' ' 31m' '1;31m' ' 32m' \
- '1;32m' ' 33m' '1;33m' ' 34m' '1;34m' ' 35m' '1;35m' \
- ' 36m' '1;36m' ' 37m' '1;37m';
- do FG=${FGs// /}
- echo -en " $FGs \033[$FG $T "
- for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
- do echo -en "$EINS \033[$FG\033[$BG $T \033[0m";
- done
- echo;
-done
-echo
View
32 bin/colors2
@@ -1,32 +0,0 @@
-#!/bin/bash
-# Original: http://frexx.de/xterm-256-notes/
-# http://frexx.de/xterm-256-notes/data/colortable16.sh
-# Modified by Aaron Griffin
-# and further by Kazuo Teramoto
-FGNAMES=(' black ' ' red ' ' green ' ' yellow' ' blue ' 'magenta' ' cyan ' ' white ')
-BGNAMES=('DFT' 'BLK' 'RED' 'GRN' 'YEL' 'BLU' 'MAG' 'CYN' 'WHT')
-
-echo " ┌──────────────────────────────────────────────────────────────────────────┐"
-for b in {0..8}; do
- ((b>0)) && bg=$((b+39))
-
- echo -en "\033[0m ${BGNAMES[b]}"
-
- for f in {0..7}; do
- echo -en "\033[${bg}m\033[$((f+30))m ${FGNAMES[f]} "
- done
-
- echo -en "\033[0m │"
- echo -en "\033[0m\n\033[0m │ "
-
- for f in {0..7}; do
- echo -en "\033[${bg}m\033[1;$((f+30))m ${FGNAMES[f]} "
- done
-
- echo -en "\033[0m │"
- echo -e "\033[0m"
-
- ((b<8)) &&
- echo " ├──────────────────────────────────────────────────────────────────────────┤"
-done
-echo " └──────────────────────────────────────────────────────────────────────────┘"
View
365 bin/colortest
@@ -1,365 +0,0 @@
-#!/usr/bin/perl
-
-# by entheon, do whatever the hell you want with this file
-
-print "\n";
-print "**************************\n";
-print "*XTERM 256Color Test Chart\n";
-print "**************************\n";
-print "* 16 = black\n";
-print "* 255 = white\n";
-print "*\n";
-print "* Usage:\n";
-print "* colortest -w\n";
-print "* wide display\n";
-print "*\n";
-print "* colortest -w -r\n";
-print "* wide display reversed\n";
-print "*\n";
-print "* colortest -w -s\n";
-print "* extra spaces padding\n";
-print "*\n";
-print "* colortest -w -r -s\n";
-print "* available combination\n";
-print "*\n";
-print "**************************\n";
-
-if( $ARGV[0] eq "-w" || $ARGV[1] eq "-w" || $ARGV[2] eq "-w" ) {
- push(@arr, [( " 16: 00/00/00", " 17: 00/00/5f", " 18: 00/00/87", " 19: 00/00/af", " 20: 00/00/d7", " 21: 00/00/ff")] );
- push(@arr, [( " 22: 00/5f/00", " 23: 00/5f/5f", " 24: 00/5f/87", " 25: 00/5f/af", " 26: 00/5f/d7", " 27: 00/5f/ff")] );
- push(@arr, [( " 28: 00/87/00", " 29: 00/87/5f", " 30: 00/87/87", " 31: 00/87/af", " 32: 00/87/d7", " 33: 00/87/ff")] );
- push(@arr, [( " 34: 00/af/00", " 35: 00/af/5f", " 36: 00/af/87", " 37: 00/af/af", " 38: 00/af/d7", " 39: 00/af/ff")] );
- push(@arr, [( " 40: 00/d7/00", " 41: 00/d7/5f", " 42: 00/d7/87", " 43: 00/d7/af", " 44: 00/d7/d7", " 45: 00/d7/ff")] );
- push(@arr, [( " 46: 00/ff/00", " 47: 00/ff/5f", " 48: 00/ff/87", " 49: 00/ff/af", " 50: 00/ff/d7", " 51: 00/ff/ff")] );
- push(@arr, [( " 52: 5f/00/00", " 53: 5f/00/5f", " 54: 5f/00/87", " 55: 5f/00/af", " 56: 5f/00/d7", " 57: 5f/00/ff")] );
- push(@arr, [( " 58: 5f/5f/00", " 59: 5f/5f/5f", " 60: 5f/5f/87", " 61: 5f/5f/af", " 62: 5f/5f/d7", " 63: 5f/5f/ff")] );
- push(@arr, [( " 64: 5f/87/00", " 65: 5f/87/5f", " 66: 5f/87/87", " 67: 5f/87/af", " 68: 5f/87/d7", " 69: 5f/87/ff")] );
- push(@arr, [( " 70: 5f/af/00", " 71: 5f/af/5f", " 72: 5f/af/87", " 73: 5f/af/af", " 74: 5f/af/d7", " 75: 5f/af/ff")] );
- push(@arr, [( " 76: 5f/d7/00", " 77: 5f/d7/5f", " 78: 5f/d7/87", " 79: 5f/d7/af", " 80: 5f/d7/d7", " 81: 5f/d7/ff")] );
- push(@arr, [( " 82: 5f/ff/00", " 83: 5f/ff/5f", " 84: 5f/ff/87", " 85: 5f/ff/af", " 86: 5f/ff/d7", " 87: 5f/ff/ff")] );
- push(@arr, [( " 88: 87/00/00", " 89: 87/00/5f", " 90: 87/00/87", " 91: 87/00/af", " 92: 87/00/d7", " 93: 87/00/ff")] );
- push(@arr, [( " 94: 87/5f/00", " 95: 87/5f/5f", " 96: 87/5f/87", " 97: 87/5f/af", " 98: 87/5f/d7", " 99: 87/5f/ff")] );
- push(@arr, [( " 100: 87/87/00", " 101: 87/87/5f", " 102: 87/87/87", " 103: 87/87/af", " 104: 87/87/d7", " 105: 87/87/ff")] );
- push(@arr, [( " 106: 87/af/00", " 107: 87/af/5f", " 108: 87/af/87", " 109: 87/af/af", " 110: 87/af/d7", " 111: 87/af/ff")] );
- push(@arr, [( " 112: 87/d7/00", " 113: 87/d7/5f", " 114: 87/d7/87", " 115: 87/d7/af", " 116: 87/d7/d7", " 117: 87/d7/ff")] );
- push(@arr, [( " 118: 87/ff/00", " 119: 87/ff/5f", " 120: 87/ff/87", " 121: 87/ff/af", " 122: 87/ff/d7", " 123: 87/ff/ff")] );
- push(@arr, [( " 124: af/00/00", " 125: af/00/5f", " 126: af/00/87", " 127: af/00/af", " 128: af/00/d7", " 129: af/00/ff")] );
- push(@arr, [( " 130: af/5f/00", " 131: af/5f/5f", " 132: af/5f/87", " 133: af/5f/af", " 134: af/5f/d7", " 135: af/5f/ff")] );
- push(@arr, [( " 136: af/87/00", " 137: af/87/5f", " 138: af/87/87", " 139: af/87/af", " 140: af/87/d7", " 141: af/87/ff")] );
- push(@arr, [( " 142: af/af/00", " 143: af/af/5f", " 144: af/af/87", " 145: af/af/af", " 146: af/af/d7", " 147: af/af/ff")] );
- push(@arr, [( " 148: af/d7/00", " 149: af/d7/5f", " 150: af/d7/87", " 151: af/d7/af", " 152: af/d7/d7", " 153: af/d7/ff")] );
- push(@arr, [( " 154: af/ff/00", " 155: af/ff/5f", " 156: af/ff/87", " 157: af/ff/af", " 158: af/ff/d7", " 159: af/ff/ff")] );
- push(@arr, [( " 160: d7/00/00", " 161: d7/00/5f", " 162: d7/00/87", " 163: d7/00/af", " 164: d7/00/d7", " 165: d7/00/ff")] );
- push(@arr, [( " 166: d7/5f/00", " 167: d7/5f/5f", " 168: d7/5f/87", " 169: d7/5f/af", " 170: d7/5f/d7", " 171: d7/5f/ff")] );
- push(@arr, [( " 172: d7/87/00", " 173: d7/87/5f", " 174: d7/87/87", " 175: d7/87/af", " 176: d7/87/d7", " 177: d7/87/ff")] );
- push(@arr, [( " 178: d7/af/00", " 179: d7/af/5f", " 180: d7/af/87", " 181: d7/af/af", " 182: d7/af/d7", " 183: d7/af/ff")] );
- push(@arr, [( " 184: d7/d7/00", " 185: d7/d7/5f", " 186: d7/d7/87", " 187: d7/d7/af", " 188: d7/d7/d7", " 189: d7/d7/ff")] );
- push(@arr, [( " 190: d7/ff/00", " 191: d7/ff/5f", " 192: d7/ff/87", " 193: d7/ff/af", " 194: d7/ff/d7", " 195: d7/ff/ff")] );
- push(@arr, [( " 196: ff/00/00", " 197: ff/00/5f", " 198: ff/00/87", " 199: ff/00/af", " 200: ff/00/d7", " 201: ff/00/ff")] );
- push(@arr, [( " 202: ff/5f/00", " 203: ff/5f/5f", " 204: ff/5f/87", " 205: ff/5f/af", " 206: ff/5f/d7", " 207: ff/5f/ff")] );
- push(@arr, [( " 208: ff/87/00", " 209: ff/87/5f", " 210: ff/87/87", " 211: ff/87/af", " 212: ff/87/d7", " 213: ff/87/ff")] );
- push(@arr, [( " 214: ff/af/00", " 215: ff/af/5f", " 216: ff/af/87", " 217: ff/af/af", " 218: ff/af/d7", " 219: ff/af/ff")] );
- push(@arr, [( " 220: ff/d7/00", " 221: ff/d7/5f", " 222: ff/d7/87", " 223: ff/d7/af", " 224: ff/d7/d7", " 225: ff/d7/ff")] );
- push(@arr, [( " 226: ff/ff/00", " 227: ff/ff/5f", " 228: ff/ff/87", " 229: ff/ff/af", " 230: ff/ff/d7", " 231: ff/ff/ff")] );
- push(@arr, [( " 232: 08/08/08", " 233: 12/12/12", " 234: 1c/1c/1c", " 235: 26/26/26", " 236: 30/30/30", " 237: 3a/3a/3a")] );
- push(@arr, [( " 238: 44/44/44", " 239: 4e/4e/4e", " 240: 58/58/58", " 241: 62/62/62", " 242: 6c/6c/6c", " 243: 76/76/76")] );
- push(@arr, [( " 244: 80/80/80", " 245: 8a/8a/8a", " 246: 94/94/94", " 247: 9e/9e/9e", " 248: a8/a8/a8", " 249: b2/b2/b2")] );
- push(@arr, [( " 250: bc/bc/bc", " 251: c6/c6/c6", " 252: d0/d0/d0", " 253: da/da/da", " 254: e4/e4/e4", " 255: ee/ee/ee")] );
-
- if( $ARGV[0] eq "-s" || $ARGV[1] eq "-s" || $ARGV[2] eq "-s" ){
- $padding = " ";
- }
- else {
-
- }
-
- # display in reverse order
- if( $ARGV[0] eq "-r" || $ARGV[1] eq "-r" || $ARGV[2] eq "-r" ){
- for( $dimone = 0; $dimone < scalar @arr; $dimone++ ) {
-
- $seed = ($dimone % 6) * -1;
- for( $dimtwo = 0; $dimtwo < 6; $dimtwo++ ) {
-
- $movone = $seed;
- $movtwo = $seed * -1;
-
- print $arr[$dimone][$dimtwo] . $padding;
-
- $seed = $seed+1;
- }
-
- print "\n";
- }
- }
- else {
- for( $dimone = 0; $dimone < scalar @arr; $dimone++ ) {
-
- $seed = ($dimone % 6) * -1;
- for( $dimtwo = 0; $dimtwo < 6; $dimtwo++ ) {
-
- $movone = $seed;
- $movtwo = $seed * -1;
-
- $newone = $dimone+$movone;
- $newtwo = $dimtwo+$movtwo;
-
- if( $newone < scalar @arr ){
- print $arr[$newone][$newtwo] . $padding;
- }
-
- $seed = $seed+1;
- }
-
- print "\n";
- }
- }
- print "\n";
- print "\n";
-
-}
-else {
- print " 16: 00/00/00\n";
- print " 17: 00/00/5f\n";
- print " 18: 00/00/87\n";
- print " 19: 00/00/af\n";
- print " 20: 00/00/d7\n";
- print " 21: 00/00/ff\n";
- print " 22: 00/5f/00\n";
- print " 23: 00/5f/5f\n";
- print " 24: 00/5f/87\n";
- print " 25: 00/5f/af\n";
- print " 26: 00/5f/d7\n";
- print " 27: 00/5f/ff\n";
- print " 28: 00/87/00\n";
- print " 29: 00/87/5f\n";
- print " 30: 00/87/87\n";
- print " 31: 00/87/af\n";
- print " 32: 00/87/d7\n";
- print " 33: 00/87/ff\n";
- print " 34: 00/af/00\n";
- print " 35: 00/af/5f\n";
- print " 36: 00/af/87\n";
- print " 37: 00/af/af\n";
- print " 38: 00/af/d7\n";
- print " 39: 00/af/ff\n";
- print " 40: 00/d7/00\n";
- print " 41: 00/d7/5f\n";
- print " 42: 00/d7/87\n";
- print " 43: 00/d7/af\n";
- print " 44: 00/d7/d7\n";
- print " 45: 00/d7/ff\n";
- print " 46: 00/ff/00\n";
- print " 47: 00/ff/5f\n";
- print " 48: 00/ff/87\n";
- print " 49: 00/ff/af\n";
- print " 50: 00/ff/d7\n";
- print " 51: 00/ff/ff\n";
- print " 52: 5f/00/00\n";
- print " 53: 5f/00/5f\n";
- print " 54: 5f/00/87\n";
- print " 55: 5f/00/af\n";
- print " 56: 5f/00/d7\n";
- print " 57: 5f/00/ff\n";
- print " 58: 5f/5f/00\n";
- print " 59: 5f/5f/5f\n";
- print " 60: 5f/5f/87\n";
- print " 61: 5f/5f/af\n";
- print " 62: 5f/5f/d7\n";
- print " 63: 5f/5f/ff\n";
- print " 64: 5f/87/00\n";
- print " 65: 5f/87/5f\n";
- print " 66: 5f/87/87\n";
- print " 67: 5f/87/af\n";
- print " 68: 5f/87/d7\n";
- print " 69: 5f/87/ff\n";
- print " 70: 5f/af/00\n";
- print " 71: 5f/af/5f\n";
- print " 72: 5f/af/87\n";
- print " 73: 5f/af/af\n";
- print " 74: 5f/af/d7\n";
- print " 75: 5f/af/ff\n";
- print " 76: 5f/d7/00\n";
- print " 77: 5f/d7/5f\n";
- print " 78: 5f/d7/87\n";
- print " 79: 5f/d7/af\n";
- print " 80: 5f/d7/d7\n";
- print " 81: 5f/d7/ff\n";
- print " 82: 5f/ff/00\n";
- print " 83: 5f/ff/5f\n";
- print " 84: 5f/ff/87\n";
- print " 85: 5f/ff/af\n";
- print " 86: 5f/ff/d7\n";
- print " 87: 5f/ff/ff\n";
- print " 88: 87/00/00\n";
- print " 89: 87/00/5f\n";
- print " 90: 87/00/87\n";
- print " 91: 87/00/af\n";
- print " 92: 87/00/d7\n";
- print " 93: 87/00/ff\n";
- print " 94: 87/5f/00\n";
- print " 95: 87/5f/5f\n";
- print " 96: 87/5f/87\n";
- print " 97: 87/5f/af\n";
- print " 98: 87/5f/d7\n";
- print " 99: 87/5f/ff\n";
- print " 100 :87/87/00\n";
- print " 101 :87/87/5f\n";
- print " 102 :87/87/87\n";
- print " 103 :87/87/af\n";
- print " 104 :87/87/d7\n";
- print " 105 :87/87/ff\n";
- print " 106 :87/af/00\n";
- print " 107 :87/af/5f\n";
- print " 108 :87/af/87\n";
- print " 109 :87/af/af\n";
- print " 110 :87/af/d7\n";
- print " 111 :87/af/ff\n";
- print " 112 :87/d7/00\n";
- print " 113 :87/d7/5f\n";
- print " 114 :87/d7/87\n";
- print " 115 :87/d7/af\n";
- print " 116 :87/d7/d7\n";
- print " 117 :87/d7/ff\n";
- print " 118 :87/ff/00\n";
- print " 119 :87/ff/5f\n";
- print " 120 :87/ff/87\n";
- print " 121 :87/ff/af\n";
- print " 122 :87/ff/d7\n";
- print " 123 :87/ff/ff\n";
- print " 124 :af/00/00\n";
- print " 125 :af/00/5f\n";
- print " 126 :af/00/87\n";
- print " 127 :af/00/af\n";
- print " 128 :af/00/d7\n";
- print " 129 :af/00/ff\n";
- print " 130 :af/5f/00\n";
- print " 131 :af/5f/5f\n";
- print " 132 :af/5f/87\n";
- print " 133 :af/5f/af\n";
- print " 134 :af/5f/d7\n";
- print " 135 :af/5f/ff\n";
- print " 136 :af/87/00\n";
- print " 137 :af/87/5f\n";
- print " 138 :af/87/87\n";
- print " 139 :af/87/af\n";
- print " 140 :af/87/d7\n";
- print " 141 :af/87/ff\n";
- print " 142 :af/af/00\n";
- print " 143 :af/af/5f\n";
- print " 144 :af/af/87\n";
- print " 145 :af/af/af\n";
- print " 146 :af/af/d7\n";
- print " 147 :af/af/ff\n";
- print " 148 :af/d7/00\n";
- print " 149 :af/d7/5f\n";
- print " 150 :af/d7/87\n";
- print " 151 :af/d7/af\n";
- print " 152 :af/d7/d7\n";
- print " 153 :af/d7/ff\n";
- print " 154 :af/ff/00\n";
- print " 155 :af/ff/5f\n";
- print " 156 :af/ff/87\n";
- print " 157 :af/ff/af\n";
- print " 158 :af/ff/d7\n";
- print " 159 :af/ff/ff\n";
- print " 160 :d7/00/00\n";
- print " 161 :d7/00/5f\n";
- print " 162 :d7/00/87\n";
- print " 163 :d7/00/af\n";
- print " 164 :d7/00/d7\n";
- print " 165 :d7/00/ff\n";
- print " 166 :d7/5f/00\n";
- print " 167 :d7/5f/5f\n";
- print " 168 :d7/5f/87\n";
- print " 169 :d7/5f/af\n";
- print " 170 :d7/5f/d7\n";
- print " 171 :d7/5f/ff\n";
- print " 172 :d7/87/00\n";
- print " 173 :d7/87/5f\n";
- print " 174 :d7/87/87\n";
- print " 175 :d7/87/af\n";
- print " 176 :d7/87/d7\n";
- print " 177 :d7/87/ff\n";
- print " 178 :d7/af/00\n";
- print " 179 :d7/af/5f\n";
- print " 180 :d7/af/87\n";
- print " 181 :d7/af/af\n";
- print " 182 :d7/af/d7\n";
- print " 183 :d7/af/ff\n";
- print " 184 :d7/d7/00\n";
- print " 185 :d7/d7/5f\n";
- print " 186 :d7/d7/87\n";
- print " 187 :d7/d7/af\n";
- print " 188 :d7/d7/d7\n";
- print " 189 :d7/d7/ff\n";
- print " 190 :d7/ff/00\n";
- print " 191 :d7/ff/5f\n";
- print " 192 :d7/ff/87\n";
- print " 193 :d7/ff/af\n";
- print " 194 :d7/ff/d7\n";
- print " 195 :d7/ff/ff\n";
- print " 196 :ff/00/00\n";
- print " 197 :ff/00/5f\n";
- print " 198 :ff/00/87\n";
- print " 199 :ff/00/af\n";
- print " 200 :ff/00/d7\n";
- print " 201 :ff/00/ff\n";
- print " 202 :ff/5f/00\n";
- print " 203 :ff/5f/5f\n";
- print " 204 :ff/5f/87\n";
- print " 205 :ff/5f/af\n";
- print " 206 :ff/5f/d7\n";
- print " 207 :ff/5f/ff\n";
- print " 208 :ff/87/00\n";
- print " 209 :ff/87/5f\n";
- print " 210 :ff/87/87\n";
- print " 211 :ff/87/af\n";
- print " 212 :ff/87/d7\n";
- print " 213 :ff/87/ff\n";
- print " 214 :ff/af/00\n";
- print " 215 :ff/af/5f\n";
- print " 216 :ff/af/87\n";
- print " 217 :ff/af/af\n";
- print " 218 :ff/af/d7\n";
- print " 219 :ff/af/ff\n";
- print " 220 :ff/d7/00\n";
- print " 221 :ff/d7/5f\n";
- print " 222 :ff/d7/87\n";
- print " 223 :ff/d7/af\n";
- print " 224 :ff/d7/d7\n";
- print " 225 :ff/d7/ff\n";
- print " 226 :ff/ff/00\n";
- print " 227 :ff/ff/5f\n";
- print " 228 :ff/ff/87\n";
- print " 229 :ff/ff/af\n";
- print " 230 :ff/ff/d7\n";
- print " 231 :ff/ff/ff\n";
- print " 232 :08/08/08\n";
- print " 233 :12/12/12\n";
- print " 234 :1c/1c/1c\n";
- print " 235 :26/26/26\n";
- print " 236 :30/30/30\n";
- print " 237 :3a/3a/3a\n";
- print " 238 :44/44/44\n";
- print " 239 :4e/4e/4e\n";
- print " 240 :58/58/58\n";
- print " 241 :62/62/62\n";
- print " 242 :6c/6c/6c\n";
- print " 243 :76/76/76\n";
- print " 244 :80/80/80\n";
- print " 245 :8a/8a/8a\n";
- print " 246 :94/94/94\n";
- print " 247 :9e/9e/9e\n";
- print " 248 :a8/a8/a8\n";
- print " 249 :b2/b2/b2\n";
- print " 250 :bc/bc/bc\n";
- print " 251 :c6/c6/c6\n";
- print " 252 :d0/d0/d0\n";
- print " 253 :da/da/da\n";
- print " 254 :e4/e4/e4\n";
- print " 255 :ee/ee/ee\n";
- print "\n";
- print "\n";
-}
-print "0m";
-exit;
View
231 bin/exifgrep
@@ -1,231 +0,0 @@
-#!/bin/sh
-# @(#) $Id: exifgrep,v 1.11 2005/07/02 13:10:03 alex Exp $
-
-# Run 'egrep' on the output of exifprobe -L, massaging the output a la
-# 'list-photo'. Accepts the -var, -export, -num, and '-' options of
-# list_photo; all other options are passed to egrep.
-
-usage()
-{
- echo "Usage: exifgrep [-var|-export] [-num] [-r] [-t] [-n] [-c] [egrep-options] egrep-pattern [NOT egrep-pattern] imagefilename[s]" 1>&2
- exit 1
-}
-
-
-# Create the output format, choosing numerical or "interpreted" values
-# from the exifprobe output lines, and stripping unwanted spaces for
-# "variable" format (while quoting multi-word values).
-
-format()
-{
- filename=
- vars="var nequals nvalue iequals value remainder"
- case "${nameopt}" in
- "-n") vars="filename var nequals nvalue iequals value remainder" ;;
- esac
-
- while read $vars
- do
- case "$filename" in
- "#") continue ;;
- "#"*) continue; ;;
- *"#") continue ;;
- esac
- case ${var} in
- "#") continue ;;
- "#"*) continue; ;;
- *"#") continue ;;
- esac
- if test 0$dovar -ne 0
- then
- if test ${donum} -eq 1
- then
- case ${nvalue} in
- [0-9]*) echo -n "${export}${var}=${nvalue}" ;;
- *) quote ${var} ${nvalue} ${iequals} ${value} ${remainder};;
- esac
- else
- case "${iequals}" in
- "") quote ${var} ${nvalue}${value}${remainder} ;;
- =) quote ${var} ${value} ${remainder} ;;
- APEX) quote ${var} ${remainder} ;;
- *) quote ${var} ${nvalue} ${iequals} ${value} ${remainder} ;;
- esac
- fi
- elif test ${donum} -eq 1
- then
- case ${nvalue} in
- "'"*) echo -n "${var}=${nvalue}"
- case "${iequals}" in
- "") ;;
- *) echo -n " ${iequals} ${value} ${remainder}" ;;
- esac
- ;;
- *) case "${var}" in
- "#") ;;
- *) echo -n "${var}=${nvalue}" ;;
- esac
- ;;
- esac
- else
- echo -n $var $nequals $nvalue $iequals $value $remainder
- fi
- case "${filename}" in
- "") echo ;;
- *) echo " # ${filename}" ;;
- esac
- done
-}
-
-
-# On output, place double-quotes around multi-word values which
-# are not already quoted. This is necessary for 'variable' format.
-# Do not include "commented" material in quoted phrase.
-
-quote()
-{
- local inquote
-
- inquote=0
- case $# in
- 0) ;;
- 1) echo -n "${export}$1=" ;;
- 2) echo -n "${export}$1=$2" ;;
- *) case $1 in
- \#*) echo -n "$1" ;;
- *) echo -n "${export}$1"= ;;
- esac
- shift
- while test $# -gt 0
- do
- case $1 in
- \'*) echo -n $*; break ;;
- \#*) case $inquote in
- 1) echo -n "' " ;;
- esac
- inquote=0
- echo -n "$*"
- break
- ;;
- *) case $inquote in
- 0) echo -n "'"; inquote=1 ;;
- esac
- echo -n "$1"
- shift
- ;;
- esac
- done
- case $inquote in
- 1) echo -n "'" ;;
- esac
- ;;
- esac
-}
-
-exifgrep_imagefind()
-{
- local dir
-
- dir="$*"
- find ${dir:="."} \
- \( \
- -iname "*.tiff" -o -iname "*.tiff" -o -iname "*.tiff.Z" \
- -o -iname "*.tif" -o -iname "*.tif" -o -iname "*.tif.Z" \
- -o -iname "*.jpeg" -o -iname "*.jpeg.gz" -o -iname "*.jpeg.Z" \
- -o -iname "*.jpg" -o -iname "*.jpg.gz" -o -iname "*.jpg.Z" \
- -o -iname "*.jpe" -o -iname "*.jpe.gz" -o -iname "*.jpe.Z" \
- -o -iname "*.kqp" -o -iname "*.kqp.gz" -o -iname "*.kqp.Z" \
- -o -iname "*.mrw" -o -iname "*.mrw.gz" -o -iname "*.mrw.Z" \
- -o -iname "*.nef" -o -iname "*.nef.gz" -o -iname "*.nef.Z" \
- -o -iname "*.orf" -o -iname "*.orf.gz" -o -iname "*.orf.Z" \
- -o -iname "*.pef" -o -iname "*.pef.gz" -o -iname "*.pef.Z" \
- -o -iname "*.x3f" -o -iname "*.x3f.gz" -o -iname "*.x3f.Z" \
- -o -iname "*.dng" -o -iname "*.dng.gz" -o -iname "*.dng.Z" \
- -o -iname "*.erf" -o -iname "*.erf.gz" -o -iname "*.erf.Z" \
- -o -iname "*.raf" -o -iname "*.raf.gz" -o -iname "*.raf.Z" \
- -o -iname "*.cr2" -o -iname "*.cr2.gz" -o -iname "*.cr2.Z" \
- -o -iname "*.crw" -o -iname "*.crw.gz" -o -iname "*.crw.Z" \
- -o -iname "*.jp2" -o -iname "*.jp2.gz" -o -iname "*.jp2.Z" \
- -o -iname "*.k25" -o -iname "*.k25.gz" -o -iname "*.k25.Z" \
- -o -iname "*.kdc" -o -iname "*.kdc.gz" -o -iname "*.kdc.Z" \
- \) -print
-}
-
-: PROBE=${PROBE:=exifprobe}
-# Gather options first. This is kind of wierd.
-dovar=0
-donum=0
-recursisve=0
-
-export=
-egrep_options=
-vgrep_options=
-pattern=
-notpattern=
-nameopt=
-tagopt=
-coloropt=
-
-while test $# -ge 1
-do
- case $1 in
- -var) dovar=1; shift ;;
- -num) donum=1; shift ;;
- -c) coloropt="-c" ; shift ;;
- -n) nameopt="-n"; shift ;; # may need this if reading from stdin
- -r) recursive=1; shift ;;
- -t) tagopt="-enN" ; shift ;;
- -export*) export="export "; dovar=1; shift ;;
- -h) usage ;;
- -*) egrep_options="$egrep_options $1"; shift ;;
- NOT) case "$2" in
- -f) notpattern="-f $3"; shift; shift; shift; break ;;
- *) notpattern="$2"; shift; shift; break ;;
- esac
- ;;
- *) pattern=$1; shift
- case $1 in
- NOT) case "$2" in
- -f) notpattern="-f $3"; shift; shift; shift; break ;;
- *) notpattern="$2"; shift; shift; break ;;
- esac
- ;;
- *) break ;;
- esac
- ;;
- esac
-done
-
-if test $# -lt 1 -a "X${pattern}${notpattern}" = "X"
-then
- usage
-fi
-
-# This should probably be modified somehow to use xargs.
-case "${recursive}" in
- 1) args=$( exifgrep_imagefind $* )
- set -- ${args}
- ;;
-esac
-
-# All variables are global.
-# If there are no filenames, read from stdin, which is expected to be
-# exifprobe -L output.
-
-case $# in
- 0) egrep ${egrep_options} ${pattern} | format
- ;;
- *) case $# in
- 1) ;;
- *) nameopt="-n" ;; # Use names if more than one file
- esac
- case "${notpattern}" in
- "") ${PROBE} -L ${coloropt} ${nameopt} ${tagopt} $* | egrep ${egrep_options} ${pattern} | format ;;
- *) case "${pattern}" in
- "") ${PROBE} -L ${coloropt} ${nameopt} ${tagopt} $* | egrep ${egrep_options} -v ${notpattern} | format ;;
- *) ${PROBE} -L ${coloropt} ${nameopt} ${tagopt} $* | egrep ${egrep_options} ${pattern} | egrep -v ${notpattern} | format ;;
- esac
- ;;
- esac
- ;;
-esac
View
BIN bin/exifprobe
Binary file not shown.
View
485 bin/mplayer.ext
@@ -1,485 +0,0 @@
-#!/bin/bash
-#***************************************************************************
-#* Copyright (C) 2008, Konishchev Dmitry *
-#* http://konishchevdmitry.blogspot.com/ *
-#* *
-#* Project homepage: *
-#* http://sourceforge.net/projects/mplayerext/ *
-#* *
-#* This program is free software; you can redistribute it and/or modify *
-#* it under the terms of the GNU General Public License as published by *
-#* the Free Software Foundation; either version 3 of the License, or *
-#* (at your option) any later version. *
-#* *
-#* This program is distributed in the hope that it will be useful, *
-#* but WITHOUT ANY WARRANTY; without even the implied warranty of *
-#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
-#* GNU General Public License for more details. *
-#**************************************************************************/
-
-
-# NOTICE:
-# My native language is Russian. I can read English, but not write. I
-# translate my comments in this script from Russian to English as I can.
-# Therefore please sorry for bad translation. If you want to help me to
-# translate this comments more professionally please contact me - I will be
-# very glad this.
-
-
-# mplayer.ext - wrapper script for MPlayer.
-#
-# It saves the playback position of your audio and video files after you
-# quit and resumes when you play the file again.
-#
-# Usage:
-# If you want to use resuming features of this script, you need always,
-# when you want to play the audio/video file call this script instead of
-# MPlayer.
-#
-# How script works:
-# If you closing MPlayer while movie is playing, in the file, the path to
-# which stored in $resume_info_file variable writing information about the
-# time at which viewing interrupt. Time is associated with the file name
-# (the name, not the path!), so if the file will be moved to another
-# directory, the script is still recognize it. At the next time when you
-# start playing of this film, script find time information stored in
-# $resume_info_file and playback of the film will continue from the point
-# at which viewing interrupt last time.
-#
-# The maximum number of files, information of which can be stored in
-# $resume_info_file defined by the $max_resume_info_length.
-#
-# Script limitations:
-# * Script does not work with DVD files with name like VTS_*_*.VOB, because
-# MPlayer not allows to start playback of such files from an arbitrary
-# position.
-# * Because MPlayer allows to start playback of the film only from key
-# frame, if the playback of the film at last time aborts not on the key
-# frame, when we try to resume playback, MPlayer skip all frames from this
-# position to next key frame, ie will remain not viewed part of the film.
-# In this regard, script produces unwinding at $keyint seconds ago (by
-# default - 10), because during encoding most of MPEG-4 files this value is
-# used as the maximum distance between key frames. If your video files has
-# bigger key frame interval, then change the value of $keyint.
-
-
-# mplayer.ext - скрипт-оболочка для MPlayer.
-#
-# Предназначен для продолжения прослушивания/просмотра аудио и видео
-# файлов с той позиции, на которой просмотр/прослушивание завершился в
-# прошлый раз при закрытии MPlayer'a.
-#
-# Использование:
-# Если вы хотите пользоваться возможностями скрипта, вам необходимо
-# всегда, когда вы хотите проиграть аудио/видео файл, вызывать этот скрипт
-# вместо MPlayer'a.
-#
-# Как работает скрипт:
-# Если завершение работы MPlayer'a происходит во время просмотра фильма,
-# то в файл, путь к которому задан переменной $resume_info_file, заносится
-# информация о времени, на котором произошло прерывание просмотра. Время
-# привязывается к имени файла (имени, а не пути!), таким образом, если файл
-# будет перемещен в другую директорию, то скрипт все равно его "узнает".
-# В следующий раз, когда пользователь запросит проигрывание этого фильма,
-# скрипт просмотрит файл, заданный переменной $resume_info_file и
-# продолжит воспроизведение фильма с того момента, на котором завершилось
-# воспроизведение в прошлый раз.
-#
-# Максимальное количество файлов, информация о которых может храниться в
-# $resume_info_file задается переменной $max_resume_info_length.
-#
-# Ограничения скрипта:
-# * Скрипт не обрабатывает файлы DVD вида VTS_*_*.VOB, т. к. MPlayer не
-# позволяет начинать воспроизведение таких файлов с произвольного места.
-# * Т. к. MPlayer позволяет начинать воспроизведение фильма только с
-# ключевого кадра, то, если воспроизведение фильма в прошлый раз
-# прервалось не на ключевом кадре, при попытке воспроизвести фильм с
-# того же места произойдет перемотка вперед до следующего ключевого
-# кадра, т. е. часть фильма останется непросмотренной. В связи с этим
-# скрипт производит "отматывание" на $keyint секунд назад (по умолчанию
-# - 10), т. к., при кодировании большинства MPEG-4 файлов данная
-# величина используется в качестве максимального расстояния между
-# ключевыми кадрами. Если в ваших видеофайлах интервал между ключевыми
-# кадрами больше этого значения, то измените значение переменной $keyint.
-
-
-# Settings
-# Настройки -->
- # Maximum keyframe interval
- # Максимальный интервал между ключевыми кадрами
- keyint=10
-
- # File which will be stored time information
- # Файл, в котором будет храниться информация о недосмотренных файлах
- resume_info_file=~/.mplayer/resume_info
-
- # Maximum number of files which will be stored in $resume_info_file
- # Максимальное количество файлов, информация о которых будет храниться в $resume_info_file
- max_resume_info_length=100
-# Settings
-# Настройки <--
-
-
-mplayer_ext_echo()
-{
- echo "mplayer.ext: $@"
-}
-
-
-mplayer_ext_warning()
-{
- mplayer_ext_echo "$@" >&2
-}
-
-
-cleanup()
-{
- rm -f $tmp_file
-}
-
-
-die()
-{
- mplayer_ext_warning "$@"
- cleanup
- exit 1
-}
-
-
-# Returns video identifier by file name
-# Возвращает идентификатор видео по имени файла
-get_video_name_by_file_name()
-{
- local video_name=$(basename "$1")
-
- if [[ "$video_name" == "" ]]
- then
- return 1
- fi
-
- # Do not treat DVD files because it is impossible to start playback of
- # such files from an arbitrary position
- # Не обрабатываем файлы DVD, т. к. в них невозможно осуществлять воспроизведение
- # с произвольного места
- if echo -n "$video_name" | egrep -i '^vts_[[:digit:]]+_[[:digit:]]+.vob$' > /dev/null
- then
- return 1
- fi
-
- echo -n "$video_name"
-}
-
-
-# If $2 == 0, the file will marked as viewed
-# Если $2 == 0, то файл помечается как просмотренный
-set_resume_pos()
-{
- declare -a resume_info_array
- local resume_info resume_info_time resume_info_time i
-
- # Setting up words separator to \n
- # Устанавливаем разделитель слов равным \n
- local IFS=$'\n'
-
- i=0
- for resume_info in `cat "$resume_info_file" | tail --lines $((max_resume_info_length - 1))`
- do
- resume_info_time=`echo -n "$resume_info" | egrep '^.+:[[:digit:]]+$' | sed -r 's/^.+://' | egrep '^[[:digit:]]+$'`
- resume_info_name=`echo -n "$resume_info" | sed "s/:${resume_info_time}\$//"`
-
- # Skiping bad records
- # Пропускаем неверно сформированные записи
- if [[ "$resume_info_time" == "" || "$resume_info_name" == "" ]]
- then
- mplayer_ext_warning "Bad resume info string: '$resume_info'."
- continue
- fi
-
- # If this is the file, that we are looking for
- # Если это тот файл, который мы ищем
- if [[ "$resume_info_name" == "$1" ]]
- then
- # Skiping old record
- # Пропускаем старую запись
- continue
- # Leaving other files unchanged
- # Остальные файлы - оставляем без изменений
- else
- resume_info_array[$((i++))]="$resume_info"
- fi
- done
-
- # If video was interrupted
- # Если видео не досмотрели до конца
- if [[ "$2" != "0" ]]
- then
- mplayer_ext_echo "Writing resume time information: '$1': $2."
- resume_info_array[$i]="$1:$2"
- else
- mplayer_ext_echo "Writing resume time information: '$1': viewed."
- fi
-
- # Saving changes to file
- # Заносим изменения в файл
- echo "${resume_info_array[*]}" > "$resume_info_file" || die
-}
-
-
-# Gets time line, on which video was interrupted.
-# Convert lines like:
-# A: 308.4 V: 308.4 A-V: -0.006 ct: -0.041 7395/7395 4% 0% 5.5% 0 0
-# A: 308.4 V: 308.4 A-V: 0.006 ct: 0.041 7395/7395 4% 0% 5.5% 0 0
-# A: 2.0 V: 2.0 A-V: -0.006 ct: 0.007 50/ 50 6% 3% 3.9% 0
-# A: 87.6 (01:27.5) of 228.0 (03:48.0) 4.4%
-# V: 1.8 45/ 45 15% 3% 0.0% 0 0
-# to the string like:
-# [AV]: 308
-# depending of the availability of audio/video tracks
-
-# Получает строку времени, на котором было приостановлено воспроизведение файла.
-# Преобразует строки вида:
-# A: 308.4 V: 308.4 A-V: -0.006 ct: -0.041 7395/7395 4% 0% 5.5% 0 0
-# A: 308.4 V: 308.4 A-V: 0.006 ct: 0.041 7395/7395 4% 0% 5.5% 0 0
-# A: 2.0 V: 2.0 A-V: -0.006 ct: 0.007 50/ 50 6% 3% 3.9% 0
-# A: 87.6 (01:27.5) of 228.0 (03:48.0) 4.4%
-# V: 1.8 45/ 45 15% 3% 0.0% 0 0
-# в строку вида:
-# [AV]:308
-# в зависимости от наличия в файле аудио/видео дорожек
-get_cur_pos_info()
-{
- local pos_info=`cat $tmp_file | head --lines $end_line | tail --lines $((end_line - start_line + 1)) | tr '\33\15' '\n' \
- | egrep '^[AV]:[[:space:]]*[[:digit:]]+\.[[:digit:]]+[[:space:]]+' \
- | tail --lines 1 \
- | sed -r 's/:\s+/:/g' | sed -r 's/\s+/ /g'`
-
- if [[ $pos_info == "" ]]
- then
- return 1
- fi
-
- # Video with audio
- # Видео со звуком
- if echo "$pos_info" | egrep -o '^A:[[:digit:]]+\.[[:digit:]]+ V:[[:digit:]]+\.[[:digit:]]' > /dev/null
- then
- pos_info=`echo -n "$pos_info" | awk '{ print $2 }' | awk -F '.' '{ print $1 }'`
- # Video without audio
- # Видео без звука
- elif echo "$pos_info" | egrep -o '^V:[[:digit:]]+\.[[:digit:]]' > /dev/null
- then
- pos_info=`echo -n "$pos_info" | awk -F '.' '{ print $1 }'`
- # Audio without video
- # Аудио без видео
- elif echo "$pos_info" | egrep -o '^A:[[:digit:]]+\.[[:digit:]]' > /dev/null
- then
- pos_info=`echo -n "$pos_info" | awk -F '.' '{ print $1 }'`
- # Logical error
- # Логическая ошибка
- else
- die "Logical error! :)"
- fi
-
- if [[ $pos_info == "" ]]
- then
- die "Logical error! :)"
- fi
-
- echo -n "$pos_info"
-}
-
-
-get_resume_pos()
-{
- local resume_info resume_info_time resume_info_time
-
- # Setting up words separator to \n
- # Устанавливаем разделитель слов равным \n
- local IFS=$'\n'
-
- for resume_info in $(< "$resume_info_file")
- do
- resume_info_time=`echo "$resume_info" | egrep '^.+:[[:digit:]]+$' | sed -r 's/^.+://' | egrep '^[[:digit:]]+$'`
- resume_info_name=`echo "$resume_info" | sed "s/:${resume_info_time}\$//"`
-
- # Skiping bad records
- # Пропускаем неверно сформированные записи
- if [[ "$resume_info_time" == "" || "$resume_info_name" == "" ]]
- then
- # Do not show warning, because it will be showed on writing to file
- # Предупреждение не выводим, т. к. оно будет выведено при записи в файл.
- continue
- fi
-
- # If this is the file that we are looking for
- # Если это тот файл, который мы ищем
- if [[ "$resume_info_name" == "$1" ]]
- then
- echo $resume_info_time
- return 0
- fi
- done
-
- return 1
-}
-
-
-if ! tmp_file=`mktemp`
-then
- die "Can't create temp file."
-fi
-
-if ! which mplayer > /dev/null
-then
- die "Error! Mplayer not installed."
-fi
-
-if [[ ! -e "$resume_info_file" ]]
-then
- touch "$resume_info_file" || die
-fi
-
-# Changing MPlayer arguments so that the selected video files will be
-# played starting from that point where they were interrupted at last time.
-# Изменяем аргрументы, переданные MPlayer'у так, чтобы выбранные видеофайлы
-# воспроизводились с того момента, где в прошлый раз было прервано
-# воспроизведение.
-i=0
-for option
-do
- options[$((i++))]="$option"
-
- if [[ ${option:0:1} != '-' ]]
- then
- # If the value of the parameter is similar to the file name, then
- # consider that we need to play it. If this ordinary option, script
- # still works fine, except that will be added extra -ss option in
- # the case when the value of the parameter will be similar to the
- # name of a file in the system.
- # Если значение параметра похоже на имя файла, то считаем, что
- # требуется проиграть этот файл. Если это просто значение опции, то
- # скрипт все равно сработает нормально, разве что добавится лишний
- # ключ -ss в случае когда значение параметра будет совпадать с
- # именем какого-либо файла в системе.
- if [[ -e "$option" ]]
- then
- if video_name=`get_video_name_by_file_name "$option"`
- then
- # If playing of this file was interrupted at last time
- # Если воспроизведение этого видео файла было прервано ранее
- if video_resume_pos=`get_resume_pos "$video_name"`
- then
- options[$((i++))]='-ss'
- options[$((i++))]="$video_resume_pos"
- fi
- fi
- fi
- fi
-done
-
-# Starting MPlayer with changed command line parameters
-# Запускаем MPlayer с измененными параметрами командной строки
-mplayer_ext_echo "Starting MPlayer: mplayer ${options[@]}"
-mplayer "${options[@]}" | tee "$tmp_file"
-
-# Getting all files, which MPlayer played
-# Получаем все файлы, которые проигрывал MPlayer -->
- files_in_output="`egrep --line-number 'Playing[[:space:]]+.+\.' $tmp_file`"
-
- for line in `seq \`echo "$files_in_output" | wc --lines\``
- do
- file_in_output=`echo "$files_in_output" | head --lines $line | tail --lines 1`
- files_lines[$((line-1))]=`echo "$file_in_output" | awk -F ':' '{ print $1 }'`
- files_paths[$((line-1))]=`echo "$file_in_output" | sed -r 's/^[[:digit:]]+:Playing[[:space:]]+//' | sed 's/\.$//g'`
- done
-# Getting all files, which MPlayer played
-# Получаем все файлы, которые проигрывал MPlayer <--
-
-# Getting all the necessary information about each played file
-# Получаем всю необходимую информацию о каждом проигранном файле -->
- for num in `seq 1 ${#files_lines[*]}`
- do
- i=$((num-1))
-
- start_line=${files_lines[$i]}
-
- # Generating video name by file name
- # Генерируем имя видео по имени файла
- if ! video_name=`get_video_name_by_file_name "${files_paths[$i]}"`
- then
- mplayer_ext_echo "Skiping file '${files_paths[$i]}'"
- continue
- fi
-
- # This is last file
- # Если файл последний
- if [[ $num -eq ${#files_lines[*]} ]]
- then
- end_line=$((`cat $tmp_file | wc --lines` + 1))
-
- # Getting line with time, on which video was interrupted.
- # Получаем строку со временем, на котором остановилось воспроизведение
- if ! video_resume_string=`get_cur_pos_info`
- then
- # Can't get line with time. It may happen for a variety of
- # reasons, for example, if unable to open the file. Because
- # file not playing, do not store it time position.
- # Получить строку не удалось - это может произойти по разным причинам,
- # например, если не удалось открыть файл.
- # Т. к. файл не проигрывался, то не запоминаем его позицию.
- mplayer_ext_echo "Skiping file '${files_paths[$i]}'"
- continue
- fi
-
- # File was fully played
- # Файл проигрался до конца
- if [[ `cat $tmp_file | tail --lines 1` == 'Exiting... (End of file)' ]]
- then
- set_resume_pos "$video_name" 0
- # File playing was interrupted
- # Проигрывание файла было прервано
- else
- video_resume_time=`echo -n "$video_resume_string" | awk -F ':' '{ print $2 }'`
-
- # Video (audio not need unwind)
- # Видео (для аудио отматывать не надо)
- if [[ `echo -n "$video_resume_string" | awk -F ':' '{ print $1 }'` == 'V' ]]
- then
- # Unwind video (approximately) to the previous key frame
- # "Отматываем" видео назад (приблизительно) до предыдущего ключевого кадра
- if [[ $((video_resume_time - keyint)) -lt 0 ]]
- then
- video_resume_time=0
- else
- video_resume_time=$((video_resume_time - keyint))
- fi
- fi
-
- set_resume_pos "$video_name" "$video_resume_time"
- fi
- # This is not last file
- # Файл не последний
- else
- end_line=${files_lines[$((i+1))]}
-
- # Getting line with time, on which video was interrupted.
- # Получаем строку со временем, на котором остановилось воспроизведение
- if ! video_resume_string=`get_cur_pos_info`
- then
- # Can't get line with time. It may happen for a variety of
- # reasons, for example, if unable to open the file. Because
- # file not playing, do not store it time position.
- # Получить строку не удалось - это может произойти по разным причинам,
- # например, если не удалось открыть файл.
- # Т. к. файл не проигрывался, то не запоминаем его позицию.
- mplayer_ext_echo "Skiping file '${files_names[$i]}'"
- continue
- fi
-
- set_resume_pos "$video_name" 0
- fi
- done
-# Getting all the necessary information about each played file
-# Получаем всю необходимую информацию о каждом проигранном файле <--
-
-cleanup
-
View
2 bin/seltr
@@ -1,2 +0,0 @@
-#!/usr/bin/env bash
-notify-send -u critical "$(xsel -o)" "$(wget -U "Mozilla/5.0" -qO - "http://translate.google.com/translate_a/t?client=t&text=$(xsel -o | sed "s/[\"'<>]//g")&sl=auto&tl=ru" | sed 's/\[\[\[\"//' | cut -d \" -f 1)"
View
BIN bin/skb
Binary file not shown.
View
19 bin/startx
@@ -1,19 +0,0 @@
-#!/bin/sh
-# Reset locale before executing startx
-
-export LANG="ru_RU.utf8"
-export LC_CTYPE="en_US.utf8"
-export LC_NUMERIC="en_US.utf8"
-export LC_TIME="en_US.utf8"
-export LC_COLLATE="en_US.utf8"
-export LC_MONETARY="en_US.utf8"
-export LC_MESSAGES="en_US.utf8"
-export LC_PAPER="en_US.utf8"
-export LC_NAME="en_US.utf8"
-export LC_ADDRESS="en_US.utf8"
-export LC_TELEPHONE="en_US.utf8"
-export LC_MEASUREMENT="en_US.utf8"
-export LC_IDENTIFICATION="en_US.utf8"
-export LC_ALL=""
-
-/usr/bin/startx &>/dev/null
View
1 bin/thumb
View
13 bin/xrun
@@ -1,13 +0,0 @@
-#!/bin/bash
-FONT="-*-montecarlo-medium-r-normal-*-11-*-*-*-*-*-*-*"
-FONT="-fn ${FONT}"
-
-BACKGROUND="#fdf6e3"
-FOREGROUND="#657b83"
-SELECTED_BACKGROUND="#93a1a1"
-SELECTED_FOREGROUND="#eee8d5"
-
-COLORS="-nb ${BACKGROUND} -nf ${FOREGROUND} -sf ${SELECTED_FOREGROUND} -sb ${SELECTED_BACKGROUND}"
-MISC="-i -b"
-PARAMS="${FONT} ${COLORS} ${MISC}"
-`dmenu_path | yeganesh -- $PARAMS` && eval "exec $exe"
View
33 config.yml.new
@@ -1,33 +0,0 @@
-# Naming convension is very simple, each file has it's own
-# section, for example, to access .gitconfig[:user][:name] use
-# <%= @config.user['name'] %> in dot.gitconfig.erb
-.gitconfig:
- user:
- name: "Nikolay Khodyunya"
- email: "nickolayho@gmail.com"
- github:
- user: "stdcall"
-
-gmail.mutt:
- imap_pass: secret
- smtp_pass: secret
-
-mpd.conf:
- user: scriper
- playlist_directory: /data/music/playlists
- db_file: /data/music/tag_cache
- log_file: /tmp/mpd.log
- pid_file: /tmp/mpd.pid
- state_file: /data/state
- sticker_file: /data/music/sticker.sql
-
-mpdscribble.conf:
- username: stdcall
- password: secret
- pidfile: /tmp/mpdscribble.pid
- journal: /tmp/lastfm.journal
-
-# newsbeuter config
-config:
- googlereaderlogin: nickolayho@gmail.com
- googlereaderpassword: secret
View
18 dot.Xmodmap
@@ -1,18 +0,0 @@
-keycode 63 = KP_Multiply
-keycode 79 = Home KP_7
-keycode 80 = Up KP_8
-keycode 81 = Prior KP_9
-keycode 82 = KP_Subtract
-keycode 83 = Left KP_4
-keycode 84 = KP_5
-keycode 85 = Right KP_6
-keycode 86 = KP_Add
-keycode 87 = End KP_1
-keycode 88 = Down KP_2
-keycode 89 = Next KP_3
-keycode 90 = Insert KP_0
-keycode 91 = Delete KP_Decimal
-keycode 110 = Home
-keycode 112 = Prior
-keycode 117 = Next
-pointer = 1 2 3 4 5 8 9 6 7
View
125 dot.bashrc
@@ -0,0 +1,125 @@
+# If not running interactively, don't do anything
+case $- in
+ *i*) ;;
+ *) return;;
+esac
+
+return_code() {
+ r=$?
+ if [ $r -ne 0 ]; then
+ echo -ne "\e[00;31m$r ↵\e[00m"
+ fi
+}
+PROMPT_COMMAND=return_code
+PS1=" λ \[\e[01;34m\]\W\[\e[00m\] → "
+
+HISTCONTROL=ignoreboth
+shopt -s histappend
+HISTSIZE=1000
+HISTFILESIZE=2000
+shopt -s checkwinsize
+
+shopt -s globstar
+
+# make less more friendly for non-text input files, see lesspipe(1)
+[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
+
+# enable color support of ls and also add handy aliases
+if [ -x /usr/bin/dircolors ]; then
+ test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
+ alias grep='grep --color=auto'
+ alias fgrep='fgrep --color=auto'
+ alias egrep='egrep --color=auto'
+fi
+alias vi="vim"
+alias sudo='sudo -E'
+alias rtorrent='dtach -A /tmp/rtorrent.socket rtorrent'
+alias ls="ls -hF --color=auto --group-directories-first --sort=version"
+alias l="ls"
+alias ll="ls -l"
+alias la="ls -A"
+alias ss='python -m SimpleHTTPServer' # simple server (serves current dir on port 8000)
+alias df="df -h"
+alias du="du -h"
+alias less=$PAGER
+for cmd in mount ifconfig pacman chmod chown rc.d; do
+ alias $cmd="sudo $cmd"
+done
+# Add an "alert" alias for long running commands. Use like so:
+# sleep 10; alert
+alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
+
+
+# enable programmable completion features (you don't need to enable
+# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
+# sources /etc/bash.bashrc).
+if ! shopt -oq posix; then
+ if [ -f /usr/share/bash-completion/bash_completion ]; then
+ . /usr/share/bash-completion/bash_completion
+ elif [ -f /etc/bash_completion ]; then
+ . /etc/bash_completion
+ fi
+fi
+
+#merge with ~/.bash_profile
+export GREP_OPTIONS="--color=auto"
+export GREP_COLOR="1\;32"
+
+export CFLAGS="-march=native -mtune=native -O3 -pipe"
+export CXXFLAGS="$CFLAGS"
+export LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
+export MAKEFLAGS="-j5"
+# Set locale
+export LANG="ru_RU.UTF-8"
+export LC_TIME="C"
+export LC_COLLATE="C"
+export LC_MESSAGES="C"
+
+for p in $HOME/bin $HOME/.cabal/bin $HOME/.rbenv/bin /opt/bin /usr/games/bin; do
+ if [[ ! -d $p ]]; then
+ continue
+ else
+ if [[ ! $PATH == *$p* ]]; then
+ PATH="$p:$PATH"
+ fi
+ fi
+done
+export PATH
+
+export MANPATH=$HOME/share/man:$MANPATH
+export MANWIDTH=80
+
+export PAGER='less'
+export LESS='-R -i'
+export EDITOR="/usr/bin/env vim"
+export RUBYOPT=""
+export RI="-f ansi"
+
+if [ -n "$DISPLAY" ]; then
+ export GTK_IM_MODULE="xim"
+ export QT_IM_MODULE="xim"
+ export BROWSER=chromium
+fi
+
+# Set up ssh-agent
+SSH_ENV="$HOME/.ssh/environment"
+
+function start_agent {
+ echo "Initializing new SSH agent..."
+ /usr/bin/ssh-agent | sed 's/^echo/#echo/' > "${SSH_ENV}"
+ echo succeeded
+ chmod 600 "${SSH_ENV}"
+ . "${SSH_ENV}" > /dev/null
+ /usr/bin/ssh-add;
+}
+
+# Source SSH settings, if applicable
+if [ -f "${SSH_ENV}" ]; then
+ . "${SSH_ENV}" > /dev/null
+ #ps ${SSH_AGENT_PID} doesn't work under cywgin
+ ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
+ start_agent;
+ }
+else
+ start_agent;
+fi
View
45 dot.config/feh/keys
@@ -1,45 +0,0 @@
-# feh key configuration.
-# Comments start with a # sign, do not use them mid-line.
-# Each line must be blank, a comment, or a key definition.
-#
-# key definition: <action name> <key1> [<key2> [<key3>]]
-#
-# Each <key> is an X11 keysym (as output by xev) with optional modifier.
-# For instance, C-x would be Ctrl+X, or 4-space Mod4+Space
-
-# Examples for vim-like menu bindings on a qwerty keyboard:
-menu_parent h Left
-menu_child l Right
-menu_down j Down
-menu_up k Up
-menu_select space Return
-
-# Same for image navigation ...
-next_img j Right space
-prev_img k Left BackSpace
-
-# and image movement
-scroll_up J C-Up
-scroll_down K C-Down
-scroll_left H C-Left
-scroll_right L C-Right
-
-# File deletion
-remove d Delete
-delete C-d C-Delete
-
-# remove now conflicts with toggle_filenames, so change that
-toggle_filenames f
-
-# zooming
-zoom_in C-Up f
-zoom_out C-Down a
-zoom_default d
-zoom_fit s
-
-# I only hit these accidentaly
-save_image
-save_filelist
-
-# This leaves some conflicts with existing default bindings, but you should
-# get the idea. And I'm not gonna fix the conflicts, I don't use qwerty ;-)
View
11 dot.config/feh/themes
@@ -1,11 +0,0 @@
-feh --image-bg black --auto-zoom --scale-down \
- --fontpath /usr/share/fonts/TTF/ --font Ubuntu-R/8 \
- --draw-tinted --draw-filename \
- --info "exifgrep '(Model|DateTimeOriginal|FNumber|ISO|Flash|ExposureTime|FocalLength.\\*)' '%f' | cut -d . -f 4-"
-
-thumb --thumbnails --cache-thumbnails --thumb-width 256 --thumb-height 256 \
- --limit-width 1024 --sort filename \
- --fontpath /usr/share/fonts/TTF/ --font Ubuntu-R/8 \
- --menu-font Ubuntu-R/8 \
- --index-info %n --draw-tinted --draw-filename \
- --info "exifgrep '(Model|DateTimeOriginal|FNumber|ISO|Flash|ExposureTime|FocalLength.\\*)' '%f' | cut -d . -f 4-"
View
19 dot.config/gtk-3.0/settings.ini
@@ -1,19 +0,0 @@
-[Settings]
-gtk-theme-name=Zukini
-gtk-icon-theme-name=Faenza
-gtk-fallback-icon-theme=gnome
-gtk-font-name=ubuntu 11
-gtk-cursor-theme-name=Vanilla-DMZ
-gtk-cursor-theme-size=0
-gtk-color-scheme=tooltip_fg_color:#2c2c2c\nlink_color:#08c\nbase_color:#F0F0F0\nselected_fg_color:#ffffff\ntext_color:#2c2c2c\nbg_color_dark:#383838\ntext_color_dark:#FFF\nbg_color:#cecfcd\ntooltip_bg_color:#F5F5B5\nselected_bg_color:#37cd848dab93\nfg_color:#2c2c2c\n
-gtk-application-prefer-dark-theme=false
-gtk-toolbar-style=GTK_TOOLBAR_BOTH
-gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
-gtk-button-images=0
-gtk-menu-images=0
-gtk-enable-event-sounds=1
-gtk-enable-input-feedback-sounds=1
-gtk-xft-antialias=1
-gtk-xft-hinting=1
-gtk-xft-hintstyle=hintslight
-gtk-xft-rgba=rgb
View
16 dot.config/solarized/colors.ini
@@ -1,16 +0,0 @@
-base03="#002b36"
-base02="#073642"
-base01="#586e75"
-base00="#657b83"
-base0="#839496"
-base1="#93a1a1"
-base2="#eee8d5"
-base3="#fdf6e3"
-yellow="#b58900"
-orange="#cb4b16"
-red="#dc322f"
-magenta="#d33682"
-violet="#6c71c4"
-blue="#268bd2"
-cyan="#2aa198"
-green="#719e07"
View
10 dot.config/zathura/zathurarc
@@ -1,10 +0,0 @@
-set default-bg "#002b36"
-set default-fg "#657b83"
-set statusbar-bg "#073642"
-set statusbar-fg "#859900"
-set inputbar-bg "#002b36"
-set inputbar-fg "#268bd2"
-set completion-bg "#002b36"
-set completion-fg "#657b83"
-set completion-highlight-bg "#b58900"
-set completion-highlight-fg "#002b36"
View
58 dot.fonts.conf
@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig>
- <match target="font">
- <edit name="antialias" mode="assign"><bool>true</bool></edit>
- <edit name="autohint" mode="assign"><bool>false</bool></edit>
- <edit name="hinting" mode="assign"><bool>true</bool></edit>
- <edit name="hintstyle" mode="assign"><const>hintslight</const></edit>
- <edit name="rgba" mode="assign"><const>rgb</const></edit>
- <edit name="lcdfilter" mode="assign"><const>lcddefault</const></edit>
- <edit name="embeddedbitmap" mode="assign"><bool>true</bool></edit>
- </match>
-
- <match target="font">
- <alias>
- <family>serif</family>
- <prefer>
- <family>Droid Serif</family>
- <family>Ubuntu</family>
- <family>DejaVu Serif</family>
- </prefer>
- </alias>
- </match>
-
-
- <match target="font">
- <alias>
- <family>sans-serif</family>
- <prefer>
- <family>Droid Sans</family>
- <family>Ubuntu</family>
- <family>DejaVu Sans</family>
- </prefer>
- </alias>
- </match>
-
- <match target="font">
- <alias>
- <family>monospace</family>
- <prefer>
- <family>Droid Sans Mono</family>
- <family>Ubuntu Mono</family>
- <family>DejaVu Sans Mono</family>
- <family>PragmataPro</family>
- </prefer>
- </alias>
- </match>
-
- <match target="pattern" name="family">
- <test name="family" qual="any"><string>Helvetica</string></test>
- <edit mode="assign" name="family"><string>sans-serif</string></edit>
- </match>
-
- <match target="font">
- <test name="family"><string>PragmataPro</string></test>
- <edit name="rgba" mode="assign"><const>none</const></edit>
- </match>
-</fontconfig>
View
1 dot.fonts/.gitignore
@@ -1 +0,0 @@
-PragmataPro*
View
1 dot.fonts/bitmap/.gitignore
@@ -1 +0,0 @@
-fonts.*
View
2,605 dot.fonts/bitmap/cureextra.bdf
@@ -1,2605 +0,0 @@
-STARTFONT 2.1
-FONT -artwiz-cureextra-medium-r-normal--11-110-75-75-p-90-ISO8859-1
-SIZE 11 75 75
-FONTBOUNDINGBOX 10 11 -1 -2
-STARTPROPERTIES 24
-FONTNAME_REGISTRY ""
-FOUNDRY "artwiz"
-FAMILY_NAME "cureextra"
-WEIGHT_NAME "medium"
-SLANT "r"
-SETWIDTH_NAME "normal"
-ADD_STYLE_NAME ""
-PIXEL_SIZE 11
-POINT_SIZE 110
-RESOLUTION_X 75
-RESOLUTION_Y 75
-SPACING "p"
-AVERAGE_WIDTH 90
-CHARSET_REGISTRY "ISO8859"
-CHARSET_ENCODING "1"
-COPYRIGHT "artwiz, fixed by aleczapka, latin1 chars by Sergio Martins, symbols by Lokaltog"
-WEIGHT 10
-X_HEIGHT 8
-QUAD_WIDTH 6
-_ORIGINAL_FONT_NAME "cure"
-_GBDFED_INFO "Edited with gbdfed 1.6."
-DEFAULT_CHAR 63
-FONT_DESCENT 2
-FONT_ASCENT 9
-ENDPROPERTIES
-CHARS 195
-STARTCHAR char0
-ENCODING 0
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 0 0 0 0
-BITMAP
-ENDCHAR
-STARTCHAR char27
-ENCODING 27
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 0 0 0 0
-BITMAP
-ENDCHAR
-STARTCHAR char28
-ENCODING 28
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 0 0 0 0
-BITMAP
-ENDCHAR
-STARTCHAR char29
-ENCODING 29
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 0 0 0 0
-BITMAP
-ENDCHAR
-STARTCHAR char30
-ENCODING 30
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 0 0 0 0
-BITMAP
-ENDCHAR
-STARTCHAR char31
-ENCODING 31
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 0 0 0 0
-BITMAP
-ENDCHAR
-STARTCHAR char32
-ENCODING 32
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 0 0 0 0
-BITMAP
-ENDCHAR
-STARTCHAR char33
-ENCODING 33
-SWIDTH 174 0
-DWIDTH 2 0
-BBX 1 6 1 0
-BITMAP
-80
-80
-80
-80
-00
-80
-ENDCHAR
-STARTCHAR char34
-ENCODING 34
-SWIDTH 349 0
-DWIDTH 4 0
-BBX 3 3 1 3
-BITMAP
-A0
-A0
-A0
-ENDCHAR
-STARTCHAR char35
-ENCODING 35
-SWIDTH 523 0
-DWIDTH 6 0
-BBX 5 5 1 0
-BITMAP
-50
-D8
-50
-D8
-50
-ENDCHAR
-STARTCHAR char36
-ENCODING 36
-SWIDTH 523 0
-DWIDTH 6 0
-BBX 5 7 1 0
-BITMAP
-20
-78
-A0
-70
-28
-F0
-20
-ENDCHAR
-STARTCHAR char37
-ENCODING 37
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-C0
-D0
-20
-40
-B0
-30
-ENDCHAR
-STARTCHAR char38
-ENCODING 38
-SWIDTH 523 0
-DWIDTH 6 0
-BBX 5 6 1 0
-BITMAP
-40
-A0
-40
-A8
-90
-68
-ENDCHAR
-STARTCHAR char39
-ENCODING 39
-SWIDTH 261 0
-DWIDTH 3 0
-BBX 2 3 1 3
-BITMAP
-40
-40
-80
-ENDCHAR
-STARTCHAR char40
-ENCODING 40
-SWIDTH 261 0
-DWIDTH 3 0
-BBX 2 8 1 -1
-BITMAP
-40
-80
-80
-80
-80
-80
-80
-40
-ENDCHAR
-STARTCHAR char41
-ENCODING 41
-SWIDTH 261 0
-DWIDTH 3 0
-BBX 2 8 1 -1
-BITMAP
-80
-40
-40
-40
-40
-40
-40
-80
-ENDCHAR
-STARTCHAR char42
-ENCODING 42
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 5 1 0
-BITMAP
-90
-60
-F0
-60
-90
-ENDCHAR
-STARTCHAR char43
-ENCODING 43
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 5 5 0 0
-BITMAP
-20
-20
-F8
-20
-20
-ENDCHAR
-STARTCHAR char44
-ENCODING 44
-SWIDTH 261 0
-DWIDTH 3 0
-BBX 2 3 1 -1
-BITMAP
-40
-40
-80
-ENDCHAR
-STARTCHAR char45
-ENCODING 45
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 1 1 3
-BITMAP
-F0
-ENDCHAR
-STARTCHAR char46
-ENCODING 46
-SWIDTH 174 0
-DWIDTH 2 0
-BBX 1 2 1 0
-BITMAP
-80
-80
-ENDCHAR
-STARTCHAR char47
-ENCODING 47
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 8 1 -1
-BITMAP
-10
-10
-20
-20
-40
-40
-80
-80
-ENDCHAR
-STARTCHAR char48
-ENCODING 48
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-60
-90
-90
-90
-90
-60
-ENDCHAR
-STARTCHAR char49
-ENCODING 49
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 3 6 2 0
-BITMAP
-40
-C0
-40
-40
-40
-E0
-ENDCHAR
-STARTCHAR char50
-ENCODING 50
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-E0
-10
-10
-60
-80
-F0
-ENDCHAR
-STARTCHAR char51
-ENCODING 51
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-E0
-10
-60
-10
-10
-E0
-ENDCHAR
-STARTCHAR char52
-ENCODING 52
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-90
-90
-90
-70
-10
-10
-ENDCHAR
-STARTCHAR char53
-ENCODING 53
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-F0
-80
-E0
-10
-10
-E0
-ENDCHAR
-STARTCHAR char54
-ENCODING 54
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-60
-80
-E0
-90
-90
-60
-ENDCHAR
-STARTCHAR char55
-ENCODING 55
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-F0
-10
-20
-20
-40
-40
-ENDCHAR
-STARTCHAR char56
-ENCODING 56
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-60
-90
-60
-90
-90
-60
-ENDCHAR
-STARTCHAR char57
-ENCODING 57
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-60
-90
-90
-70
-10
-60
-ENDCHAR
-STARTCHAR char58
-ENCODING 58
-SWIDTH 174 0
-DWIDTH 2 0
-BBX 1 5 1 0
-BITMAP
-80
-80
-00
-80
-80
-ENDCHAR
-STARTCHAR char59
-ENCODING 59
-SWIDTH 174 0
-DWIDTH 2 0
-BBX 2 6 0 -1
-BITMAP
-40
-40
-00
-40
-40
-80
-ENDCHAR
-STARTCHAR char60
-ENCODING 60
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 7 1 0
-BITMAP
-10
-20
-40
-80
-40
-20
-10
-ENDCHAR
-STARTCHAR char61
-ENCODING 61
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 3 1 2
-BITMAP
-F0
-00
-F0
-ENDCHAR
-STARTCHAR char62
-ENCODING 62
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 7 1 0
-BITMAP
-80
-40
-20
-10
-20
-40
-80
-ENDCHAR
-STARTCHAR char63
-ENCODING 63
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-E0
-10
-20
-40
-00
-40
-ENDCHAR
-STARTCHAR char64
-ENCODING 64
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-60
-90
-B0
-B0
-80
-60
-ENDCHAR
-STARTCHAR char65
-ENCODING 65
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-60
-90
-90
-F0
-90
-90
-ENDCHAR
-STARTCHAR char66
-ENCODING 66
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-E0
-90
-E0
-90
-90
-E0
-ENDCHAR
-STARTCHAR char67
-ENCODING 67
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-70
-80
-80
-80
-80
-70
-ENDCHAR
-STARTCHAR char68
-ENCODING 68
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-E0
-90
-90
-90
-90
-E0
-ENDCHAR
-STARTCHAR char69
-ENCODING 69
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-F0
-80
-E0
-80
-80
-F0
-ENDCHAR
-STARTCHAR char70
-ENCODING 70
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-F0
-80
-E0
-80
-80
-80
-ENDCHAR
-STARTCHAR char71
-ENCODING 71
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-60
-80
-B0
-90
-90
-60
-ENDCHAR
-STARTCHAR char72
-ENCODING 72
-SWIDTH 436 0
-DWIDTH 5 0
-BBX 4 6 1 0
-BITMAP
-90
-90
-F0
-90
-90
-90
-ENDCHAR
-STARTCHAR char73
-ENCODING 73