Alois Mahdal
436009dc71
Move file reading outside limit function
Makes it easier to see explicitly how date is obtained.
As a bous, it will be also easier to parametrize limits.
il y a 9 ans
Alois Mahdal
640cf6b2a9
Add support for reading from file
Hard-coded limits are 3 lines and 80 chars per line. Empty lines are
ignored (not counted to the limit).
File can be '-' for standard input
il y a 9 ans
Alois Mahdal
1ad2a096a2
Add IRC notificationn helper
il y a 9 ans
Alois Mahdal
d7f92eb618
Add expect filetype
il y a 9 ans
Alois Mahdal
77f26611a7
Fortify against space in ffoo install path
like if someone's ever going to do it, right...?
("C:\Program Files\fastfoo" ... ugh...)
il y a 9 ans
Alois Mahdal
086412c6a3
Add Fastfoo template for bash
il y a 9 ans
Alois Mahdal
ef0e500332
Fortify against missing purpose
(Humanity could use that)
il y a 10 ans
Alois Mahdal
1cf703e750
Avoid useless warning if purpose was not provided
il y a 10 ans
Alois Mahdal
18141bd1ab
Fix double declaration
il y a 10 ans
Alois Mahdal
3cf0628080
Update usage line
il y a 10 ans
Alois Mahdal
c477c6a043
Change default munber of translations to 20
il y a 10 ans
Alois Mahdal
7c4460713c
Update and clean up docs
More truth, less BS.
il y a 10 ans
Alois Mahdal
6f2b660b7f
Do not edit the file by default
This also means -E is useless
il y a 10 ans
Alois Mahdal
f28c1ebb31
Fix whitespace error in template
il y a 10 ans
Alois Mahdal
f8cb2b28af
Implement purpose-based templates
il y a 10 ans
Alois Mahdal
93bf2c3b4e
Do not launch editor by default
il y a 10 ans
Alois Mahdal
3bb78fb7ea
Better way to parse args
il y a 10 ans
Alois Mahdal
19c9f65823
Create shell script by default
il y a 10 ans
Alois Mahdal
0b7a973dbe
List tests by Nose for Nose
il y a 10 ans
Alois Mahdal
0c26d2e015
Use conservative paths to shell bins
il y a 10 ans
Alois Mahdal
15927055a1
Naively quote original vim arguments
We assume no std* / fd* hocus-pocus
il y a 11 ans
Alois Mahdal
0fefbd0721
Revert stamps even if vim failed
il y a 11 ans
Alois Mahdal
bad26a7836
Changed to filter-like (stdin/stdout) behavior
il y a 11 ans
Alois Mahdal
9a425471a1
Typo in examples
il y a 11 ans
Alois Mahdal
cf707b10d3
Added doc for pfile
il y a 11 ans
Alois Mahdal
ffc39d93c2
Added doc for bin/vim-bx
il y a 11 ans
Alois Mahdal
530d460686
Sorted items in README alphabetically
il y a 11 ans
Alois Mahdal
059711b4c8
Updated README after bin rename (5fd60d8)
il y a 11 ans
Alois Mahdal
e06f8326bf
Added pfile: store STDIN in a temporary file and pass it to `file`
il y a 11 ans
Alois Mahdal
869be33810
Added vim-bx, a vim wrapper for bloxsom-like scenarios.
If the edited path matches certain pattern, timestamp is saved and
restored after the edit.
il y a 11 ans
Alois Mahdal
5fd60d83e6
Do not use filename extensions in bin/
They are unnecessary, distracting and cause ugliness on command line.
il y a 11 ans
Alois Mahdal
b708dccea7
Do a backup when forcing new file
il y a 11 ans
Alois Mahdal
ca04c32a8d
Updated with info about passing callable
il y a 11 ans
Alois Mahdal
673022df4b
Updated to mention the Python API
il y a 11 ans
Alois Mahdal
fbdde0a4b5
Allow passing subroutine/function instead of i or tag.
If callable is passed, it will be called (without arguments) and
the value will be used instead.
il y a 11 ans
Alois Mahdal
99177ff35b
Fixed typo
il y a 11 ans
Alois Mahdal
3c1ec1e9e0
Made Python module more pythonic
il y a 11 ans
Alois Mahdal
c639e765db
Updated usage line with -f flag
il y a 11 ans
Alois Mahdal
3514311b53
Fixed case of /0+/ filename
il y a 11 ans
Alois Mahdal
c07ffdfc42
Merge branch 'master' of github.com:AloisMahdal/minions
il y a 11 ans
Alois Mahdal
0e3d4a12ab
Vertical beautification
il y a 11 ans
Alois Mahdal
30149d7058
Added -f argument to force file creation (rewrite)
il y a 11 ans
Alois Mahdal
91b7fe20d2
Grammar
il y a 11 ans
Alois Mahdal
a328abc2c7
Typo
il y a 11 ans
Alois Mahdal
09b972cb9b
Fixed up markup
il y a 11 ans
Alois Mahdal
8f24cb46d4
Updated doc according to --long option (56efdff)
il y a 11 ans
Alois Mahdal
c5f065fc38
Confiured for log rotation using logrotate
il y a 11 ans
Alois Mahdal
56efdffc37
Implemented --long
Warning: now short for `--lines` is `-n`, not `-l`, which is taken by
`--long`. The idea is to make it resemble `-l` in `-ls -l` (although
the real meaning for `ls` is somewhat different).
il y a 11 ans
Alois Mahdal
c3eb2b22c1
Added TODO
il y a 11 ans
Alois Mahdal
8c86bee78b
Disable keepalive
Which causes problems when our trivial loggers are used
where delay between messages cannot be predicted (e.g. testing)
il y a 11 ans