Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
smartctl -a /dev/hdc|grep Celsius|sed 's/.* \([0-9]*\)$/\1/'
Estimated read time: 1 minutes
till now the download code was in pacman's code which was meant that every frontend had to have its own downlaad code - causing a big code duplication. today i've pushed 15 patches to the pacman darcs repo which moved this functionality finally to the library :)
the patches:
- new event: PM_TRANS_EVT_RETRIEVE_LOCAL
- pm_dlfnm can be a simple char *
- pre-register databases to avoid code duplication
- pacman: use the libalpm downloader code, drop our own
- util: link to libftp, too
- _alpm_sync_commit(): download the packages, too
- alpm_db_getinfo(): strip the newlines from the end of lines
- alpm_db_getinfo(): added a PM_DB_FIRSTSERVER property
- alpm_db_update() now handles downloading, too
- libalpm: moved in _alpm_db_setlastupdate() and _alpm_db_getlastupdate()
- _alpm_fetch_pkgurl(): added the usual _alpm prefix
- _alpm_handle_set_option() more error handling for proxyhost and xfercommand
- handle_free() memleak fixes
- libalpm: new function: alpm_fetch_pkgurl()
- libalpm: moved in the download code
Estimated read time: 1 minutes
i was hired to create a vpn between 2 frugal machines, alwas i was asked to share the results. so here they came.
NOTE: i'm not a vpn genious, nor want to write yet another "the best" howto. just the brief story of the vpn setup under Frugalware
you can reach it here, feel free to improve it :)
Estimated read time: 1 minutes
#!/bin/bashfoo() { true }
if declare -f foo >/dev/null; then echo "foo() declared" else echo "foo() is not declared" fi
Estimated read time: 1 minutes
that's all from the user's point of view, internally the whole package-to-sqldb script is redesigned and the sql db itself, too.
examples: reverse deps, browse by group
the new db updater here
Estimated read time: 1 minutes
today's project is fwmirror, a handy tool to mirror Frugalware archives. basically it handles the followings:
- it needs a server, if you want the newest stuff and don't care about being slow, then you need "rsync://rsync.frugalware.org/pub/frugalware/"
- it handles different Frugalware versions (NOTE: since -current has a new structure, versions other than -current will be supported by fwmirror only after 0.5)
- it handles different architectures, including the special "source" one
- it allows you to pass any custom options to rsync
ok, not a big deal, but useful, isn't it? :)
Estimated read time: 1 minutes
Estimated read time: 1 minutes
1) managed to prevent mutt from asking for confirmation before passing a mail to bogofilter + now it deletes the message automatically
macro index S "
2) improved the generated graph: now there are two ones: filtered and unfiltered
3) added an avarage number to both graph
darcs repo still available here