Skip to content

Instantly share code, notes, and snippets.

@Kirow
Last active December 15, 2017 10:50
Show Gist options
  • Save Kirow/12b3d0893820b6fb8a93e230c19b7f19 to your computer and use it in GitHub Desktop.
Save Kirow/12b3d0893820b6fb8a93e230c19b7f19 to your computer and use it in GitHub Desktop.
Hackintosh
remap home and end by creating ~/Library/KeyBindings/ and saving a property list like this as DefaultKeyBinding.dict:
cd ~/Library
mkdir KeyBindings
cd ~/Library/KeyBindings/
touch DefaultKeyBinding.dict
nano DefaultKeyBinding.dict
{
"\UF729" = moveToBeginningOfParagraph:; // home
"\UF72B" = moveToEndOfParagraph:; // end
"$\UF729" = moveToBeginningOfParagraphAndModifySelection:; // shift-home
"$\UF72B" = moveToEndOfParagraphAndModifySelection:; // shift-end
}
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv qlimagesize webpquicklook suspicious-package quicklookase qlvideo
https://github.com/chockenberry/Provisioning/releases
mv Provisioning.qlgenerator ~/Library/QuickLook
qlmanage -r
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
curl https://raw.githubusercontent.com/hukl/Smyck-Color-Scheme/master/Smyck.terminal > Smyck.terminal
open Smyck.terminal
https://stackoverflow.com/a/43569895/2064576 - Xcode instruments
sudo codesign -f -s - /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/MacOS/Instruments
#to fix debug hierarchy
sudo codesign -f -s - /Applications/Xcode.app/Contents/MacOS/Xcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment