Name: Qi Yong
Member since: 2004-04-06 07:32:29
Last Login: 2009-06-25 02:14:01
Homepage: http://users.sosdg.org/~qiyong/
Notes: A Linux kernel developer, Solaris driver developer and Linux/FreeBSD system administrator.
6 May 2009 (updated 6 May 2009 at 08:31 UTC) »
6 May 2009 (updated 4 Jun 2009 at 08:04 UTC) »
vsftpd.conf options:
use_localtime=YES
hide_ids=YES
hide_file={lost+found,foo}
deny_file={lost+found,foo}
smb.conf options:
interfaces = eth0 bind interfaces only = yes hosts allow = 192.168.1. hide files = /lost+found/foo/
6 May 2009 (updated 6 May 2009 at 08:13 UTC) »
use POSIX;
my $date = "2009-05-06";
my @d = split "-", $date;
my $week_of_year = strftime("%W", localtime
mktime(0,0,0,$d[2],$d[1]-1,$d[0]-1900));
print $week_of_year, "\n";
5 Jun 2008 (updated 5 Jun 2008 at 07:34 UTC) »
In main.cf,
virtual_alias_domains = domain.tld virtual_alias_maps = mysql:/etc/postfix/mysql-alias-maps.cf
In mysql-alias-maps.cf, use either '%s' to do a full match or '%u' with a 'domain = domain.tld'.
26 May 2008 (updated 27 May 2008 at 08:59 UTC) »
/etc/apache2/sites-available/foo <VirtualHost *> RedirectMatch 404 .*/\.svn(/|$) </VirtualHost>
$ cd /var/ $ tar zcf /tmp/foo-src.tar.gz www-foo \ --exclude=www-foo/htdocs/photos --exclude=... $ cd /tmp $ newgrp www-data $ tar zxf foo-src.tar.gz $ exit $ svnadmin create /srv/scm/www-foo $ svn import www-foo file:///srv/scm/www-foo
$ cd $ svn co file:///srv/scm/www-foo $ cd www-foo $ find . -name .svn | xargs tar zcf /tmp/foo-svn.tar.gz $ cd /var/www-foo $ tar zxf /tmp/foo-svn.tar
$ rm -rf /tmp/www-foo $ rm /tmp/foo-src.tar.gz /tmp/foo-svn.tar.gz
$ newgrp www-data $ umask 27 ... $ exit
coywolf certified others as follows:
Others have certified coywolf as follows:
[ Certification disabled because you're not logged in. ]
FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.
Keep up with the latest Advogato features by reading the Advogato status blog.
If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!