- Recover an Apple Computer
See this guide
- Download Apple Hardware Test (AHT)
See this site
- Mac OS X Recovery Mode
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
- Mac OS X Safe Mode
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.
- macOS User Reset Password
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:
- Turn off your Mac (choose Apple > Shut Down).
- 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.
- Select Disk Utility and press Continue.
- Choose Utilities > Terminal.
- Enter resetpassword (all one word, lower-case letters) and press Return.
- Select the volume containing the account (normally this will be your main hard drive).
- Choose the account to change with Select the User Account.
- Enter a new password and re-enter it into the password fields.
- Enter a new password hint related to the password.
- Click Save.
- A warning will appear that the password has changed, but not the Keychain Password. Click OK.
- Click Apple > Shut Down.
- Now start up the Mac. You can log in using the new password.
Credits to: Lucy Hattersley
- Make Home & End keys behave like Windows on macOS
Create a file called DefaultKeyBinding.dict in your ~/Library/KeyBindings folder (might need to create that folder too) with the following contents:
{
/* Remap Home / End keys */
/* Home Button*/
"\UF729" = "moveToBeginningOfLine:";
/* End Button */
"\UF72B" = "moveToEndOfLine:";
/* Shift + Home Button */
"$\UF729" = "moveToBeginningOfLineAndModifySelection:";
/* Shift + End Button */
"$\UF72B" = "moveToEndOfLineAndModifySelection:";
/* Ctrl + Home Button */
"^\UF729" = "moveToBeginningOfDocument:";
/* Ctrl + End Button */
"^\UF72B" = "moveToEndOfDocument:";
/* Shift + Ctrl + Home Button */
"$^\UF729" = "moveToBeginningOfDocumentAndModifySelection:";
/* Shift + Ctrl + End Button*/
"$^\UF72B" = "moveToEndOfDocumentAndModifySelection:";
}
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: Elhay Efrat
- Make Numerical keypad Comma type a Dot
Create a file called DefaultKeyBinding.dict in your ~/Library/KeyBindings folder (might need to create that folder too) with the following contents:
{
"#," = ("insertText:", ".");
}
Credits to: Benoit Duffez
- Recover a Dell from its Recovery partition
- Backup data from the OS partition
- Boot Hirens Boot CD on a USB stick
- Enter Mini XP mode
- Formatting the OS partition (Quick format is faster)
- Opening the GImagex program from Hirens
- 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)
- Wait about 15 minutes and enjoy a clean install with drivers already installed
Credits to: celamb89
- Load the Belgian keyboard in Linux shell
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
- Delete all .DS_Store files from current directory
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
- Manage partitions with GParted (GNOME Partition Editor)
- Boot GParted Live on a USB stick installed using TuxBoot
- Enter GParted Live
- Choose your keyboard layout
- Choose your language (default is [33] US English)
- Choose your Video mode (default is [0] GNOME)
- GNOME starts and GParted starts
- Start a root terminal by right-clicking on the desktop and selecting Terminals->lxterminal with root privileges
- Disable screensaver by typing the command
xset -dpms
- Have fun using GParted
- List disk devices on Linux & Mac
On Linux
sudo parted -l
or
sudo lsblk
On Mac
diskutil list
- Clone a disk to another one using Linux dd
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
- Mount dd image as partition
To mount the filesystem inside the image, you need to use kpartx utility to generate virtual devices from the partition table in your image.
kpartx -v -a /path/to/image
Credits to: Tero Kilkanen
- Recover deleted partitions using testdisk
- Boot GParted Live on a USB stick
- Enter GParted Live
- Enter a terminal and execute the following commands
sudo -s
testdisk
- Select No Log
- Select the disk drive you want to recover, e.g. /dev/sdc
- Select your partition table type. Usually it's Intel.
- Select Analyse and Quick Search
- If you get asked whether your partition was created under Vista, answer yes/no
- 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.
- 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
- Convert Outlook OST to PST
Use Stellar OST to PST Converter
- Chrome Bookmarks file location Mac & Windows
- Mac: /Users/$USER/Library/Application\ Support/Google/Chrome/Default/Bookmarks
- Windows: %LOCALAPPDATA%\Google\Chrome\User Data\Default\Bookmarks
- Windows Updates to avoid
- KB892130 - Windows Genuine Advantage
- KB905474 - Windows Genuine Advantage Notification
- KB971033 - Windows Activation Technologies (WAT)
- KB2505438 - Slow performance in applications that use the DirectWrite API on a computer that is running Windows 7 or Windows Server 2008 R2 = It often breaks fonts (see also KB454826)
- KB2670838 - Platform update for Windows 7 SP1 and Windows Server 2008 R2 SP1 = breaks AERO functionality and gives you blurry fonts on some websites
- KB2952664 - Compatibility update for upgrading Windows 7 = Windows 7 nagware patch that touts the Windows 10 upgrade
- KB2977759 - Compatibility update for Windows 7 RTM = W10 Diagnostics Compatibility telemetry
- KB2990214 - Update that enables you to upgrade from Windows 7 to a later version of Windows
- KB3021917 - Update to Windows 7 SP1 for performance improvements (telemetry)
- KB3022345 - Update for customer experience and diagnostic telemetry -> Replaced by KB3080149
- KB3050265 - Windows Update Client for Windows 7: June 2015 = WU service updated to accept upgrade to W10 + other fixes
- KB3068707 - Customer experience telemetry points (update appears to be nuked from microsoft.com)
- KB3068708 - Update for customer experience and diagnostic telemetry
- KB3075249 - Update that adds telemetry points to consent.exe in Windows 8.1 and Windows 7
- KB3080149 - Update for customer experience and diagnostic telemetry
Credits to: aurgathor