- Place your closed laptop on a soft surface, upside down.
- Use a sharp knife to cut a hole in the warranty sticker (YES THIS WILL VOID THE WARRANTY).
- Remove the 13 screws with a small phillips head screwdriver (PH1 size works well). Be careful, the screws are very small and will strip easily if you use the wrong size screwdriver.
- Remove the bottom of the laptop by pulling up on it near the hinges. It takes a bit of pressure to remove, but if you lift it from the back (near the hinges) the same way you would open a laptop screen, the hooks won't break (even though they will make a loud snapping sound).
- Remove the BIOS write-protect screw. It is labeled as #7 in this image
- With the bottom off, turn over the laptop and open the screen.
- Plug the laptop in (it must b
This article is now published on my website: Prefer Subshells for Context.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'sr-speedbar) | |
(setq speedbar-frame-parameters | |
'((minibuffer) | |
(width . 40) | |
(border-width . 0) | |
(menu-bar-lines . 0) | |
(tool-bar-lines . 0) | |
(unsplittable . t) | |
(left-fringe . 0))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun my-reb-query-replace-regexp () | |
"Call `query-replace-regexp' with current regexp of RE-builder" | |
(interactive) | |
(reb-update-regexp) | |
(let ((re (reb-target-binding reb-regexp))) | |
(flet ((query-replace-read-from | |
(prompt regexp-flag) | |
;; body | |
re)) | |
(pop-to-buffer reb-target-buffer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
import argparse | |
from nipype.utils.filemanip import loadcrash | |
def display_crash_files(crashfile, rerun): | |
"display crash file content and rerun if required" | |
crash_data = loadcrash(crashfile) | |
node = crash_data['node'] |