Skip to content

Instantly share code, notes, and snippets.

Martin Zeman N4M3Z

  • ProtonMail, CERN
Block or report user

Report or block N4M3Z

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View NASA Picture-Of-The-Day Wallpaper Script
#!/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 Aug 29, 2015 — forked from otzoran/truecrypt_fix.bash
Fix Homebrew complaints on FUSE for OS X libraries
View truecrypt_fix.sh
#!/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 Aug 29, 2015 — forked from return1/trim_enabler.txt
Trim Enabler for OS X
View trim_enabler.sh
##
# 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
View gist:fc834b011c47a265e169

OS X Preferences


#Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

#Enable repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
You can’t perform that action at this time.