Skip to content

Instantly share code, notes, and snippets.

View NickWoodhams's full-sized avatar

Nick Woodhams NickWoodhams

View GitHub Profile
@NickWoodhams
NickWoodhams / osxaptio-error-when-booting-from-usb.txt
Created March 11, 2015 10:42
Failed Memmap on X99-UD5 due amount of PCIe devices, memmap is ghosting so when USB drives are removed it is still failing.
Type Start End # Pages Attributes
BS_Code 0000000000000000-0000000000007FFF 0000000000000008 000000000000000F
Available 0000000000008000-000000000003EFFF 0000000000000037 000000000000000F
BS_Data 000000000003F000-000000000003FFFF 0000000000000001 000000000000000F
BS_Code 0000000000040000-000000000009FFFF 0000000000000060 000000000000000F
Available 0000000000100000-000000000181BFFF 000000000000171C 000000000000000F
LoaderCode 000000000181C000-00000000018EFFFF 00000000000000D4 000000000000000F
ACPI_Recl 00000000018F0000-0000000001927FFF 0000000000000038 000000000000000F
Available 0000000001928000-00000000019B7FFF 0000000000000090 000000000000000F
LoaderCode 00000000019B8000-0000000001A52FFF 000000000000009B 000000000000000F
@NickWoodhams
NickWoodhams / drivers64UEFI-contents.txt
Created March 27, 2015 18:17
Clover memory debugging files
Directory of: FS10:\EFI\CLOVER\drivers64UEFI\
13:29:40 27/03/2015 <DIR> 1,024 .
13:29:38 27/03/2015 <DIR> 1,536 ..
13:29:40 27/03/2015 31,104 EmuVariableUefi-64.efi
13:29:40 27/03/2015 18,880 FSInject-64.efi
13:29:40 27/03/2015 24,900 HFSPlus.efi
13:29:40 27/03/2015 21,824 OsxAptioFixDrv-64.efi
13:29:40 27/03/2015 2,912 OsxFatBinaryDrv-64.efi
17:48:46 27/03/2015 2 drivers64UEFI-contents.txt
6 File(s) 99,622 bytes
@NickWoodhams
NickWoodhams / close_deleted_file.py
Last active November 24, 2019 17:00
Close Deleted File - Sublime 3 Plugin
import sublime_plugin
import sublime
import time
import os
class MyEvents(sublime_plugin.EventListener):
def on_deactivated_async(self, view):
s = view.file_name()
if s:
@NickWoodhams
NickWoodhams / indico_text_tags.txt
Created June 2, 2015 03:40
indico text tags (API v2)
Dieting
Golf
Fishing
Islam
Relationships
Atheism
Hunting
Personal
Nostalgia
Writing
@NickWoodhams
NickWoodhams / google_website_categories.txt
Created June 2, 2015 03:42
Website Categories - Google
Arts & Entertainment
Beauty & Personal Care
Business & Industrial
Computers & Consumer Electronics
Dining & Nightlife
Family & Community
Finance
Food & Groceries
Health
Hobbies & Leisure
@NickWoodhams
NickWoodhams / mount.sh
Created June 2, 2015 20:58
Mount NFS Volume on Mac
#!/bin/bash
mkdir /Volumes/disk2
mount -t nfs m3dia.us:/export/disk2 /Volumes/disk2
@NickWoodhams
NickWoodhams / Test2.efi
Created June 4, 2015 02:43
Recompiled OsxLowMemFixDrv-64.efi Driver to Fix OsxAptioFixDriv Error
4d5a 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 8000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
5045 0000 6486 0400 0000 0000 0000 0000
0000 0000 f000 2e00 0b02 0000 e004 0000
@NickWoodhams
NickWoodhams / config.plist
Created August 5, 2015 18:33
Clover config (X99-UD5 with Software Raid 0)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>DSDT</key>
<dict>
<key>Debug</key>
<false/>
@NickWoodhams
NickWoodhams / .zshrc
Created August 27, 2015 03:47
Dotfile for command line. Jump and go are pretty awesome.
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="pure"
# Aliases
alias pyc='find . -name "*.pyc" -exec rm -rf {} \;'
alias v="source venv/bin/activate"
alias extra="sudo sh /Users/nick/Dropbox/Automation/copy-extra-settings-manually.sh"
alias a="sudo apachectl graceful"
alias n="sudo nginx -s stop && sudo nginx;"
@NickWoodhams
NickWoodhams / pwd.py
Created August 27, 2015 03:50
Copies current directory to clipboard. If you have a filename arg after, it will include this filename. If it's got /static in the path it will copy the relative url (useful when coding in Flask)
#!/usr/local/bin/python
import os
import sys
import subprocess
from pprint import pprint
if len(sys.argv) > 1:
path = os.getcwd() + "/" + sys.argv[1]
else: