Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View N4M3Z's full-sized avatar

Martin Zeman N4M3Z

  • ProtonMail, CERN
View GitHub Profile
#!/bin/bash
# Copyright (c) 2011 Josh Schreuder
# http://www.postteenageliving.com
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@N4M3Z
N4M3Z / truecrypt_fix.sh
Last active August 29, 2015 14:16 — forked from otzoran/truecrypt_fix.bash
Fix Homebrew complaints on FUSE for OS X libraries
#!/usr/bin/env bash
# Author: Ori Tzoran, based on idea and gist by aaronzirbes (see evolution below)
# Tested on Mac OS X 10.10.2 (14C109)
set -e
## verify root runs this
[[ $(id -u) == 0 ]] || { echo need root; exit 1; }
#set -vx
@N4M3Z
N4M3Z / trim_enabler.sh
Last active August 29, 2015 14:16 — forked from return1/trim_enabler.txt
Trim Enabler for OS X
##
# Trim Enabler for OS X
#
# Forked from https://gist.github.com/return1/4058659
# Original version by Grant Parnell: https://digitaldj.net/blog/2011/11/17/trim-enabler-for-os-x-lion-mountain-lion-mavericks/
#
# Looks for "Apple" string in HD kext, changes it to a wildcard match for anything
#
# Alternative to http://www.groths.org/trim-enabler-3-0-released/
# Method behind this madness described: http://forums.macrumors.com/showthread.php?t=1409151&page=4

OS X Preferences


#Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

#Enable repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false