Username Password : Remember?

Sharedlog development

Announcements and articles about this site development and stuff

Blog Post
Sun May 3 2009

In Fedora Core and RedHat Enterprise, edit /etc/selinux/config and you will see some lines like this:


# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=enforcing
# SELINUXTYPE= can take one of these two values:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted
... just change SELINUX=enforcing to SELINUX=permissive, and you're done.
Sat May 2 2009

Moved to another server
amen
Sat May 2 2009

In order for post-commit hook to auto-update the directory (for example the htdocs), that directory must be a working svn copy and NOT just a regular directory!

This means that you should not use svn export for copying from svn to htdocs, but instead use
ONLY svn checkout file:///path/to/svn/trunk /path/to/htdocs

Important to use the trunk in the path, otherwise all the branches will be checked out.
Thu Apr 30 2009

testing a post of type announcement OK, now editing weight to 5
Thu Apr 30 2009

A sticky thread with weight of 5
Thu Apr 30 2009

Don't be a schmuck, if you use an open source software
and find a bug, alwasy file a bug report
with the software maker.

This is the lease you can do to contribute to open source community.
Sat Apr 25 2009

The SASL authentication cannot be used
if passwords are stored hashed!

The purpose of SASL is to NOT send passwords in plain text format
while the purpose of storing passwords in hashes (using salt for more security)
is to NOT store passwords in plaintext.

So these two methods will NOT work together. The only way to have the 'best of both worlds' is to
store the passwords encrypted instead of hashed, so that they can be decrypted.

For that the mcrypt (preferred) or ssh can be used.

Thu Apr 23 2009

For most situations, once you switch "private" to "protected" you get
the best of both worlds.  It becomes impossible to call a method from
outside the class hierarchy, but you can still extend the class and
override the method, which allows testing to work simply via a mock.
For instance:

class MyMock extends Fancy_Class
{
   public function whatever()
   {
       return parent::whatever();
   }
Mon Apr 20 2009

post with non-image attachment
Mon Apr 20 2009

Can I post something with attachment here?
1 | 2 | 3 | 4 | 5  Next >  [24]