Musée Nissim-de-Camondo

This museum is really a must see in Paris, it’s basically a huge mansion, built in 1911 by the Comte Moise de Camondo (rich banker). He sets off his collection of 18th century french furniture and art objects there. Both house and collections were bequeathed to “les Arts Decoratifs” in honor of his son, Nissim de Camondo, killed in the World War I.

I advice everybody to take a look at this museum, located in Paris 8th, near the Monceau Park (63 rue de Monceau, 75008 Paris). Open from Wednesday to sunday, 10am-5:30pm. You can get more informations on the officiel website of Nissim de Camondo or view some pictures on my flickr.

Nissim de Camondo

Nissim de Camondo

IBAN, BIC, Swift.. How to deal with these acronym ?

I was a little lost with all these acronyms, never know which one match with what or where to find it. So I decided to learn a little, and share!

SWIFT/BIC (Business Identifier Codes)

The SWIFT/BIC is a unique identification code for banks and other financial companies. We use these codes to transfert money between banks. The SWIFT/BIC code is 8 or 11 characters, made up of:

  • 4 letters: Institution Code or bank code (like DEUT for Deutch Bank, DABA for Danske Bank,..)
  • 2 letters: Country code (based on ISO 3166-1 alpha-2. FR for France, DE for Germany,..)
  • 2 letters or digits: location code (like BJ for Beijing, KK for Copenhagen,..)
  • 3 letters or digits: branch code, optional (‘XXX’ for primary office)

For example, for La Banque Postale at Montpellier (France):

PSST FR PP MON

IBAN (International Bank Account Number)

The IBAN was originally developed to facilitate payments within the European Union but the format is flexible enough to be applied globally and has now been adopted by many Middle Eastern countries as well as most European countries.

It should look like that (for France):

FRkk BBBB BGGG GGCC CCCC CCCC CKK

  • B = National bank code
  • G = branch code (fr:code guichet)
  • C = account No
  • K = National checks digits (fr:clé RIB)

Better now ?

Swift

Swift

Directly contact SFR hotliners

You are client from SFR, and you feel annoyed everytime you want to talk to an hotliner (900), because you need to navigate trough the menus, pressing many numbers, and spend a lot of time for nothing. I’ve got a solution for you..

First operation, call the 900 (from 7am-9pm, monday to saturday, more information on the service client). You’ll get a first automatic message, just ignore it. Then will have a question, about which number you want to edit:

  • Press 1: Change the account options from the number you’re calling from.
  • Type the phone number, then #: Change the account options from the phone number specified.

Just wait a little to get the next automatical message

  • Press 000 (3 times zero)

Just wait.. and you’ll directly talk with an hotliner from SFR.. This solution is a way faster than traditional process from menus.

SFR

SFR

Using htpasswd with shell_exec in PHP

I tried to create a PHP script which will update my password file, using the Unix command “htpasswd”:

$out = shell_exec(“htpasswd -b myfile TEST AA”);
echo “<pre>$out</pre>”;

Problem was.. I never get any messages in the $out. This only come from the htpasswd, which only output on the STDERR. To solve that, just redirect the STDERR on the STDOUT with 2>&1:

$out = shell_exec(“htpasswd -b myfile TEST AA 2>&1“);
echo “<pre>$out</pre>”;

Reset your MySQL root password

I had a MySQL server, and.. I forgot the root password. Inside have some “important” datas, so I found a solution to reset your root password and get back your datas.

First, we should stop the MySQL server:

/etc/init.d/mysql stop

Then start the server with special options (Don’t forget the “&” at the end, to start the server in background):

/usr/bin/mysqld_safe –skip-grant-tables –skip-networking &

Connect to the server in client:

mysql mysql

Now, the most important, change the root password:

UPDATE user SET password=PASSWORD(‘Mysuperpassword’) WHERE User=”root” AND Host=”localhost”;

We just need to close the connection, close the server. and relaunch the server in “normal mode”:

mysqladmin shutdown
/etc/init.d/mysql start

And.. it’s fine, you can use again your root user, with the new password :-)

MySQL

MySQL

C’est quoi .. la Loi Carrez ?

Cela faisait déjà plusieurs fois que je voyais ce terme, j’ai donc décidé de chercher un peu sur le sujet.. La loi Carrez (venant de.. M. Gilles Carrez!) est une loi visant à mentionner la superficie dans tous les documents liés à la vente d’un lot (ou fraction) d’une copropriété.

La surface privative, aussi nommé “superficie Carrez“, diffère souvent de la surface au sol basique, car elle est calculée selon des règles précises. Elle  correspond à la superficie au sol, moins les surfaces occupées par les murs, cloisons, escaliers, et des parties d’une hauteur inférieure à 1,80m. Tout ce qui est caves, garages, boxes ou greniers non aménageables non sont pas inclus.

Du coté juridique, si la superficie réelle est inférieure de plus de 5% à celle inscrite sur l’acte de vente, l’acheteur peu demander une diminution de prix proportionnelle à la superficie déclarée en trop..

Si vous voulez aller plus loin, n’hésitez pas à lire le texte officiel de la Loi n°96-1107 du 18 décembre 1996 améliorant la protection des acquéreurs de lots de copropriété sur le site Légifrance.

Vieux plan

Vieux plan

Be smarter everytime you open your browser..

Because most of people don’t have general culture.. this is a little something, can help you to be smarter everytime you open your browser. Just change your homepage to the random article page of wikipedia..

French: http://fr.wikipedia.org/wiki/Sp%C3%A9cial:Page_au_hasard
English: http://en.wikipedia.org/wiki/Special:Random

Wikipedia

Wikipedia

Next Page »