oolongtea:/System/Library/LaunchDaemons root# mkdir ~/backup
oolongtea:/System/Library/LaunchDaemons root# mv com.apple.scrod.plist ~/backup/
oolongtea:/System/Library/LaunchDaemons root# mv com.apple.VoiceOverTouch.plist ~/backup/
oolongtea:/System/Library/LaunchDaemons root# mv com.apple.voiced.plist ~/backup/
This file contains hidden or 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
#!/bin/sh | |
export BROWSER=/usr/bin/google-chrome | |
skype |
Install MultiBeast 4.6.1:
+ UserDSDT Install
+ System Utilities
- Drivers & Bootloaders
- Kexts & Enablers
- Audio
- Realtek ALC8xx
- Unified Device Injector
/usr/local/lib/php/PEAR.php
static function isError($data, $code = null)
{
if (!is_a($data, 'PEAR_Error')) {
return false;
}
This file contains hidden or 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
#!/bin/bash | |
# Default ssh port | |
PORT=22 | |
# If secound argument is number use it as PORT | |
if [ "$2" != "" ] && [[ $2 != *[!0-9]* ]] ; then | |
PORT=$2 | |
fi |
Dependencies:
$ aptitude install libtool autoconf automake uuid-dev
Installation commands:
$ git clone https://github.com/zeromq/zeromq3-x.git
This file contains hidden or 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
#!/bin/sh | |
error() { echo "$@" 1>&2; exit 1; } | |
[ $# -gt 1 ] || | |
error "must provide screen session name and command" | |
session="${1}" | |
shift; | |
found=$(screen -ls | awk '-F\t' '$2 ~ m {print $2}' "m=[0-9]+[.]$session$") |
This file contains hidden or 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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document | |
url-prefix(http://www.google.com/reader), | |
url-prefix(https://www.google.com/reader) | |
{ | |
#current-entry .card { | |
border-color: #fff !important; | |
} |
This file contains hidden or 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
#!/bin/bash | |
tail -f $1 | awk -F '"' 'BEGIN {RS = "\"\n" ; } /FastCGI/ {split($1,t,"["); print t[1],$2}' |
NewerOlder