Thursday, November 29, 2007

Links

http://www.google.com/renewableenergy http://mozy.com SilverStripe CMS Universal Digital Library

Tuesday, November 08, 2005

PHP regex for e-mail address validation

^[_a-z0-9\.-]+@([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,4}$

Tuesday, October 11, 2005

The C Programming Language, 2nd Edition

The C Programming Language, 2nd Edition

http://cm.bell-labs.com/cm/cs/cbook

C++ Annotations

This document is intended for knowledgeable users of C (or any other language using a C-like grammar, like Perl or Java) who would like to know more about or make the transition to C++.
http://www.icce.rug.nl/documents/cplusplus

Monday, August 01, 2005

More ebooks

http://www.modestus.org/ftp/ftp.php

Saturday, May 07, 2005

Big ebooks site

http://ebuki.apvs.ru

Note: to download books you'll need to use Russian proxy server. Some you can find here: http://www.checker.freeproxy.ru/checker/last_checked_proxies.php

Friday, May 06, 2005

O'Reilly CD Bookshelves

A little bit old, but still may be helpful. Free online accessible O'Reilly CD Bookshelves includes the following:

  • The Java Reference Library, version 1.3
  • The Java Enterprise CD Bookshelf, Version 1.0
  • The Perl CD Bookshelf, version 1.0
  • The Perl CD Bookshelf, version 2.0
  • The Networking CD Bookshelf, version 1.0
  • The Networking CD Bookshelf, Version 2.0
  • The UNIX CD Bookshelf, version 1.0
  • Web Developer's Library
  • The Oracle PL/SQL CD Bookshelf, version 1.0
  • The Linux Web server CD Bookshelf, version 1.0
  • Using Samba

Thursday, May 05, 2005

More on RMI

Here's the tip how to manage Java security without creating the file policy.txt and without the java command line argument -Djava.security.policy=policy.txt. Just use this anonymous inner class when setting security manager:

System.setSecurityManager(new RMISecurityManager() {
    public void checkConnect(String host, int port) {}
    public void checkConnect(String host, int port, Object context) {}
});

Update: this trick doesn't work if you will use Java RMI for dynamic code downloading (using the java.rmi.server.codebase property), so stick with the command line argument -Djava.security.policy=policy.txt approach.

Update 2: if you'll use the following security manager it will work with dynamic code download:

System.setSecurityManager(new RMISecurityManager() {
    public void checkPermission(java.security.Permission perm) {}
});

Feel free to post your questions or comments.