AirV's Blog

Just another blog

Commande FILE

  • La commande file permet de connaître le type de fichier :

file atee4.txt
… atee4.txt: ASCII text
file atee3.txt
… atee3.txt: Little-endian UTF-16 Unicode text, with CRLF line terminators

  • Pour visualiser le code en ascii / hexa :

utiliser mc puis vue puis basculer ascii/hexa

  • Sous VI Remplacer ^M dans tout le document :

%s/^M//g

HFS partition on Ubuntu

You can enable writing to HFS+ in Linux even if you didn’t disable journaling. In addition to hfsplus which you already have, you need to have hfsprogs installed :
sudo apt-get install hfsprogs

Then, use the -o force option :
sudo mount -o force /dev/sdX /your/mount/point

If the drive has been mounted automatically (as it should be on a desktop system like Ubuntu), you can enable write with :
sudo mount -o remount,rw,force /mount/point

or

 sudo mount -o remount,rw,force /dev/sdx

/mount/point would usually be /media/Your_drive_label /dev/sdx is your HFS+ device

Variable USERPROFILE sous XP

From http://windowsxp.mvps.org

Rename the User Profile folder using Windows Explorer

  • Logon to an admin account that is not the account being renamed.
  • Open the Documents and Settings folder, by typing this in Start, Run dialog:
    %systemdrive%\Documents and Settings
  • Select the corresponding folder of the user account that you want to rename.

Notify the system that the user profile path has changed.

  • Changing the ProfileImagePath value in the registry :
    HKEY_LOCAL_MACHINE \ SOFTWARE\ Microsoft\ Windows NT \ CurrentVersion \ ProfileList
  • Changer dans la base de registre le répertoire par défaut de l’ensemble des profils (valeur ProfilesDirectory de la clé HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList)
  • Changer individuellement dans la base de registre le répertoire de chaque profil (valeur ProfileImagePath de la clé HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\[SID de l'utilisateur])

Linux Mint

D’après DistroWatch, la distribution qui monte actuellement n’est autre que Linux Mint certainement en raison de l’adoption par Ubuntu de l’environnment Unity.

Quelques remarques sur la version 12 Lisa :

  • L’installeur windows n’est pas inclus dans la version DVD ;
  • Le version 3.5.0 du logiciel Filezilla crash lors de l’utilisation de la fonction drag and drop => passage à la version 3.5.2

Partitions linux sous windows

From doc.ubuntu-fr.org :

Utiliser le logiciel Ext2Fsd

.

Local drives to remote machines

From HowToGeek :

sshot-11

Have you ever had a file on a flash drive that you needed to use on a machine that is situated in another building or even halfway across the world? You can do that by plugging it into your local machine and then forwarding the drive through your remote session to that machine. Here’s how to do it.

Press the Windows Key and R to bring up a run box, and type mstsc to launch the Remote Desktop Connection Dialog, or you can just search for Remote Desktop in the Start Menu.

Click on the arrow next to options to see some of the more advanced options.

Once the interface has extended, switch to the Local Resources tab.

Now click on the more button, to see a more extensive list of things that you can forward to the remote machine.

Once you have clicked and expanded the drives, you will see a list of all the devices in your PC, you can forward anything from your CD/DVD drive to a USB drive that you have connected. Check the box next to any of the drive that you want to forward.

Now you can connect to the remote machine as you normally would.

Now if you open explorer on the remote machine you will see you drive, it will appear as if it has been mapped.

Commande windows : psexec

Psexec est une commande de M…. à la W….. mais qui est bien pratique pour le déploiement d’applications.

Voir le document sur Google
liens :

http://technet.microsoft.com/fr-fr/sysinternals/hh205954

http://www.windowsitpro.com/article/remote-computing/psexec

http://certcollection.org/forum/topic/53966-psexec-and-the-nasty-things-it-can-do/

http://szone.berlinwall.org/win32/DeployinganInstallationPackagetoMultipleClients

How To Sync Your Shared Google Calendars with Your iPhone

From HowToGeek.com :

Smartphones are essential to our daily lives. They help us stay connected and keep us organized. But when it comes to calendar syncing and Gmail there are limitations. Here’s how you can sync your shared calendars and contacts from Gmail.

If you use Gmail you probably know about the ability to create and share calendars with others. They help keep groups organized and even let you subscribe to public events. When it comes to getting that information on your smartphone there are some trade offs if you are on a non-Android phone.

Android phones will sync your email, contacts, and all of your calendars by just singing into your Gmail account. If you have an iPhone however, you will miss out on contact syncing if you set up your account as a Gmail account.

There is another option. You can set up your Gmail account as an Exchange account and be able to sync your email, contacts, and calendar, but by default it will only sync your primary calendar.

To add additional calendars you need to open your Safari browser on your iPhone and go to http://m.google.com/sync

Sign in with your Google account and then select which phone you want to change your sync settings on.

Select which calendars you would like sync with your phone.

Open your calendar app and open calendars in the top left corner. You should now see multiple calendars listed under your account instead of just the primary one you had before.

If you don’t, hit the refresh button in the bottom left corner or just give it 5-10 minutes to pull in your new calendars. If the calendars still do not show up, go to your settings app and remove your Gmail account and then add it again.

Once you see your shared calendars, check the ones you want to view by default in the calendar app and you are all set.

If you have problems with the m.google.com/sync web page not forwarding properly from your mobile browser you can also go to https://www.google.com/calendar/iphoneselect from your computer’s browser to turn on and off calenders for your iPhone. This will bypass the device selection but may work for non-iOS devices connected to Gmail via Exchange.

Test galerie Picassa / Picasna

Test du plugin Picasna pour WordPress qui permet de visualiser une galerie Picassa

Picasna Instructions


Linux From Scratch

From QuebecOs.com :

Publié par alphadi le 30/10/2011 01:34:50 (269 lectures) Articles du même auteur

Open in new window Bruce Dubbs a annoncé la sortie de Linux From Scratch (LFS) 7.0, un livre fournissant aux utilisateurs les instructions nécessaires pour construire un système Linux à partir de zéro, d’abord comme un projet éducatif. Il s’agit de la version 7.0. Il comprend de nombreux changements par rapport à LFS 6.8, y compris les mises à jour du noyau Linux 3.1, GCC 4.6.1 et glibc 2.14.1. Un changement important a été fait dans cette version du livre en y ajoutant un nouveau répertoire /run. Ce répertoire a un tmpfs monté et est utilisé par des programmes tels que udev pour stocker des informations d’exécution. Les répertoires /var /run et /var/lock sont également liés à ce répertoire. Les scripts de démarrage ont été mis à jour pour s’adapter à ce changement. les scripts de démarrage ont également été modifiées pour placer des scripts de soutien dans /lib /boot. un autre changement important est l’ajout d’un fichier md5sums, permettant aux utilisateurs de vérifier l’intégrité de tous les paquets téléchargés. Pour plus d’informations lire la page d’acceuil du projet où se trouve l’annonce de sortie. Les 327 pages livre Linux From Scratch 7.0 sont disponibles pour consultation en ligne ou en téléchargement aux formats HTML et PDF. Source: Distrowatch.

« Page précédentePage suivante »