Articles

Affichage des articles du 2013

Reminder : Mdadm commands

I'll try to sum up here everyday needed commands with mdadm. Of course, you'll need to replace partitions letters and numbers by yours. Every line is a different command and require root privileges. Install raid manager (mdadm) on Debian based distros (Ubuntu, Linux Mint...)  apt-get install mdadm Create a new raid with all disks presents  mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1 Create a new raid with only one present (use it to migrate a single drive to a raid : first create the raid with one disk, copy data, complete the raid with the second disk)  mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sda1   Get a quick overview of raids running on the system   cat /proc/mdstat  Get full details of a raid   mdadm --detail /dev/md0 Assemble an existing raid with all disks presents  mknod /dev/md0 b 9 0  mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 Assemble a 2-disks raid with only one present

Calendrier google des jours fériés

Ayant cherché un moment, je n'ai trouvé aucun calendrier à importer pour me donner les jours fériés en Alsace Moselle ! J'ai donc créer ce calendrier public qui recensent les 26 décembre et les vendredis saints. Il vous suffit d'importer le calendrier suivant : https://www.google.com/calendar/ical/qaer9j4cm84g0i2g8onli2ch2c%40group.calendar.google.com/public/basic.ics De même, le calendrier proposé pour les jours fériés français est loin d'être parfait. Certains jours sont faux (comme Pâques qui n'a jamais été un jour férié) mais même certaines dates passées dont fausses. De plus, le calendrier ne va pas très loin dans le futur. J'ai donc recréer un calendrier qui reprend tous les jours fériés depuis longtemps et jusqu'à longtemps ! Voici l'URL : https://www.google.com/calendar/ical/k0al2s95erpv0jja5grpppvr0o%40group.calendar.google.com/public/basic.ics Si vous souhaitez aussi visualiser les week-end, ce calendrier les liste tous : http

Eclipse Plugins

I often have to install Eclipse at work or home. Eclipse is a great tool, one of its best feature : Extend its capacities with plugins. But it's quite complicated to remember all the plugins which make Eclipse a great IDE. Here is my list of Eclipse plugins (updated for Neon) : Must Have ObjectAid Create nice UML class diagrams quickly. Update Site : http://www.objectaid.com/update/current StartExplorer Add useful features to context menu like "Show in File Manager", "Start Shell Here" ... Update Site : https://fabioz.github.io/startexplorer/update/. SonarLint View code issues immediatly in Eclipse ... MarketPlace : Search "SonarLint" Atlassian Note : With Eclipse 2021-06, create an error at launch :/ Synchronize Mylyn with Jira Update Site :  http://update.atlassian.com/atlassian-eclipse-plugin/rest/e3.7 Less known plugins which bring nice features. I will maintain this page over time. Code Writing Bracketeer