Index ¦ Archives ¦ RSS > Category: hacking ¦ RSS

Siwenna @ digg

Estimated read time: 1 minutes

Mark Angeli submitted our release notice to digg: dvd, cds

smartctl && hdd temperature

Estimated read time: 1 minutes

here is a small cmdline to query the temperature of a hdd using smartctl: smartctl -a /dev/hdc|grep Celsius|sed 's/.* \([0-9]*\)$/\1/'

pacman -> libalpm migration

Estimated read time: 1 minutes


vpn mini howto

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 :)


yet another cheap bash trick

Estimated read time: 1 minutes

#!/bin/bash

foo() { true }

if declare -f foo >/dev/null; then echo "foo() declared" else echo "foo() is not declared" fi


reverse deps and browse by groups on the packages page

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


fwmirror

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? :)


darcs mailer/cia script improvements

Estimated read time: 1 minutes

the xml that is sent to cia now contains darcsweb urls for the patches, the messages sent to frugalware-darcs, too :)

spam filter / graph update

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 "unset wait_key\n\ bogofilter -Ns;date +%y%m%d >>~/public_html/stats/spam_s\n\ set wait_key\n\ "

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


mysql split

Estimated read time: 1 minutes

yesterday i've splitted mysql to mysql and libmysqlclient. hopefully this will mean that several apps that depended till now on the whole (30mb-sized) mysql, now can only depend on libmysqlclient (2mb-sized or so) :)

© Miklos Vajna. Built using Pelican. Theme by Giulio Fidente on github.