This is my public site where I share my notes on various topics (mostly IT)

Securing Drupal on Apache

Some very intresting articles about securing up Drupal running over Apache.

How to easily create a SSL certificate and configure it in Apache2 in Mac OS X?

For development purpose, or private production use, a self-signed certificate is adequate and can save you a few bucks.
The OpennSSL kit will allow you to generate a certificate following the next steps.

Ant can't build Flex application

After modifying few files in a flex project developed externally I wasn't able to complete building process with Ant in Eclipse.
This note can save you (almost) a day.

A fancy console

How to get a fancy console with colored directories and files. Just edit you .bash_profile file and add a few lines.

Tree command for Mac OS

For documentation purpose I needed today to display a sort of text representation of directories and their structure.

Reset mysql root account

The procedure finally is quite simple :

1- Stop process
2- Restart demon with special flag
3- modify user table
4- Restart demon with normal options

Connect to Active Directory shared directories from Mac OS X Snow Leopard

Today I've just spent some minutes to join my company Active Directory domain from my MacBook Pro running on snow Leopard.
The goal was just to add shared directories and not to use Active Directory to log on my Mac.

First of all you need to enable the Active Directory support. Go to Preferences>Account and click on the Login Options. Enable modification with administrative credentials and open "Server account network" options. Do not enter a server name but open "Utility Directory" enable "Active Directory".

Now your mac is ready to join the Active directory domain.

Symfony install hints. Modify php.ini from apache files

If you don't have access to your php.ini or you won't modify it because shared on multiple sites you can easily overwrite the value by using the apache site configuration file.

For example for short_open_tag and magic_quotes you can use in your .conf file (/etc/apache2/sites-available) the following directives:


php_flag short_open_tag off
php_admin_flag magic_quotes_gpc off

For PHP APC install follow this tutorial
http://baheyeldin.com/technology/linux/installing-php-apc-on-ubuntu-dapp...

Some more settings for php/mysql

Setting up socket conenction for let comunicate PHP with Mysql in Mac OS X.

Flex Component CSS selectors List

Flex Components and Classes

The complete list css class and css selectors applicable to flex component.
Shown selectors in this page are not exahustive, if you need all selectors for a class go to Flex 3 Language reference search for your class on left menus. Once in the class documentation select "Styles" and be sure to click on "Show inherited Styles".

Syndicate content