ashtophet.org | scripts
Main| Scripts | Patches | Screenshots | Misc | Euskara
Documentation when available from this website (either in its HTML format or in its Org format) is licensed under the GNU Free Documentation License version 1.3 or later. The scripts and config files are licensed under the GNU General Public License v3 or later, unless otherwise noted.
If you find something useful here, please take your time to give some feedback (comments on code, functionality, annonyances, etc.): ashtophet (AT) ashtophet (DOT) org.
Table of Contents
XMMS2
xmms2lyrics-1.4
Description
This awful shell script fetches lyrics from current xmms2 playing track. It saves the lyrics and it's able to load previously saved ones. It's based on mpdlyrics (not used anymore).
Dependencies
- common unix tools1.
- elinks.
- gunzip.
ChangeLog
2011/02/11: 1.4
- Bypassing Google's (Don't be evil????) new way of screwing things (thanks curl).
- Searches more depurated when genre is "Euskara".
- Additional function to fetch lyrics from lyricwiki (not used currently).
2010/12/18: 1.3
- Using RCS.
- Changed version numbering scheme.
- Optimized code: file -b –mime-type.
Download
xmms2wiki-1.2
Description
Just another awful shell script. It fetches artist's wikipedia info for current xmms2 playing track. It may save or not the result. Based on mpdwiki (not used anymore).
Dependencies
- common unix tools1.
- w3m.
- gunzip.
ChangeLog
2010/12/18: 1.2
- Using RCS.
- Changed version numbering scheme.
- Optimized code: file -b –mime-type.
Download
xmms2randomalbum-1.3
Description
Hackish shell script that adds a random album to a dedicated xmms2 playlist. To be deprecated as soon as it's available "natively" on xmms2.
Dependencies
- common unix tools1.
- sqlite3.
ChangeLog
2010/12/18: 1.3
- Using RCS.
- Changed version numbering scheme.
Download
xmms2rnd-1.3
Description
Hackish shell script that adds a random album from chosen artist to a dedicated xmms2 playlist. To be deprecated as soon as it's available "natively" on xmms2.
Dependencies
- common unix tools1.
ChangeLog
2010/12/18: 1.3
- Using RCS.
- Changed version numbering scheme.
Download
xmms2rating-1.2
Description
Shell script aimed to rate current xmms2 track. Written to be used with fvwm2 config.
Dependencies
- common unix tools1.
- dialog.
ChangeLog
2010/12/18: 1.2
- Using RCS.
- Changed version numbering scheme.
Download
LAW
boe-1.5 && boecron-1.4
Description.
Two versions: a) Shell script that fetches daily B.O.E. summary. It stores it on $TMP. b) Shell script that loads BOE summary or, if not present in $TMP, fetches it. To be used with some kind of job scheduling system (here: fcron, 0 8 * * 1-6).
Dependencies.
- common unix tools1.
- MTA (cron script).
- wget.
ChangeLog
2011/02/10: 1.5 and 1.4
- Minor: dealing with BOE fetching on Sunday or non labourable day.
2011/01/01: 1.3 and 1.4
- Rewritten script: not relying on boenum hack anymore.
- All tmp stuff belong to $TMP.
2010/12/18: 1.2 and 1.3
- Using RCS.
- Changed version numbering scheme.
2009-01-01: 0.0.2
- Adapted to BO
Downloads
jurisprudencia-1.6
Description
Shell scripts that interacts with CENDOJ database from Spanish Kingdom Supreme Court:
- Shows last Sentences from CIVIL, PENAL, CONTENCIOSO-ADMINISTRATIVO, SOCIAL and ESPECIAL.
- Rudimentary search function (from-date to-date + jurisdiction).
- If you want to, saves PDF with a descriptive name. It will be able to catch this result on future searches.
Dependencies
- common unix tools1.
- wget.
- PDF reader (xpdf, mupdf, okular, evince, etc.). Default: xpdf.
- Optionally when on tty: fbgs or GNU Emacs (pdf2txt). Default: pdf2txt + GNU Emacs.
ChangeLog
2010/12/18: 1.6
- Really fixed fixed version string.
2010/12/18: 1.5
- Fixed fixed version string.
2010/12/18: 1.4
- Using RCS.
- Changed version numbering scheme.
2010/09/28: 0.0.7
- Allow searches gt 1980 (verifydate function).
- Corrected uncompensated printf message.
- When on vc, temporary text file name is unique (adding ${REFERENCE}). Closes bug #06.
Download
LANGUAGES
rae-1.2
Description
Shell script that searches definition of provided word at DRAE and saves it. Language: spanish.
Dependencies
- common unix tools1.
- w3m.
ChangeLog
2010/12/18: 1.2
- Using RCS.
- Changed version numbering scheme.
Download
agal-1.2
Description
Shell script that searches definition of provided word at e-Estraviz and saves it. Language: galego/galician.
Dependencies
- common unix tools1.
- lynx.
ChangeLog
2010/12/18: 1.2
- Using RCS.
- Changed version numbering scheme.
Download
hiztegia-1.4
Description
Shell script that searches definition of provided word at Hiztegia 3000 and saves it. It can do euskara-spanish (default) or spanish-euskara. Language: euskara/basque.
Dependencies
- common unix tools1.
- lynx.
ChangeLog
2010/12/18: 1.4
- Using RCS.
- Changed version numbering scheme.
Download
gaurkohitza-1.2
Description
Shell script that fetches euskaljakintza.com gaurko hitza (word of the day), saves it and mails it to local user. Language: euskara/basque. To be used daily with some kind of job scheduling system (here: fcron).
Dependencies
- common unix tools1.
- w3m.
- MTA. Here I'm using mailx.
ChangeLog
2010/12/18: 1.2
- Using RCS.
- Changed version numbering scheme.
Download
Footnotes:
Date: 2011-02-11 18:17:10 CET
HTML generated by org-mode 7.4 in emacs 23