tomkersten-vixploder 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Manifest.txt +105 -0
- data/PostInstall.txt +21 -0
- data/README.rdoc +131 -0
- data/Rakefile +21 -0
- data/bin/256colors2.pl +63 -0
- data/bin/colortest +365 -0
- data/bin/vixplode +10 -0
- data/lib/dotfiles/aliases +30 -0
- data/lib/dotfiles/gvimrc +20 -0
- data/lib/dotfiles/vim/.VimballRecord +2 -0
- data/lib/dotfiles/vim/after/ftplugin/actionscript_snippets.vim +9 -0
- data/lib/dotfiles/vim/after/ftplugin/aspvbs_snippets.vim +17 -0
- data/lib/dotfiles/vim/after/ftplugin/c_snippets.vim +58 -0
- data/lib/dotfiles/vim/after/ftplugin/css_snippets.vim +30 -0
- data/lib/dotfiles/vim/after/ftplugin/django_model_snippets.vim +61 -0
- data/lib/dotfiles/vim/after/ftplugin/django_template_snippets.vim +32 -0
- data/lib/dotfiles/vim/after/ftplugin/f-script_snippets.vim +14 -0
- data/lib/dotfiles/vim/after/ftplugin/haskell_snippets.vim +9 -0
- data/lib/dotfiles/vim/after/ftplugin/html_snippets.vim +57 -0
- data/lib/dotfiles/vim/after/ftplugin/java_snippets.vim +52 -0
- data/lib/dotfiles/vim/after/ftplugin/javascript_snippets.vim +10 -0
- data/lib/dotfiles/vim/after/ftplugin/latex_snippets.vim +13 -0
- data/lib/dotfiles/vim/after/ftplugin/logo_snippets.vim +9 -0
- data/lib/dotfiles/vim/after/ftplugin/markdown_snippets.vim +10 -0
- data/lib/dotfiles/vim/after/ftplugin/movable_type_snippets.vim +14 -0
- data/lib/dotfiles/vim/after/ftplugin/objc_snippets.vim +53 -0
- data/lib/dotfiles/vim/after/ftplugin/ocaml_snippets.vim +26 -0
- data/lib/dotfiles/vim/after/ftplugin/perl_snippets.vim +23 -0
- data/lib/dotfiles/vim/after/ftplugin/php_snippets.vim +30 -0
- data/lib/dotfiles/vim/after/ftplugin/phpdoc_snippets.vim +19 -0
- data/lib/dotfiles/vim/after/ftplugin/propel_snippets.vim +14 -0
- data/lib/dotfiles/vim/after/ftplugin/python_snippets.vim +202 -0
- data/lib/dotfiles/vim/after/ftplugin/rails_snippets.vim +54 -0
- data/lib/dotfiles/vim/after/ftplugin/ruby_snippets.vim +32 -0
- data/lib/dotfiles/vim/after/ftplugin/sh_snippets.vim +12 -0
- data/lib/dotfiles/vim/after/ftplugin/slate_snippets.vim +19 -0
- data/lib/dotfiles/vim/after/ftplugin/smarty_snippets.vim +35 -0
- data/lib/dotfiles/vim/after/ftplugin/symfony_snippets.vim +21 -0
- data/lib/dotfiles/vim/after/ftplugin/tcl_snippets.vim +14 -0
- data/lib/dotfiles/vim/after/ftplugin/template_toolkit_snippets.vim +13 -0
- data/lib/dotfiles/vim/after/ftplugin/tex_snippets.vim +13 -0
- data/lib/dotfiles/vim/after/ftplugin/xhtml_snippets.vim +48 -0
- data/lib/dotfiles/vim/autoload/fakeclip.vim +253 -0
- data/lib/dotfiles/vim/autoload/rails.vim +4377 -0
- data/lib/dotfiles/vim/autoload/rubycomplete.vim +802 -0
- data/lib/dotfiles/vim/colors/inkpot.vim +212 -0
- data/lib/dotfiles/vim/colors/ir_black.vim +212 -0
- data/lib/dotfiles/vim/colors/ir_black_mod.vim +213 -0
- data/lib/dotfiles/vim/colors/railscasts.vim +100 -0
- data/lib/dotfiles/vim/colors/rubyblue.vim +74 -0
- data/lib/dotfiles/vim/colors/twilight.vim +75 -0
- data/lib/dotfiles/vim/colors/twilight2.vim +74 -0
- data/lib/dotfiles/vim/colors/wombat256.vim +302 -0
- data/lib/dotfiles/vim/compiler/eruby.vim +41 -0
- data/lib/dotfiles/vim/compiler/ruby.vim +68 -0
- data/lib/dotfiles/vim/compiler/rubyunit.vim +35 -0
- data/lib/dotfiles/vim/doc/NERD_tree.txt +1235 -0
- data/lib/dotfiles/vim/doc/fakeclip.txt +190 -0
- data/lib/dotfiles/vim/doc/matchit.txt +406 -0
- data/lib/dotfiles/vim/doc/project.txt +710 -0
- data/lib/dotfiles/vim/doc/rails.txt +1123 -0
- data/lib/dotfiles/vim/doc/snippets_emu.txt +354 -0
- data/lib/dotfiles/vim/doc/surround.txt +218 -0
- data/lib/dotfiles/vim/doc/tags +433 -0
- data/lib/dotfiles/vim/filetype.vim +13 -0
- data/lib/dotfiles/vim/ftdetect/gist.vim +3 -0
- data/lib/dotfiles/vim/ftdetect/ruby.vim +14 -0
- data/lib/dotfiles/vim/ftplugin/eruby.vim +101 -0
- data/lib/dotfiles/vim/ftplugin/ruby.vim +230 -0
- data/lib/dotfiles/vim/indent/eruby.vim +73 -0
- data/lib/dotfiles/vim/indent/ruby.vim +373 -0
- data/lib/dotfiles/vim/plugin/NERD_tree.vim +3536 -0
- data/lib/dotfiles/vim/plugin/comments.vim +321 -0
- data/lib/dotfiles/vim/plugin/fakeclip.vim +174 -0
- data/lib/dotfiles/vim/plugin/fuzzyfinder.vim +1676 -0
- data/lib/dotfiles/vim/plugin/fuzzyfinder_textmate.vim +150 -0
- data/lib/dotfiles/vim/plugin/gist.vim +241 -0
- data/lib/dotfiles/vim/plugin/gitdiff.vim +141 -0
- data/lib/dotfiles/vim/plugin/matchit.vim +812 -0
- data/lib/dotfiles/vim/plugin/mru.vim +787 -0
- data/lib/dotfiles/vim/plugin/rails.vim +310 -0
- data/lib/dotfiles/vim/plugin/rspec.vim +12 -0
- data/lib/dotfiles/vim/plugin/snippets.vim +17 -0
- data/lib/dotfiles/vim/plugin/snippetsEmu.vim +973 -0
- data/lib/dotfiles/vim/plugin/supertab.vim +531 -0
- data/lib/dotfiles/vim/plugin/surround.vim +632 -0
- data/lib/dotfiles/vim/ref_vimrc +80 -0
- data/lib/dotfiles/vim/ruby/fuzzy_file_finder.rb +353 -0
- data/lib/dotfiles/vim/syntax/eruby.vim +85 -0
- data/lib/dotfiles/vim/syntax/haml.vim +113 -0
- data/lib/dotfiles/vim/syntax/mkd.vim +86 -0
- data/lib/dotfiles/vim/syntax/ruby.vim +324 -0
- data/lib/dotfiles/vim/syntax/sass.vim +93 -0
- data/lib/dotfiles/vimrc +269 -0
- data/lib/vixplode/cli.rb +73 -0
- data/lib/vixploder.rb +6 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +10 -0
- data/spec/vixplode_cli_spec.rb +15 -0
- data/spec/vixploder_spec.rb +7 -0
- data/tasks/rspec.rake +21 -0
- metadata +202 -8
data/History.txt
ADDED
data/Manifest.txt
ADDED
@@ -0,0 +1,105 @@
|
|
1
|
+
History.txt
|
2
|
+
Manifest.txt
|
3
|
+
PostInstall.txt
|
4
|
+
README.rdoc
|
5
|
+
Rakefile
|
6
|
+
bin/256colors2.pl
|
7
|
+
bin/colortest
|
8
|
+
bin/vixplode
|
9
|
+
lib/dotfiles/aliases
|
10
|
+
lib/dotfiles/gvimrc
|
11
|
+
lib/dotfiles/vim/.VimballRecord
|
12
|
+
lib/dotfiles/vim/after/ftplugin/actionscript_snippets.vim
|
13
|
+
lib/dotfiles/vim/after/ftplugin/aspvbs_snippets.vim
|
14
|
+
lib/dotfiles/vim/after/ftplugin/c_snippets.vim
|
15
|
+
lib/dotfiles/vim/after/ftplugin/css_snippets.vim
|
16
|
+
lib/dotfiles/vim/after/ftplugin/django_model_snippets.vim
|
17
|
+
lib/dotfiles/vim/after/ftplugin/django_template_snippets.vim
|
18
|
+
lib/dotfiles/vim/after/ftplugin/f-script_snippets.vim
|
19
|
+
lib/dotfiles/vim/after/ftplugin/haskell_snippets.vim
|
20
|
+
lib/dotfiles/vim/after/ftplugin/html_snippets.vim
|
21
|
+
lib/dotfiles/vim/after/ftplugin/java_snippets.vim
|
22
|
+
lib/dotfiles/vim/after/ftplugin/javascript_snippets.vim
|
23
|
+
lib/dotfiles/vim/after/ftplugin/latex_snippets.vim
|
24
|
+
lib/dotfiles/vim/after/ftplugin/logo_snippets.vim
|
25
|
+
lib/dotfiles/vim/after/ftplugin/markdown_snippets.vim
|
26
|
+
lib/dotfiles/vim/after/ftplugin/movable_type_snippets.vim
|
27
|
+
lib/dotfiles/vim/after/ftplugin/objc_snippets.vim
|
28
|
+
lib/dotfiles/vim/after/ftplugin/ocaml_snippets.vim
|
29
|
+
lib/dotfiles/vim/after/ftplugin/perl_snippets.vim
|
30
|
+
lib/dotfiles/vim/after/ftplugin/php_snippets.vim
|
31
|
+
lib/dotfiles/vim/after/ftplugin/phpdoc_snippets.vim
|
32
|
+
lib/dotfiles/vim/after/ftplugin/propel_snippets.vim
|
33
|
+
lib/dotfiles/vim/after/ftplugin/python_snippets.vim
|
34
|
+
lib/dotfiles/vim/after/ftplugin/rails_snippets.vim
|
35
|
+
lib/dotfiles/vim/after/ftplugin/ruby_snippets.vim
|
36
|
+
lib/dotfiles/vim/after/ftplugin/sh_snippets.vim
|
37
|
+
lib/dotfiles/vim/after/ftplugin/slate_snippets.vim
|
38
|
+
lib/dotfiles/vim/after/ftplugin/smarty_snippets.vim
|
39
|
+
lib/dotfiles/vim/after/ftplugin/symfony_snippets.vim
|
40
|
+
lib/dotfiles/vim/after/ftplugin/tcl_snippets.vim
|
41
|
+
lib/dotfiles/vim/after/ftplugin/template_toolkit_snippets.vim
|
42
|
+
lib/dotfiles/vim/after/ftplugin/tex_snippets.vim
|
43
|
+
lib/dotfiles/vim/after/ftplugin/xhtml_snippets.vim
|
44
|
+
lib/dotfiles/vim/autoload/fakeclip.vim
|
45
|
+
lib/dotfiles/vim/autoload/rails.vim
|
46
|
+
lib/dotfiles/vim/autoload/rubycomplete.vim
|
47
|
+
lib/dotfiles/vim/colors/inkpot.vim
|
48
|
+
lib/dotfiles/vim/colors/ir_black.vim
|
49
|
+
lib/dotfiles/vim/colors/ir_black_mod.vim
|
50
|
+
lib/dotfiles/vim/colors/railscasts.vim
|
51
|
+
lib/dotfiles/vim/colors/rubyblue.vim
|
52
|
+
lib/dotfiles/vim/colors/twilight.vim
|
53
|
+
lib/dotfiles/vim/colors/twilight2.vim
|
54
|
+
lib/dotfiles/vim/colors/wombat256.vim
|
55
|
+
lib/dotfiles/vim/compiler/eruby.vim
|
56
|
+
lib/dotfiles/vim/compiler/ruby.vim
|
57
|
+
lib/dotfiles/vim/compiler/rubyunit.vim
|
58
|
+
lib/dotfiles/vim/doc/NERD_tree.txt
|
59
|
+
lib/dotfiles/vim/doc/fakeclip.txt
|
60
|
+
lib/dotfiles/vim/doc/matchit.txt
|
61
|
+
lib/dotfiles/vim/doc/project.txt
|
62
|
+
lib/dotfiles/vim/doc/rails.txt
|
63
|
+
lib/dotfiles/vim/doc/snippets_emu.txt
|
64
|
+
lib/dotfiles/vim/doc/surround.txt
|
65
|
+
lib/dotfiles/vim/doc/tags
|
66
|
+
lib/dotfiles/vim/filetype.vim
|
67
|
+
lib/dotfiles/vim/ftdetect/gist.vim
|
68
|
+
lib/dotfiles/vim/ftdetect/ruby.vim
|
69
|
+
lib/dotfiles/vim/ftplugin/eruby.vim
|
70
|
+
lib/dotfiles/vim/ftplugin/ruby.vim
|
71
|
+
lib/dotfiles/vim/indent/eruby.vim
|
72
|
+
lib/dotfiles/vim/indent/ruby.vim
|
73
|
+
lib/dotfiles/vim/plugin/NERD_tree.vim
|
74
|
+
lib/dotfiles/vim/plugin/comments.vim
|
75
|
+
lib/dotfiles/vim/plugin/fakeclip.vim
|
76
|
+
lib/dotfiles/vim/plugin/fuzzyfinder.vim
|
77
|
+
lib/dotfiles/vim/plugin/fuzzyfinder_textmate.vim
|
78
|
+
lib/dotfiles/vim/plugin/gist.vim
|
79
|
+
lib/dotfiles/vim/plugin/gitdiff.vim
|
80
|
+
lib/dotfiles/vim/plugin/matchit.vim
|
81
|
+
lib/dotfiles/vim/plugin/mru.vim
|
82
|
+
lib/dotfiles/vim/plugin/rails.vim
|
83
|
+
lib/dotfiles/vim/plugin/rspec.vim
|
84
|
+
lib/dotfiles/vim/plugin/snippets.vim
|
85
|
+
lib/dotfiles/vim/plugin/snippetsEmu.vim
|
86
|
+
lib/dotfiles/vim/plugin/supertab.vim
|
87
|
+
lib/dotfiles/vim/plugin/surround.vim
|
88
|
+
lib/dotfiles/vim/ref_vimrc
|
89
|
+
lib/dotfiles/vim/ruby/fuzzy_file_finder.rb
|
90
|
+
lib/dotfiles/vim/syntax/eruby.vim
|
91
|
+
lib/dotfiles/vim/syntax/haml.vim
|
92
|
+
lib/dotfiles/vim/syntax/mkd.vim
|
93
|
+
lib/dotfiles/vim/syntax/ruby.vim
|
94
|
+
lib/dotfiles/vim/syntax/sass.vim
|
95
|
+
lib/dotfiles/vimrc
|
96
|
+
lib/vixplode/cli.rb
|
97
|
+
lib/vixploder.rb
|
98
|
+
script/console
|
99
|
+
script/destroy
|
100
|
+
script/generate
|
101
|
+
spec/spec.opts
|
102
|
+
spec/spec_helper.rb
|
103
|
+
spec/vixplode_cli_spec.rb
|
104
|
+
spec/vixploder_spec.rb
|
105
|
+
tasks/rspec.rake
|
data/PostInstall.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
|
2
|
+
To use vixploder, execute:
|
3
|
+
|
4
|
+
vixplode
|
5
|
+
|
6
|
+
...and try out VI. If you have issues with a blinking background
|
7
|
+
or errors on startup, confirm your system meets all the
|
8
|
+
requirements outlined in the README (http://bit.ly/m9Wk).
|
9
|
+
|
10
|
+
If you want to "undo" the changes, you can unlink the newly created
|
11
|
+
files in your home directory and restore them from ~/vixploder_backups:
|
12
|
+
|
13
|
+
mv ~/vixploder_backups/.* ~/
|
14
|
+
|
15
|
+
For more information on vixploder, see https://github.com/tomkersten/vixploder
|
16
|
+
|
17
|
+
NOTE: To create private Gists on http://gist.github.com, make sure you have set up
|
18
|
+
your username/token entries in your ~/.gitconfig file (refer to: http://bit.ly/OCgg)
|
19
|
+
|
20
|
+
Enjoy!
|
21
|
+
|
data/README.rdoc
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
= vixploder - "it may explode your vim"
|
2
|
+
|
3
|
+
== DESCRIPTION:
|
4
|
+
A simple 'dotfiles' management tool used to distribute common configuration files across multiple machines (initially consisting of a solid base for VIM, a few handy aliases for Rails development, and working with Git). The idea is not incredibly novel, but after realizing how poor the default VIM configuration is (at least on OS X), I wanted to be able to share mine with a few friends. Standard configuration files for other tools can easily be added to the tool, such as a core +.profile+, +.screenrc+ file, or Emacs config files...VIM is just the "test-case" for the distribution method at this point.
|
5
|
+
|
6
|
+
Vixploder is designed to give room for machine-/user-specific overrides. For example, the +.vimrc+ file sources a <tt>~/.local_vimrc</tt> file. These 'local dotfiles' are intentionally left out of version control and intended for settings that are either machine-specific or something a user may not want to be in a publicly-available repository. A couple examples of such content would be aliases for SSH-ing into a server with a particular username (ie: +site+ aliased to <tt>ssh my_username@my_website.com</tt>), or aliases to machine-specific paths for a project directory (both of these examples would be for your shell setup files, not vimrc, but the logic is the same...maybe you want a different colorscheme on a particular server in VIM).
|
7
|
+
|
8
|
+
The VIM configuration is tailored to Ruby/Rails developers at this point, as that is what I currently work with/on. The intention of this project is not to be the "setup everyone uses without changing". Instead, fork it and set your own "sane" defaults for whatever your preferences are and then use that as your own base. The +.vimrc+ file is extensively commented. Turning off a setting is as easy as putting a '"' (double-quote character) as the first character of the line. Modifying it is either intuitive or as easy as typing <tt>:help <setting name></tt> (in vi) to check the possible parameters the setting accepts.
|
9
|
+
|
10
|
+
The +vixplode+ command will backup & symlink any files named <tt>.[filename]</tt> in your home directory (which it replaces) with each file/directory in +lib/dotfiles+ (of the vixploder directory structure). For example, there is a +vimrc+ file in +lib/dotfiles+...which will be symlinked to <tt>~/.vimrc</tt>. Same goes for the +vim+ directory. The original files are backed up to <tt>~/vixploder_backup/</tt>. If you want to revert the installation, you can remove the symlinks created and copy your files back into your home directory (there will be a script to do this for you soon...).
|
11
|
+
|
12
|
+
|
13
|
+
=== What's included:
|
14
|
+
==== Solid Default VIM Configuration
|
15
|
+
- The VIM configuration will be covered in more detail elsewhere (YTBD), but a few of the 'highlights' are:
|
16
|
+
- Pleasant-looking vim & gVim color schemes (see 'Requirements' section for terminal support)
|
17
|
+
- Has Jamis Buck's (awesome) FuzzyFinderTextmate[http://github.com/jamis/fuzzyfinder_textmate/tree/master] plugin bundled in and set up to <tt>/-f</tt> (backslash-f)
|
18
|
+
- Mouse support is enabled (yes, in the terminal too...)
|
19
|
+
- Ships with a few other popular plugins (and maybe some not-so-popular that I find useful/cool), such as:
|
20
|
+
- _NERDTree.vim_ (link[http://www.vim.org/scripts/script.php?script_id=1658])
|
21
|
+
- Directory-tree on sidebar of window (similar to TextMate's "drawer")
|
22
|
+
- _Rails.vim_ (link[http://www.vim.org/scripts/script.php?script_id=1567])
|
23
|
+
- Plugin by Tim Pope which makes jupming around to different files in a Rails app a snap
|
24
|
+
- _Gist.vim_
|
25
|
+
- Integration with gist.github.com[http://gist.github.com]
|
26
|
+
- _GITDiff.vim_
|
27
|
+
- Shows a diff of what has changed in the current file since HEAD
|
28
|
+
- _Comments.vim_ (link[http://www.vim.org/scripts/script.php?script_id=1528])
|
29
|
+
- Easily (un)comment blocks of code by hitting +Ctl-c+
|
30
|
+
- _Matchit.vim_ (link[http://www.vim.org/scripts/script.php?script_id=39])
|
31
|
+
- Enhanced match-support for opening/closing brackets & method declarations
|
32
|
+
- <i>MRU.vim (Most Recently Used files)</i> (link[http://www.vim.org/scripts/script.php?script_id=521])
|
33
|
+
- Quickly jump to recently used files by hitting +Ctl-o+
|
34
|
+
- _Rspec.vim_
|
35
|
+
- Adds shortcuts for running Rspec tests (read rspec.vim & modify to suit your preferences)
|
36
|
+
- _Snippets.vim_ (link[http://www.vim.org/scripts/script.php?script_id=1318])
|
37
|
+
- Makes it dead-simple to add "snippets" of code which will auto-expand for you...similar to many other editors (TextMate obviously being a popular one in Rails-land).
|
38
|
+
- _Surround.vim_ (link[http://www.vim.org/scripts/script.php?script_id=1697])
|
39
|
+
- Simplifies "surrounding" text with a pattern of characters, such as quotes, parens, or opening & closing HTML/XML tags.
|
40
|
+
- _SuperTab.vim_ (link[http://www.vim.org/scripts/script.php?script_id=1643])
|
41
|
+
- Gives tab-completion in VIM. Works pretty well with Ruby. I do not use this often, but...it's kind of neat...and can come in handy at times.
|
42
|
+
- A couple useful abbreviations
|
43
|
+
- +lorem+ is expanded to a paragraph of 'Lorem ipsum' text
|
44
|
+
- +hh+ becomes <tt>=></tt>
|
45
|
+
- Sane defaults most people familiar with other editors would expect
|
46
|
+
- Things like: arrow keys being correctly mapped, auto-indenting, being able to 'delete' to a previous line, soft tabs, et cetera...
|
47
|
+
|
48
|
+
|
49
|
+
==== Shell Aliases
|
50
|
+
*NOTE:* For now, there is an +aliases+ file which will be symlinked to +~/.aliases+. Because +vixploder+ is not sending any default shell profiles (yet), you need to source this file in the appropriate shell initiliazation file if you are interested in using the aliases outlined below (<tt>.profile</tt>, <tt>.tcshrc</tt>, <tt>.zshrc</tt>, <tt>.bashrc</tt>...whatever your preference).
|
51
|
+
|
52
|
+
* SVN
|
53
|
+
- +up+ : performs an <tt>svn update --ignore-externals</tt> to make updates a bit faster
|
54
|
+
* Git
|
55
|
+
- <tt>g</tt>: <tt>git</tt>
|
56
|
+
- <tt>gst</tt>: <tt>git status</tt>
|
57
|
+
- <tt>gl</tt>: <tt>git pull</tt>
|
58
|
+
- <tt>gp</tt>: <tt>git push</tt>
|
59
|
+
- <tt>gc</tt>: <tt>git commit -v</tt>
|
60
|
+
- <tt>gca</tt>: <tt>git commit -v -a</tt>
|
61
|
+
- <tt>gb</tt>: <tt>git branch</tt>
|
62
|
+
- <tt>gba</tt>: <tt>git branch -a</tt>
|
63
|
+
- <tt>ga</tt>: <tt>git add</tt>
|
64
|
+
|
65
|
+
* Rails
|
66
|
+
- <tt>ss</tt>: <tt>./script/server --debugger</tt>
|
67
|
+
- <tt>sc</tt>: <tt>./script/console</tt>
|
68
|
+
- <tt>sg</tt>: <tt>./script/generate</tt>
|
69
|
+
- <tt>sas</tt>:<tt>./script/autospec</tt>
|
70
|
+
|
71
|
+
* Misc
|
72
|
+
- <tt>vil</tt>: <tt>vi $_</tt> (which opens last argument of previous command in vi...useful for...say...after you copy a file)
|
73
|
+
- <tt>mr</tt>: <tt>mate app config db features lib public test spec vendor/plugins vendor/gems</tt>
|
74
|
+
|
75
|
+
|
76
|
+
== REQUIREMENTS:
|
77
|
+
|
78
|
+
- VIM compiled with Ruby support
|
79
|
+
|
80
|
+
- You can check this by starting up vi and typing +:version.+ If you have a <tt>+ruby</tt>, you are set. If not, you need to either compile in support yourself, or find a package which has done it for you.
|
81
|
+
|
82
|
+
- For Mac-users: MacVim comes with this built in, but you may want to check your 'terminal' version of VIM if you want to be able to use +vi+ in the terminal with the same feature-set. If you have [MacPorts](http://www.macports.org/) installed, you should be able to just run:
|
83
|
+
|
84
|
+
sudo port install vim+ruby
|
85
|
+
|
86
|
+
...and be all set.
|
87
|
+
|
88
|
+
- A 256-color-capable terminal application
|
89
|
+
|
90
|
+
- For Mac-users: As of Version 2.0.1, build 240, Terminal.app on Mac OS X (10.5.5) does not meet this requirement. [iTerm](http://iterm.sourceforge.net/) does. Other applications may as well (recommendations welcome)...
|
91
|
+
|
92
|
+
== INSTALL:
|
93
|
+
|
94
|
+
=== Installing as a gem:
|
95
|
+
If you already have github set up as a source for gem:
|
96
|
+
|
97
|
+
sudo gem install tomkersten-vixploder
|
98
|
+
|
99
|
+
Otherwise:
|
100
|
+
|
101
|
+
sudo gem install tomkersten-vixploder --source http://gems.github.com
|
102
|
+
|
103
|
+
=== Installing manually:
|
104
|
+
|
105
|
+
1. Clone the repository (or download the repository and unpack it) to a stable local location
|
106
|
+
2. Execute the 'bin/vixplode' command in the source directory
|
107
|
+
|
108
|
+
== LICENSE:
|
109
|
+
|
110
|
+
(The MIT License)
|
111
|
+
|
112
|
+
Copyright (c) 2008 Tom Kersten
|
113
|
+
|
114
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
115
|
+
a copy of this software and associated documentation files (the
|
116
|
+
'Software'), to deal in the Software without restriction, including
|
117
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
118
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
119
|
+
permit persons to whom the Software is furnished to do so, subject to
|
120
|
+
the following conditions:
|
121
|
+
|
122
|
+
The above copyright notice and this permission notice shall be
|
123
|
+
included in all copies or substantial portions of the Software.
|
124
|
+
|
125
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
126
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
127
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
128
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
129
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
130
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
131
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
|
2
|
+
require File.dirname(__FILE__) + '/lib/vixploder'
|
3
|
+
require 'hanna/rdoctask'
|
4
|
+
|
5
|
+
$hoe = Hoe.new('vixploder', Vixploder::VERSION) do |p|
|
6
|
+
p.developer('Tom Kersten', 'tom.kersten@cosyntech.com')
|
7
|
+
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
8
|
+
p.post_install_message = File.read("PostInstall.txt").delete("\r")
|
9
|
+
p.summary = %q{Tool for simplifying the distribution of environment configuration files ('dotfiles') across multiple *nix-based nodes.}
|
10
|
+
p.extra_dev_deps = [
|
11
|
+
['newgem', ">= #{::Newgem::VERSION}"]
|
12
|
+
]
|
13
|
+
|
14
|
+
p.clean_globs |= %w[**/.DS_Store tmp *.log]
|
15
|
+
path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}"
|
16
|
+
p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc')
|
17
|
+
p.rsync_args = '-av --delete --ignore-errors'
|
18
|
+
end
|
19
|
+
|
20
|
+
require 'newgem/tasks' # load /tasks/*.rake
|
21
|
+
Dir['tasks/**/*.rake'].each { |t| load t }
|
data/bin/256colors2.pl
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
#!/usr/bin/perl
|
2
|
+
# Author: Todd Larason <jtl@molehill.org>
|
3
|
+
# $XFree86: xc/programs/xterm/vttests/256colors2.pl,v 1.2 2002/03/26 01:46:43 dickey Exp $
|
4
|
+
|
5
|
+
# use the resources for colors 0-15 - usually more-or-less a
|
6
|
+
# reproduction of the standard ANSI colors, but possibly more
|
7
|
+
# pleasing shades
|
8
|
+
|
9
|
+
# colors 16-231 are a 6x6x6 color cube
|
10
|
+
for ($red = 0; $red < 6; $red++) {
|
11
|
+
for ($green = 0; $green < 6; $green++) {
|
12
|
+
for ($blue = 0; $blue < 6; $blue++) {
|
13
|
+
printf("\x1b]4;%d;rgb:%2.2x/%2.2x/%2.2x\x1b\\",
|
14
|
+
16 + ($red * 36) + ($green * 6) + $blue,
|
15
|
+
($red ? ($red * 40 + 55) : 0),
|
16
|
+
($green ? ($green * 40 + 55) : 0),
|
17
|
+
($blue ? ($blue * 40 + 55) : 0));
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
# colors 232-255 are a grayscale ramp, intentionally leaving out
|
23
|
+
# black and white
|
24
|
+
for ($gray = 0; $gray < 24; $gray++) {
|
25
|
+
$level = ($gray * 10) + 8;
|
26
|
+
printf("\x1b]4;%d;rgb:%2.2x/%2.2x/%2.2x\x1b\\",
|
27
|
+
232 + $gray, $level, $level, $level);
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
# display the colors
|
32
|
+
|
33
|
+
# first the system ones:
|
34
|
+
print "System colors:\n";
|
35
|
+
for ($color = 0; $color < 8; $color++) {
|
36
|
+
print "\x1b[48;5;${color}m ";
|
37
|
+
}
|
38
|
+
print "\x1b[0m\n";
|
39
|
+
for ($color = 8; $color < 16; $color++) {
|
40
|
+
print "\x1b[48;5;${color}m ";
|
41
|
+
}
|
42
|
+
print "\x1b[0m\n\n";
|
43
|
+
|
44
|
+
# now the color cube
|
45
|
+
print "Color cube, 6x6x6:\n";
|
46
|
+
for ($green = 0; $green < 6; $green++) {
|
47
|
+
for ($red = 0; $red < 6; $red++) {
|
48
|
+
for ($blue = 0; $blue < 6; $blue++) {
|
49
|
+
$color = 16 + ($red * 36) + ($green * 6) + $blue;
|
50
|
+
print "\x1b[48;5;${color}m ";
|
51
|
+
}
|
52
|
+
print "\x1b[0m ";
|
53
|
+
}
|
54
|
+
print "\n";
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
# now the grayscale ramp
|
59
|
+
print "Grayscale ramp:\n";
|
60
|
+
for ($color = 232; $color < 256; $color++) {
|
61
|
+
print "\x1b[48;5;${color}m ";
|
62
|
+
}
|
63
|
+
print "\x1b[0m\n";
|
data/bin/colortest
ADDED
@@ -0,0 +1,365 @@
|
|
1
|
+
#!/usr/bin/perl
|
2
|
+
|
3
|
+
# by entheon, do whatever the hell you want with this file
|
4
|
+
|
5
|
+
print "\n";
|
6
|
+
print "**************************\n";
|
7
|
+
print "*XTERM 256Color Test Chart\n";
|
8
|
+
print "**************************\n";
|
9
|
+
print "* 16 = black\n";
|
10
|
+
print "* 255 = white\n";
|
11
|
+
print "*\n";
|
12
|
+
print "* Usage:\n";
|
13
|
+
print "* colortest -w\n";
|
14
|
+
print "* wide display\n";
|
15
|
+
print "*\n";
|
16
|
+
print "* colortest -w -r\n";
|
17
|
+
print "* wide display reversed\n";
|
18
|
+
print "*\n";
|
19
|
+
print "* colortest -w -s\n";
|
20
|
+
print "* extra spaces padding\n";
|
21
|
+
print "*\n";
|
22
|
+
print "* colortest -w -r -s\n";
|
23
|
+
print "* available combination\n";
|
24
|
+
print "*\n";
|
25
|
+
print "**************************\n";
|
26
|
+
|
27
|
+
if( $ARGV[0] eq "-w" || $ARGV[1] eq "-w" || $ARGV[2] eq "-w" ) {
|
28
|
+
push(@arr, [( "[38;5;16m 16: 00/00/00", "[38;5;17m 17: 00/00/5f", "[38;5;18m 18: 00/00/87", "[38;5;19m 19: 00/00/af", "[38;5;20m 20: 00/00/d7", "[38;5;21m 21: 00/00/ff")] );
|
29
|
+
push(@arr, [( "[38;5;22m 22: 00/5f/00", "[38;5;23m 23: 00/5f/5f", "[38;5;24m 24: 00/5f/87", "[38;5;25m 25: 00/5f/af", "[38;5;26m 26: 00/5f/d7", "[38;5;27m 27: 00/5f/ff")] );
|
30
|
+
push(@arr, [( "[38;5;28m 28: 00/87/00", "[38;5;29m 29: 00/87/5f", "[38;5;30m 30: 00/87/87", "[38;5;31m 31: 00/87/af", "[38;5;32m 32: 00/87/d7", "[38;5;33m 33: 00/87/ff")] );
|
31
|
+
push(@arr, [( "[38;5;34m 34: 00/af/00", "[38;5;35m 35: 00/af/5f", "[38;5;36m 36: 00/af/87", "[38;5;37m 37: 00/af/af", "[38;5;38m 38: 00/af/d7", "[38;5;39m 39: 00/af/ff")] );
|
32
|
+
push(@arr, [( "[38;5;40m 40: 00/d7/00", "[38;5;41m 41: 00/d7/5f", "[38;5;42m 42: 00/d7/87", "[38;5;43m 43: 00/d7/af", "[38;5;44m 44: 00/d7/d7", "[38;5;45m 45: 00/d7/ff")] );
|
33
|
+
push(@arr, [( "[38;5;46m 46: 00/ff/00", "[38;5;47m 47: 00/ff/5f", "[38;5;48m 48: 00/ff/87", "[38;5;49m 49: 00/ff/af", "[38;5;50m 50: 00/ff/d7", "[38;5;51m 51: 00/ff/ff")] );
|
34
|
+
push(@arr, [( "[38;5;52m 52: 5f/00/00", "[38;5;53m 53: 5f/00/5f", "[38;5;54m 54: 5f/00/87", "[38;5;55m 55: 5f/00/af", "[38;5;56m 56: 5f/00/d7", "[38;5;57m 57: 5f/00/ff")] );
|
35
|
+
push(@arr, [( "[38;5;58m 58: 5f/5f/00", "[38;5;59m 59: 5f/5f/5f", "[38;5;60m 60: 5f/5f/87", "[38;5;61m 61: 5f/5f/af", "[38;5;62m 62: 5f/5f/d7", "[38;5;63m 63: 5f/5f/ff")] );
|
36
|
+
push(@arr, [( "[38;5;64m 64: 5f/87/00", "[38;5;65m 65: 5f/87/5f", "[38;5;66m 66: 5f/87/87", "[38;5;67m 67: 5f/87/af", "[38;5;68m 68: 5f/87/d7", "[38;5;69m 69: 5f/87/ff")] );
|
37
|
+
push(@arr, [( "[38;5;70m 70: 5f/af/00", "[38;5;71m 71: 5f/af/5f", "[38;5;72m 72: 5f/af/87", "[38;5;73m 73: 5f/af/af", "[38;5;74m 74: 5f/af/d7", "[38;5;75m 75: 5f/af/ff")] );
|
38
|
+
push(@arr, [( "[38;5;76m 76: 5f/d7/00", "[38;5;77m 77: 5f/d7/5f", "[38;5;78m 78: 5f/d7/87", "[38;5;79m 79: 5f/d7/af", "[38;5;80m 80: 5f/d7/d7", "[38;5;81m 81: 5f/d7/ff")] );
|
39
|
+
push(@arr, [( "[38;5;82m 82: 5f/ff/00", "[38;5;83m 83: 5f/ff/5f", "[38;5;84m 84: 5f/ff/87", "[38;5;85m 85: 5f/ff/af", "[38;5;86m 86: 5f/ff/d7", "[38;5;87m 87: 5f/ff/ff")] );
|
40
|
+
push(@arr, [( "[38;5;88m 88: 87/00/00", "[38;5;89m 89: 87/00/5f", "[38;5;90m 90: 87/00/87", "[38;5;91m 91: 87/00/af", "[38;5;92m 92: 87/00/d7", "[38;5;93m 93: 87/00/ff")] );
|
41
|
+
push(@arr, [( "[38;5;94m 94: 87/5f/00", "[38;5;95m 95: 87/5f/5f", "[38;5;96m 96: 87/5f/87", "[38;5;97m 97: 87/5f/af", "[38;5;98m 98: 87/5f/d7", "[38;5;99m 99: 87/5f/ff")] );
|
42
|
+
push(@arr, [( "[38;5;100m 100: 87/87/00", "[38;5;101m 101: 87/87/5f", "[38;5;102m 102: 87/87/87", "[38;5;103m 103: 87/87/af", "[38;5;104m 104: 87/87/d7", "[38;5;105m 105: 87/87/ff")] );
|
43
|
+
push(@arr, [( "[38;5;106m 106: 87/af/00", "[38;5;107m 107: 87/af/5f", "[38;5;108m 108: 87/af/87", "[38;5;109m 109: 87/af/af", "[38;5;110m 110: 87/af/d7", "[38;5;111m 111: 87/af/ff")] );
|
44
|
+
push(@arr, [( "[38;5;112m 112: 87/d7/00", "[38;5;113m 113: 87/d7/5f", "[38;5;114m 114: 87/d7/87", "[38;5;115m 115: 87/d7/af", "[38;5;116m 116: 87/d7/d7", "[38;5;117m 117: 87/d7/ff")] );
|
45
|
+
push(@arr, [( "[38;5;118m 118: 87/ff/00", "[38;5;119m 119: 87/ff/5f", "[38;5;120m 120: 87/ff/87", "[38;5;121m 121: 87/ff/af", "[38;5;122m 122: 87/ff/d7", "[38;5;123m 123: 87/ff/ff")] );
|
46
|
+
push(@arr, [( "[38;5;124m 124: af/00/00", "[38;5;125m 125: af/00/5f", "[38;5;126m 126: af/00/87", "[38;5;127m 127: af/00/af", "[38;5;128m 128: af/00/d7", "[38;5;129m 129: af/00/ff")] );
|
47
|
+
push(@arr, [( "[38;5;130m 130: af/5f/00", "[38;5;131m 131: af/5f/5f", "[38;5;132m 132: af/5f/87", "[38;5;133m 133: af/5f/af", "[38;5;134m 134: af/5f/d7", "[38;5;135m 135: af/5f/ff")] );
|
48
|
+
push(@arr, [( "[38;5;136m 136: af/87/00", "[38;5;137m 137: af/87/5f", "[38;5;138m 138: af/87/87", "[38;5;139m 139: af/87/af", "[38;5;140m 140: af/87/d7", "[38;5;141m 141: af/87/ff")] );
|
49
|
+
push(@arr, [( "[38;5;142m 142: af/af/00", "[38;5;143m 143: af/af/5f", "[38;5;144m 144: af/af/87", "[38;5;145m 145: af/af/af", "[38;5;146m 146: af/af/d7", "[38;5;147m 147: af/af/ff")] );
|
50
|
+
push(@arr, [( "[38;5;148m 148: af/d7/00", "[38;5;149m 149: af/d7/5f", "[38;5;150m 150: af/d7/87", "[38;5;151m 151: af/d7/af", "[38;5;152m 152: af/d7/d7", "[38;5;153m 153: af/d7/ff")] );
|
51
|
+
push(@arr, [( "[38;5;154m 154: af/ff/00", "[38;5;155m 155: af/ff/5f", "[38;5;156m 156: af/ff/87", "[38;5;157m 157: af/ff/af", "[38;5;158m 158: af/ff/d7", "[38;5;159m 159: af/ff/ff")] );
|
52
|
+
push(@arr, [( "[38;5;160m 160: d7/00/00", "[38;5;161m 161: d7/00/5f", "[38;5;162m 162: d7/00/87", "[38;5;163m 163: d7/00/af", "[38;5;164m 164: d7/00/d7", "[38;5;165m 165: d7/00/ff")] );
|
53
|
+
push(@arr, [( "[38;5;166m 166: d7/5f/00", "[38;5;167m 167: d7/5f/5f", "[38;5;168m 168: d7/5f/87", "[38;5;169m 169: d7/5f/af", "[38;5;170m 170: d7/5f/d7", "[38;5;171m 171: d7/5f/ff")] );
|
54
|
+
push(@arr, [( "[38;5;172m 172: d7/87/00", "[38;5;173m 173: d7/87/5f", "[38;5;174m 174: d7/87/87", "[38;5;175m 175: d7/87/af", "[38;5;176m 176: d7/87/d7", "[38;5;177m 177: d7/87/ff")] );
|
55
|
+
push(@arr, [( "[38;5;178m 178: d7/af/00", "[38;5;179m 179: d7/af/5f", "[38;5;180m 180: d7/af/87", "[38;5;181m 181: d7/af/af", "[38;5;182m 182: d7/af/d7", "[38;5;183m 183: d7/af/ff")] );
|
56
|
+
push(@arr, [( "[38;5;184m 184: d7/d7/00", "[38;5;185m 185: d7/d7/5f", "[38;5;186m 186: d7/d7/87", "[38;5;187m 187: d7/d7/af", "[38;5;188m 188: d7/d7/d7", "[38;5;189m 189: d7/d7/ff")] );
|
57
|
+
push(@arr, [( "[38;5;190m 190: d7/ff/00", "[38;5;191m 191: d7/ff/5f", "[38;5;192m 192: d7/ff/87", "[38;5;193m 193: d7/ff/af", "[38;5;194m 194: d7/ff/d7", "[38;5;195m 195: d7/ff/ff")] );
|
58
|
+
push(@arr, [( "[38;5;196m 196: ff/00/00", "[38;5;197m 197: ff/00/5f", "[38;5;198m 198: ff/00/87", "[38;5;199m 199: ff/00/af", "[38;5;200m 200: ff/00/d7", "[38;5;201m 201: ff/00/ff")] );
|
59
|
+
push(@arr, [( "[38;5;202m 202: ff/5f/00", "[38;5;203m 203: ff/5f/5f", "[38;5;204m 204: ff/5f/87", "[38;5;205m 205: ff/5f/af", "[38;5;206m 206: ff/5f/d7", "[38;5;207m 207: ff/5f/ff")] );
|
60
|
+
push(@arr, [( "[38;5;208m 208: ff/87/00", "[38;5;209m 209: ff/87/5f", "[38;5;210m 210: ff/87/87", "[38;5;211m 211: ff/87/af", "[38;5;212m 212: ff/87/d7", "[38;5;213m 213: ff/87/ff")] );
|
61
|
+
push(@arr, [( "[38;5;214m 214: ff/af/00", "[38;5;215m 215: ff/af/5f", "[38;5;216m 216: ff/af/87", "[38;5;217m 217: ff/af/af", "[38;5;218m 218: ff/af/d7", "[38;5;219m 219: ff/af/ff")] );
|
62
|
+
push(@arr, [( "[38;5;220m 220: ff/d7/00", "[38;5;221m 221: ff/d7/5f", "[38;5;222m 222: ff/d7/87", "[38;5;223m 223: ff/d7/af", "[38;5;224m 224: ff/d7/d7", "[38;5;225m 225: ff/d7/ff")] );
|
63
|
+
push(@arr, [( "[38;5;226m 226: ff/ff/00", "[38;5;227m 227: ff/ff/5f", "[38;5;228m 228: ff/ff/87", "[38;5;229m 229: ff/ff/af", "[38;5;230m 230: ff/ff/d7", "[38;5;231m 231: ff/ff/ff")] );
|
64
|
+
push(@arr, [( "[38;5;232m 232: 08/08/08", "[38;5;233m 233: 12/12/12", "[38;5;234m 234: 1c/1c/1c", "[38;5;235m 235: 26/26/26", "[38;5;236m 236: 30/30/30", "[38;5;237m 237: 3a/3a/3a")] );
|
65
|
+
push(@arr, [( "[38;5;238m 238: 44/44/44", "[38;5;239m 239: 4e/4e/4e", "[38;5;240m 240: 58/58/58", "[38;5;241m 241: 62/62/62", "[38;5;242m 242: 6c/6c/6c", "[38;5;243m 243: 76/76/76")] );
|
66
|
+
push(@arr, [( "[38;5;244m 244: 80/80/80", "[38;5;245m 245: 8a/8a/8a", "[38;5;246m 246: 94/94/94", "[38;5;247m 247: 9e/9e/9e", "[38;5;248m 248: a8/a8/a8", "[38;5;249m 249: b2/b2/b2")] );
|
67
|
+
push(@arr, [( "[38;5;250m 250: bc/bc/bc", "[38;5;251m 251: c6/c6/c6", "[38;5;252m 252: d0/d0/d0", "[38;5;253m 253: da/da/da", "[38;5;254m 254: e4/e4/e4", "[38;5;255m 255: ee/ee/ee")] );
|
68
|
+
|
69
|
+
if( $ARGV[0] eq "-s" || $ARGV[1] eq "-s" || $ARGV[2] eq "-s" ){
|
70
|
+
$padding = " ";
|
71
|
+
}
|
72
|
+
else {
|
73
|
+
|
74
|
+
}
|
75
|
+
|
76
|
+
# display in reverse order
|
77
|
+
if( $ARGV[0] eq "-r" || $ARGV[1] eq "-r" || $ARGV[2] eq "-r" ){
|
78
|
+
for( $dimone = 0; $dimone < scalar @arr; $dimone++ ) {
|
79
|
+
|
80
|
+
$seed = ($dimone % 6) * -1;
|
81
|
+
for( $dimtwo = 0; $dimtwo < 6; $dimtwo++ ) {
|
82
|
+
|
83
|
+
$movone = $seed;
|
84
|
+
$movtwo = $seed * -1;
|
85
|
+
|
86
|
+
print $arr[$dimone][$dimtwo] . $padding;
|
87
|
+
|
88
|
+
$seed = $seed+1;
|
89
|
+
}
|
90
|
+
|
91
|
+
print "\n";
|
92
|
+
}
|
93
|
+
}
|
94
|
+
else {
|
95
|
+
for( $dimone = 0; $dimone < scalar @arr; $dimone++ ) {
|
96
|
+
|
97
|
+
$seed = ($dimone % 6) * -1;
|
98
|
+
for( $dimtwo = 0; $dimtwo < 6; $dimtwo++ ) {
|
99
|
+
|
100
|
+
$movone = $seed;
|
101
|
+
$movtwo = $seed * -1;
|
102
|
+
|
103
|
+
$newone = $dimone+$movone;
|
104
|
+
$newtwo = $dimtwo+$movtwo;
|
105
|
+
|
106
|
+
if( $newone < scalar @arr ){
|
107
|
+
print $arr[$newone][$newtwo] . $padding;
|
108
|
+
}
|
109
|
+
|
110
|
+
$seed = $seed+1;
|
111
|
+
}
|
112
|
+
|
113
|
+
print "\n";
|
114
|
+
}
|
115
|
+
}
|
116
|
+
print "\n";
|
117
|
+
print "\n";
|
118
|
+
|
119
|
+
}
|
120
|
+
else {
|
121
|
+
print "[38;5;16m 16: 00/00/00\n";
|
122
|
+
print "[38;5;17m 17: 00/00/5f\n";
|
123
|
+
print "[38;5;18m 18: 00/00/87\n";
|
124
|
+
print "[38;5;19m 19: 00/00/af\n";
|
125
|
+
print "[38;5;20m 20: 00/00/d7\n";
|
126
|
+
print "[38;5;21m 21: 00/00/ff\n";
|
127
|
+
print "[38;5;22m 22: 00/5f/00\n";
|
128
|
+
print "[38;5;23m 23: 00/5f/5f\n";
|
129
|
+
print "[38;5;24m 24: 00/5f/87\n";
|
130
|
+
print "[38;5;25m 25: 00/5f/af\n";
|
131
|
+
print "[38;5;26m 26: 00/5f/d7\n";
|
132
|
+
print "[38;5;27m 27: 00/5f/ff\n";
|
133
|
+
print "[38;5;28m 28: 00/87/00\n";
|
134
|
+
print "[38;5;29m 29: 00/87/5f\n";
|
135
|
+
print "[38;5;30m 30: 00/87/87\n";
|
136
|
+
print "[38;5;31m 31: 00/87/af\n";
|
137
|
+
print "[38;5;32m 32: 00/87/d7\n";
|
138
|
+
print "[38;5;33m 33: 00/87/ff\n";
|
139
|
+
print "[38;5;34m 34: 00/af/00\n";
|
140
|
+
print "[38;5;35m 35: 00/af/5f\n";
|
141
|
+
print "[38;5;36m 36: 00/af/87\n";
|
142
|
+
print "[38;5;37m 37: 00/af/af\n";
|
143
|
+
print "[38;5;38m 38: 00/af/d7\n";
|
144
|
+
print "[38;5;39m 39: 00/af/ff\n";
|
145
|
+
print "[38;5;40m 40: 00/d7/00\n";
|
146
|
+
print "[38;5;41m 41: 00/d7/5f\n";
|
147
|
+
print "[38;5;42m 42: 00/d7/87\n";
|
148
|
+
print "[38;5;43m 43: 00/d7/af\n";
|
149
|
+
print "[38;5;44m 44: 00/d7/d7\n";
|
150
|
+
print "[38;5;45m 45: 00/d7/ff\n";
|
151
|
+
print "[38;5;46m 46: 00/ff/00\n";
|
152
|
+
print "[38;5;47m 47: 00/ff/5f\n";
|
153
|
+
print "[38;5;48m 48: 00/ff/87\n";
|
154
|
+
print "[38;5;49m 49: 00/ff/af\n";
|
155
|
+
print "[38;5;50m 50: 00/ff/d7\n";
|
156
|
+
print "[38;5;51m 51: 00/ff/ff\n";
|
157
|
+
print "[38;5;52m 52: 5f/00/00\n";
|
158
|
+
print "[38;5;53m 53: 5f/00/5f\n";
|
159
|
+
print "[38;5;54m 54: 5f/00/87\n";
|
160
|
+
print "[38;5;55m 55: 5f/00/af\n";
|
161
|
+
print "[38;5;56m 56: 5f/00/d7\n";
|
162
|
+
print "[38;5;57m 57: 5f/00/ff\n";
|
163
|
+
print "[38;5;58m 58: 5f/5f/00\n";
|
164
|
+
print "[38;5;59m 59: 5f/5f/5f\n";
|
165
|
+
print "[38;5;60m 60: 5f/5f/87\n";
|
166
|
+
print "[38;5;61m 61: 5f/5f/af\n";
|
167
|
+
print "[38;5;62m 62: 5f/5f/d7\n";
|
168
|
+
print "[38;5;63m 63: 5f/5f/ff\n";
|
169
|
+
print "[38;5;64m 64: 5f/87/00\n";
|
170
|
+
print "[38;5;65m 65: 5f/87/5f\n";
|
171
|
+
print "[38;5;66m 66: 5f/87/87\n";
|
172
|
+
print "[38;5;67m 67: 5f/87/af\n";
|
173
|
+
print "[38;5;68m 68: 5f/87/d7\n";
|
174
|
+
print "[38;5;69m 69: 5f/87/ff\n";
|
175
|
+
print "[38;5;70m 70: 5f/af/00\n";
|
176
|
+
print "[38;5;71m 71: 5f/af/5f\n";
|
177
|
+
print "[38;5;72m 72: 5f/af/87\n";
|
178
|
+
print "[38;5;73m 73: 5f/af/af\n";
|
179
|
+
print "[38;5;74m 74: 5f/af/d7\n";
|
180
|
+
print "[38;5;75m 75: 5f/af/ff\n";
|
181
|
+
print "[38;5;76m 76: 5f/d7/00\n";
|
182
|
+
print "[38;5;77m 77: 5f/d7/5f\n";
|
183
|
+
print "[38;5;78m 78: 5f/d7/87\n";
|
184
|
+
print "[38;5;79m 79: 5f/d7/af\n";
|
185
|
+
print "[38;5;80m 80: 5f/d7/d7\n";
|
186
|
+
print "[38;5;81m 81: 5f/d7/ff\n";
|
187
|
+
print "[38;5;82m 82: 5f/ff/00\n";
|
188
|
+
print "[38;5;83m 83: 5f/ff/5f\n";
|
189
|
+
print "[38;5;84m 84: 5f/ff/87\n";
|
190
|
+
print "[38;5;85m 85: 5f/ff/af\n";
|
191
|
+
print "[38;5;86m 86: 5f/ff/d7\n";
|
192
|
+
print "[38;5;87m 87: 5f/ff/ff\n";
|
193
|
+
print "[38;5;88m 88: 87/00/00\n";
|
194
|
+
print "[38;5;89m 89: 87/00/5f\n";
|
195
|
+
print "[38;5;90m 90: 87/00/87\n";
|
196
|
+
print "[38;5;91m 91: 87/00/af\n";
|
197
|
+
print "[38;5;92m 92: 87/00/d7\n";
|
198
|
+
print "[38;5;93m 93: 87/00/ff\n";
|
199
|
+
print "[38;5;94m 94: 87/5f/00\n";
|
200
|
+
print "[38;5;95m 95: 87/5f/5f\n";
|
201
|
+
print "[38;5;96m 96: 87/5f/87\n";
|
202
|
+
print "[38;5;97m 97: 87/5f/af\n";
|
203
|
+
print "[38;5;98m 98: 87/5f/d7\n";
|
204
|
+
print "[38;5;99m 99: 87/5f/ff\n";
|
205
|
+
print "[38;5;100m 100 :87/87/00\n";
|
206
|
+
print "[38;5;101m 101 :87/87/5f\n";
|
207
|
+
print "[38;5;102m 102 :87/87/87\n";
|
208
|
+
print "[38;5;103m 103 :87/87/af\n";
|
209
|
+
print "[38;5;104m 104 :87/87/d7\n";
|
210
|
+
print "[38;5;105m 105 :87/87/ff\n";
|
211
|
+
print "[38;5;106m 106 :87/af/00\n";
|
212
|
+
print "[38;5;107m 107 :87/af/5f\n";
|
213
|
+
print "[38;5;108m 108 :87/af/87\n";
|
214
|
+
print "[38;5;109m 109 :87/af/af\n";
|
215
|
+
print "[38;5;110m 110 :87/af/d7\n";
|
216
|
+
print "[38;5;111m 111 :87/af/ff\n";
|
217
|
+
print "[38;5;112m 112 :87/d7/00\n";
|
218
|
+
print "[38;5;113m 113 :87/d7/5f\n";
|
219
|
+
print "[38;5;114m 114 :87/d7/87\n";
|
220
|
+
print "[38;5;115m 115 :87/d7/af\n";
|
221
|
+
print "[38;5;116m 116 :87/d7/d7\n";
|
222
|
+
print "[38;5;117m 117 :87/d7/ff\n";
|
223
|
+
print "[38;5;118m 118 :87/ff/00\n";
|
224
|
+
print "[38;5;119m 119 :87/ff/5f\n";
|
225
|
+
print "[38;5;120m 120 :87/ff/87\n";
|
226
|
+
print "[38;5;121m 121 :87/ff/af\n";
|
227
|
+
print "[38;5;122m 122 :87/ff/d7\n";
|
228
|
+
print "[38;5;123m 123 :87/ff/ff\n";
|
229
|
+
print "[38;5;124m 124 :af/00/00\n";
|
230
|
+
print "[38;5;125m 125 :af/00/5f\n";
|
231
|
+
print "[38;5;126m 126 :af/00/87\n";
|
232
|
+
print "[38;5;127m 127 :af/00/af\n";
|
233
|
+
print "[38;5;128m 128 :af/00/d7\n";
|
234
|
+
print "[38;5;129m 129 :af/00/ff\n";
|
235
|
+
print "[38;5;130m 130 :af/5f/00\n";
|
236
|
+
print "[38;5;131m 131 :af/5f/5f\n";
|
237
|
+
print "[38;5;132m 132 :af/5f/87\n";
|
238
|
+
print "[38;5;133m 133 :af/5f/af\n";
|
239
|
+
print "[38;5;134m 134 :af/5f/d7\n";
|
240
|
+
print "[38;5;135m 135 :af/5f/ff\n";
|
241
|
+
print "[38;5;136m 136 :af/87/00\n";
|
242
|
+
print "[38;5;137m 137 :af/87/5f\n";
|
243
|
+
print "[38;5;138m 138 :af/87/87\n";
|
244
|
+
print "[38;5;139m 139 :af/87/af\n";
|
245
|
+
print "[38;5;140m 140 :af/87/d7\n";
|
246
|
+
print "[38;5;141m 141 :af/87/ff\n";
|
247
|
+
print "[38;5;142m 142 :af/af/00\n";
|
248
|
+
print "[38;5;143m 143 :af/af/5f\n";
|
249
|
+
print "[38;5;144m 144 :af/af/87\n";
|
250
|
+
print "[38;5;145m 145 :af/af/af\n";
|
251
|
+
print "[38;5;146m 146 :af/af/d7\n";
|
252
|
+
print "[38;5;147m 147 :af/af/ff\n";
|
253
|
+
print "[38;5;148m 148 :af/d7/00\n";
|
254
|
+
print "[38;5;149m 149 :af/d7/5f\n";
|
255
|
+
print "[38;5;150m 150 :af/d7/87\n";
|
256
|
+
print "[38;5;151m 151 :af/d7/af\n";
|
257
|
+
print "[38;5;152m 152 :af/d7/d7\n";
|
258
|
+
print "[38;5;153m 153 :af/d7/ff\n";
|
259
|
+
print "[38;5;154m 154 :af/ff/00\n";
|
260
|
+
print "[38;5;155m 155 :af/ff/5f\n";
|
261
|
+
print "[38;5;156m 156 :af/ff/87\n";
|
262
|
+
print "[38;5;157m 157 :af/ff/af\n";
|
263
|
+
print "[38;5;158m 158 :af/ff/d7\n";
|
264
|
+
print "[38;5;159m 159 :af/ff/ff\n";
|
265
|
+
print "[38;5;160m 160 :d7/00/00\n";
|
266
|
+
print "[38;5;161m 161 :d7/00/5f\n";
|
267
|
+
print "[38;5;162m 162 :d7/00/87\n";
|
268
|
+
print "[38;5;163m 163 :d7/00/af\n";
|
269
|
+
print "[38;5;164m 164 :d7/00/d7\n";
|
270
|
+
print "[38;5;165m 165 :d7/00/ff\n";
|
271
|
+
print "[38;5;166m 166 :d7/5f/00\n";
|
272
|
+
print "[38;5;167m 167 :d7/5f/5f\n";
|
273
|
+
print "[38;5;168m 168 :d7/5f/87\n";
|
274
|
+
print "[38;5;169m 169 :d7/5f/af\n";
|
275
|
+
print "[38;5;170m 170 :d7/5f/d7\n";
|
276
|
+
print "[38;5;171m 171 :d7/5f/ff\n";
|
277
|
+
print "[38;5;172m 172 :d7/87/00\n";
|
278
|
+
print "[38;5;173m 173 :d7/87/5f\n";
|
279
|
+
print "[38;5;174m 174 :d7/87/87\n";
|
280
|
+
print "[38;5;175m 175 :d7/87/af\n";
|
281
|
+
print "[38;5;176m 176 :d7/87/d7\n";
|
282
|
+
print "[38;5;177m 177 :d7/87/ff\n";
|
283
|
+
print "[38;5;178m 178 :d7/af/00\n";
|
284
|
+
print "[38;5;179m 179 :d7/af/5f\n";
|
285
|
+
print "[38;5;180m 180 :d7/af/87\n";
|
286
|
+
print "[38;5;181m 181 :d7/af/af\n";
|
287
|
+
print "[38;5;182m 182 :d7/af/d7\n";
|
288
|
+
print "[38;5;183m 183 :d7/af/ff\n";
|
289
|
+
print "[38;5;184m 184 :d7/d7/00\n";
|
290
|
+
print "[38;5;185m 185 :d7/d7/5f\n";
|
291
|
+
print "[38;5;186m 186 :d7/d7/87\n";
|
292
|
+
print "[38;5;187m 187 :d7/d7/af\n";
|
293
|
+
print "[38;5;188m 188 :d7/d7/d7\n";
|
294
|
+
print "[38;5;189m 189 :d7/d7/ff\n";
|
295
|
+
print "[38;5;190m 190 :d7/ff/00\n";
|
296
|
+
print "[38;5;191m 191 :d7/ff/5f\n";
|
297
|
+
print "[38;5;192m 192 :d7/ff/87\n";
|
298
|
+
print "[38;5;193m 193 :d7/ff/af\n";
|
299
|
+
print "[38;5;194m 194 :d7/ff/d7\n";
|
300
|
+
print "[38;5;195m 195 :d7/ff/ff\n";
|
301
|
+
print "[38;5;196m 196 :ff/00/00\n";
|
302
|
+
print "[38;5;197m 197 :ff/00/5f\n";
|
303
|
+
print "[38;5;198m 198 :ff/00/87\n";
|
304
|
+
print "[38;5;199m 199 :ff/00/af\n";
|
305
|
+
print "[38;5;200m 200 :ff/00/d7\n";
|
306
|
+
print "[38;5;201m 201 :ff/00/ff\n";
|
307
|
+
print "[38;5;202m 202 :ff/5f/00\n";
|
308
|
+
print "[38;5;203m 203 :ff/5f/5f\n";
|
309
|
+
print "[38;5;204m 204 :ff/5f/87\n";
|
310
|
+
print "[38;5;205m 205 :ff/5f/af\n";
|
311
|
+
print "[38;5;206m 206 :ff/5f/d7\n";
|
312
|
+
print "[38;5;207m 207 :ff/5f/ff\n";
|
313
|
+
print "[38;5;208m 208 :ff/87/00\n";
|
314
|
+
print "[38;5;209m 209 :ff/87/5f\n";
|
315
|
+
print "[38;5;210m 210 :ff/87/87\n";
|
316
|
+
print "[38;5;211m 211 :ff/87/af\n";
|
317
|
+
print "[38;5;212m 212 :ff/87/d7\n";
|
318
|
+
print "[38;5;213m 213 :ff/87/ff\n";
|
319
|
+
print "[38;5;214m 214 :ff/af/00\n";
|
320
|
+
print "[38;5;215m 215 :ff/af/5f\n";
|
321
|
+
print "[38;5;216m 216 :ff/af/87\n";
|
322
|
+
print "[38;5;217m 217 :ff/af/af\n";
|
323
|
+
print "[38;5;218m 218 :ff/af/d7\n";
|
324
|
+
print "[38;5;219m 219 :ff/af/ff\n";
|
325
|
+
print "[38;5;220m 220 :ff/d7/00\n";
|
326
|
+
print "[38;5;221m 221 :ff/d7/5f\n";
|
327
|
+
print "[38;5;222m 222 :ff/d7/87\n";
|
328
|
+
print "[38;5;223m 223 :ff/d7/af\n";
|
329
|
+
print "[38;5;224m 224 :ff/d7/d7\n";
|
330
|
+
print "[38;5;225m 225 :ff/d7/ff\n";
|
331
|
+
print "[38;5;226m 226 :ff/ff/00\n";
|
332
|
+
print "[38;5;227m 227 :ff/ff/5f\n";
|
333
|
+
print "[38;5;228m 228 :ff/ff/87\n";
|
334
|
+
print "[38;5;229m 229 :ff/ff/af\n";
|
335
|
+
print "[38;5;230m 230 :ff/ff/d7\n";
|
336
|
+
print "[38;5;231m 231 :ff/ff/ff\n";
|
337
|
+
print "[38;5;232m 232 :08/08/08\n";
|
338
|
+
print "[38;5;233m 233 :12/12/12\n";
|
339
|
+
print "[38;5;234m 234 :1c/1c/1c\n";
|
340
|
+
print "[38;5;235m 235 :26/26/26\n";
|
341
|
+
print "[38;5;236m 236 :30/30/30\n";
|
342
|
+
print "[38;5;237m 237 :3a/3a/3a\n";
|
343
|
+
print "[38;5;238m 238 :44/44/44\n";
|
344
|
+
print "[38;5;239m 239 :4e/4e/4e\n";
|
345
|
+
print "[38;5;240m 240 :58/58/58\n";
|
346
|
+
print "[38;5;241m 241 :62/62/62\n";
|
347
|
+
print "[38;5;242m 242 :6c/6c/6c\n";
|
348
|
+
print "[38;5;243m 243 :76/76/76\n";
|
349
|
+
print "[38;5;244m 244 :80/80/80\n";
|
350
|
+
print "[38;5;245m 245 :8a/8a/8a\n";
|
351
|
+
print "[38;5;246m 246 :94/94/94\n";
|
352
|
+
print "[38;5;247m 247 :9e/9e/9e\n";
|
353
|
+
print "[38;5;248m 248 :a8/a8/a8\n";
|
354
|
+
print "[38;5;249m 249 :b2/b2/b2\n";
|
355
|
+
print "[38;5;250m 250 :bc/bc/bc\n";
|
356
|
+
print "[38;5;251m 251 :c6/c6/c6\n";
|
357
|
+
print "[38;5;252m 252 :d0/d0/d0\n";
|
358
|
+
print "[38;5;253m 253 :da/da/da\n";
|
359
|
+
print "[38;5;254m 254 :e4/e4/e4\n";
|
360
|
+
print "[38;5;255m 255 :ee/ee/ee\n";
|
361
|
+
print "\n";
|
362
|
+
print "\n";
|
363
|
+
}
|
364
|
+
print "0m";
|
365
|
+
exit;
|