Maëlle qui mange!

November 5th, 2011

C’est la première fois que Maëlle mange toute seule avec une cuillère :)

Hackintosh Installation

September 18th, 2011

After more than two days of tinkering, here’s my recipe for a clean Mac OS X Lion 10.7.1 hackintosh install.

Hardware:

ASUS P8H67-M LX REV3.0 mATX
Intel Core i5 2500K Quad Core (Sandy Bridge)
Corsair CMZ8GX3M2A1600C9 Vengeance 8GB 2X4GB DDR3-1600 Memory

As you can see, I used the integrated graphics card (Intel Graphics HD 3000).

Requirements:

  • 1 8GB+ usb key
  • Purchased Mac OS X Lion 10.7.1 DMG
  • Kakewalk 4.1.0 (http://www.kakewalk.se/download/)
  • rBoot 1.0.0 (http://www.tonymacx86.com/viewforum.php?f=125)
  • Multibeast 4.0.2 (http://www.tonymacx86.com/viewforum.php?f=125)
  • Chameleon 2.0 RC5 (http://tonymacx86.blogspot.com/2010/02/chameleon-rc5-prerelease-installer.html)

Steps:

  1. Burn the rBoot 1.0.0 iso to a CD or DVD.
  2. Format your usb key using the Disk Utilities application. Put 1 Mac OS X Extended (journaled) partition.
  3. Run Kakewalk 4.1.0 and:
    1. Choose “Install to USB stick”.
    2. Browse for your Lion installation application.
    3. Choose “Gigabyte H67M-D2-B3″ as the motherboard.
    4. Choose your newly formatted USB key volume.
    5. Click “Create”.
  4. Browse your USB key (now named Kakewalk) and go to the Extra/ directory.
  5. Rename the “DSDT.aml” file to “DSDT.aml.old”.
  6. Copy the “DSTD.aml” file provided with this post to the Extra/ directory.
  7. Boot your USB key on the machine you want to install Lion and install.
  8. After the install, boot your new Lion install using the rBoot 1.0.0 CD.
  9. Install Multibeast 4.0.2 and Chameleon 2.0 RC5.
  10. Remove all USB keys and CDs and reboot.
  11. Enjoy!
À propos de ce Mac

À propos de ce Mac

Download the DSTD.aml file here.

Promenade d’été à Saint-Alban

July 3rd, 2011

Extract RPM content

June 21st, 2011

To extract the content of a RPM package to the current directory, use the following command:

user@computer:$ rpm2cpio filename.rpm | cpio -idmv

MySQL table status

June 8th, 2011

I did not find a way to check all of MySQL’s table status so I wrote a small script to do so and repair those which are not reported as OK. This script generates some warning but seems to do the job.

PASS=...
for database in `echo "show databases;" | mysql -uroot -p$PASS | fgrep -v Database`; do
    echo $database
    for table in `echo "use $database; show tables;" | mysql -uroot -p$PASS | fgrep -v Tables_`; do
        echo "check table $database.$table" | mysql -uroot -p$PASS | fgrep -v Table;
    done
done > output.txt

for table in `cat output.txt | egrep -v "OK$" | awk '{print $1}' | egrep ".*\..*" | fgrep -v information_schema`; do
    echo "repair table $table;" | mysql -uroot -p$PASS;
done

Une marmotte

May 24th, 2011

Louise-Anne a surprise une marmotte ce matin devant la porte du garage!

Slow Mac OS X 10.6

May 19th, 2011

If you find your Mac OS X 10.6 to be slow, check the Activity Monitor to look at the “mds” process. In my case, it was using 1.2GB of ram. This is the indexing daemon for the Spotlight program. If you don’t use Spotlight, you can disable this “feature” using the following command:

user@computer:$ sudo mdutil -a -i off

Longes de porc au BBQ

May 11th, 2011

Ingrédients

  • 2 longes de porc frais
  • Moutarde de Dijon
  • Huile de sésame
  • Cassonade
  • Sel & Poivre

Instructions

  1. Préparez la marinade en mélangeant la moutarde de Dijon, l’huile de sésame, la cassonade, le sel et le poivre dans un plat de plastique.
  2. Déposez les longes de porc et enrobez-les avec la marinade.
  3. Laissez mariner quelques heures au réfrigérateur.
  4. Préchauffez votre BBQ.
  5. Cuire 4 minutes de chaque côté (4 côtés).
  6. Laissez reposer quelques minutes avant de servir.

Maëlle lors de ses 6 mois

April 20th, 2011

Merging PDF files

April 17th, 2011

To merge a couple of PDF files together, use the following command:

root@macosx:$ gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=output.pdf -dBATCH file1.pdf file2.pdf ...