my utilities,
free for download and use!
if you improve it, or find serious bugs, please tell me - makorepolaazazel, which is in yahoo.com.
A Dictionary for translating languages (or anything, actually).
The data is SQLite-database file, how simple :-)
Currently it's Text-Only (console mode).
Features:
- switch translation direction on the fly
- look for words without diacritic marks ("naked") for easy input.
- partial word translation.
I.E: if it won't find a word, it will look for shorter versions.
- Add new entries yourself from the interactive interface
- multi platform (didnt try on mac yet)
- freely query your database using SQL from the interactive interface!
- interactive mode, or..
- command line word match (under construction)
- entire file translation (don't expect miractles)
- since it's based on SQLite, any feature of sqlite can be easily embedded in the program (e.g. HTML output, soundex, CSV import-export...)
dictionaries:
Currently, i have english-polish,
english-english
german-english
(not included yet, but free. i need a real webhost for this!)
files needed(yuck):
recover meaningful text from hd-dump using heuristics.
that is, it's good if you formatted your drive, or crashed your partition table, whichever worked 4u :-)
smart multi rename utility, with recursion over directories, change case, and more. os independant, user friendly.
USAGE:
renamer.py [-r] path function ["old" "new" | 'text' | 'target_dir']
WHERE:
-r recursively walk thru directory tree
path could be file or path
function can be one of these:
lowercase render all LeTtErS to lower case
uppercase render all LeTtErS to UPPER CASE
capitalize capitalize_first_letter
alphanum rename to digits and leters only
start_with add 'text' to the start of the name
end_with add 'text' to the end of the name
move create & move file to directory:
for the file: "first part - second mart.ext"
create dir "first part"
move file to "first part"
replace replace all occurenses of 'old' -> 'new'
for example: replace "_" " "
"mati_caspi_-_momo" -> "mati caspi - momo"
allin1 put all files in one directory, 'target-dir'
create 'target-dir' if not exist
replaces strings in text files. very simple and rich. can recurse dir, save backups, use regular expressions with back-reference, search & display snippet results (like grep but different output format), and so forth.
can treat plain text, hex codes, or ascii codes as well.
replacer.py replaces strings in text files.
a recursive grep, too
usage:
replacer.py [--old='text to find'] [--new='replacemnt']
[--ignore] [--verbose] [--recursive] [--regex]
[--hex] [--ascii] [--include=]
[--exclude=] [--file=]
[--nobackup] [--search='text to find']
description:
might be: file name to search,
directory name (all files in it are searched)
- (minus sign) for a list of files from STDIN
eg: ls /path/*.txt | replacer -
? (question mark) for interactive session
--recursive (-r) all dir and sub-dirs are looked, too
--case (-c) case SENSITIVE. default is iNSenSiTiVE.
--regex (-R) use regular expressions in search.
Backslash are processed, eg. "\\n" is newline
Backreferences ("\\6"), are replaced with
substring match by (sixth) group found in OLD.
Grouping is done with (), eg: "b+(fu).b(ar)"
--search= (-s) Only search and display matching snippet.
Do not write anything to disk or files.
--nobackup (-b) DO NOT save backup of changed file
--include= (-i) include only these files from comma-separated list,
e.g.: --include="*.bak,george.doc,*.zip"
--exclude= (-e) comma-separated files to exclude from list
default is "*.bak"
--old= (-o) the old string to match
--old=@filename read old string from filename, if exists
--new= (-n) the new replacing string.
--new=@filename read new string from filename, if exists
--hex (-x) hexadecimal (comma delimited pairs).
e.g.: replacer -x --new=FF,A2,7D,09
--ascii (-a) ascii-code (comma delimited).
e.g.: replacer -c --new=25q,12,129,6
--verbose (-v) show progress
--margin=n (-m) show n letters before/after found text
--interactive interactive mode
--file= (-f) an additional file to be processed
simple locate, for terribly weak computers, like my zaurus.
instead of running a full database i just put a plaintext file (bz2 compressed), list all files on the computer (even look into archived zip/tar.gz/ipk/bz2 files!), and the use "locate" to grep them
uses also which isn't yet here at the moment :-(
for now, do bzcat /home/index.bz2 | grep $1 | less -pX "$1"
python equivalent to zip archiver, in case you dont have the binary for some reason. no extract (yet)
t-filter.
produces flat, clean, neto html from t..z files (including search results,articles,etc). goes for all files in directory tree. saves even tab delimited files for use in db
read text, html files, and give back unique word list