docordi.be

How-To's

  1. Recover an Apple Computer
  2. Download Apple Hardware Test (AHT)
  3. Mac OS X Recovery Mode
  4. Mac OS X Safe Mode
  5. macOS User Reset Password
  6. Make Home & End keys behave like Windows on Mac OS X
  7. Recover a Dell from its Recovery partition
  8. Load the Belgian keyboard in Linux shell
  9. Delete all .DS_Store files from current directory
  10. Manage partitions with GParted (GNOME Partition Editor)
  11. List disk devices using Linux parted
  12. Clone a disk to another one using Linux dd
  13. Recover deleted partitions using testdisk
  14. Convert Outlook OST to PST
  15. Windows Updates to avoid
  1. Recover an Apple Computer
  2. See this guide

  3. Download Apple Hardware Test (AHT)
  4. See this site

  5. Mac OS X Recovery Mode
  6. Starting Mac OS X 10.7 (Lion), it is possible to boot into Recovery mode without a DVD.
    Simply press Command+R at startup of the Mac.

    Credits to: Christian Zibreg

  7. Mac OS X Safe Mode
  8. To load Mac OS X in Safe mode: without any extension loaded (*.kext located in /System/Library/Extensions) .
    Simply press Shift at startup of the Mac.

  9. macOS User Reset Password
  10. Apple includes a tool to replace a Mac's password. This is the best option if you have completely forgotten your password. Follow these steps:

    1. Turn off your Mac (choose Apple > Shut Down).
    2. Press the power button while holding down Command + R. The Mac will boot into Recovery mode. When you see the load bar appear you can let go of the keys. It may take a few minutes to load.
    3. Select Disk Utility and press Continue.
    4. Choose Utilities > Terminal.
    5. Enter resetpassword (all one word, lower-case letters) and press Return.
    6. Select the volume containing the account (normally this will be your main hard drive).
    7. Choose the account to change with Select the User Account.
    8. Enter a new password and re-enter it into the password fields.
    9. Enter a new password hint related to the password.
    10. Click Save.
    11. A warning will appear that the password has changed, but not the Keychain Password. Click OK.
    12. Click Apple > Shut Down.
    13. Now start up the Mac. You can log in using the new password.
    Credits to: Lucy Hattersley

  11. Make Home & End keys behave like Windows on Mac OS X
  12. Create a file called DefaultKeyBinding.dict in your ~/Library/KeyBindings folder (might need to create that folder too) with the following contents:

    {
      "\UF729"  = moveToBeginningOfParagraph:; // home
      "\UF72B"  = moveToEndOfParagraph:; // end
      "$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home
      "$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end
      "^\UF729" = moveToBeginningOfDocument:; // ctrl-home
      "^\UF72B" = moveToEndOfDocument:; // ctrl-end
      "^$\UF729" = moveToBeginningOfDocumentAndModifySelection:; // ctrl-shift-home
      "^$\UF72B" = moveToEndOfDocumentAndModifySelection:; // ctrl-shift-end
    }
    

    This remapping does the following in most Mac apps including Chrome (some apps do their own key handling): Home and End will go to start and end of line ShiftHome and ShiftEnd will select to start and end of line CtrlHome and CtrlEnd will go to start and end of document ShiftCtrlHome and ShiftCtrlEnd will select to start and end of document Note that you will need to reboot after creating this file for it to take effect. If you have a PC keyboard with LED back-lighting and would like the scroll-lock, num-lock or caps-lock LEDs on when using your Mac check out my free SetLEDs for Mac
    Credits to: Damian Guard

  13. Recover a Dell from its Recovery partition
    1. Backup data from the OS partition
    2. Boot Hirens Boot CD on a USB stick
    3. Enter Mini XP mode
    4. Formatting the OS partition (Quick format is faster)
    5. Opening the GImagex program from Hirens
    6. At GImagex use the Apply tab to expand the Factory.wim from the RECOVERY partition (check the date on the file to know if its the original(if you're doing this I would recommend checking you can see the Factory.wim file before formatting the OS, my path was D:\dell\images\Factory.wim)
    7. Wait about 15 minutes and enjoy a clean install with drivers already installed
    Credits to: celamb89

  14. Load the Belgian keyboard in Linux shell
  15. To use the keytable for a Belgian keyboard you can use loadkeys be2-latin1 or loadkeys be-latin1. The only difference between the two is that be2-latin1 adds support for twosuperior and threesuperior (keycode 41) and grave (keycode 43).

    sudo loadkeys be2-latin1
    Credits to: The Linux Documentation Project

  16. Delete all .DS_Store files from current directory
  17. To delete all .DS_Store files from current directory even in directory names with spaces

    sudo find . -type f -iname ".DS_Store" -exec rm -v '{}' +
    Credits to: sciurus
    or
    sudo find . -type f -iname ".DS_Store" -print -delete
    Credits to: Jon Bellah

  18. Manage partitions with GParted (GNOME Partition Editor)
    1. Boot GParted Live on a USB stick installed using TuxBoot
    2. Enter GParted Live
    3. Choose your keyboard layout
    4. Choose your language (default is [33] US English)
    5. Choose your Video mode (default is [0] GNOME)
    6. GNOME starts and GParted starts
    7. Start a root terminal by right-clicking on the desktop and selecting Terminals->lxterminal with root privileges
    8. Disable screensaver by typing the command
      xset -dpms
    9. Have fun using GParted

  19. List disk devices using Linux parted
  20. sudo parted -l

  21. Clone a disk to another one using Linux dd
  22. If you'd like to clone /dev/sdb to /dev/sdc use the following command

    sudo dd if=/dev/sdb of=/dev/sdc bs=32M status=progress

  23. Recover deleted partitions using testdisk
    1. Boot GParted Live on a USB stick
    2. Enter GParted Live
    3. Enter a terminal and execute the following commands
    4. sudo -s
      testdisk
      
    5. Select No Log
    6. Select the disk drive you want to recover, e.g. /dev/sdc
    7. Select your partition table type. Usually it's Intel.
    8. Select Analyse and Quick Search
    9. If you get asked whether your partition was created under Vista, answer yes/no
    10. Your drive will be analysed and you will see a list of all found partitions. If you know what you are doing, you can edit the list, otherwise just press Enter.
    11. On the next screen you have the option to either perform a second Deeper Search, or Write the current partition table to disk. If the quick search was successful, choose Write.
    Credits to: P. Asimakopoulos

  24. Convert Outlook OST to PST
  25. Use Stellar OST to PST Converter

  26. Windows Updates to avoid
  27. Credits to: aurgathor