This file contains 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
#include <IOKit/IOService.h> | |
class IntelPWMManipulation : public IOService | |
{ | |
OSDeclareDefaultStructors(IntelPWMManipulation); | |
public: | |
bool start(IOService *provider); | |
}; |
This file contains 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
# Configuration file for dircolors, a utility to help you set the | |
# LS_COLORS environment variable used by GNU ls with the --color option. | |
# Copyright (C) 1996-2013 Free Software Foundation, Inc. | |
# Copying and distribution of this file, with or without modification, | |
# are permitted provided the copyright notice and this notice are preserved. | |
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the | |
# slackware version of dircolors) are recognized but ignored. | |
# Below, there should be one TERM entry for each termtype that is colorizable | |
TERM Eterm | |
TERM ansi |
This file contains 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
--- toychest.terminal 2013-05-18 05:42:25.000000000 +0100 | |
+++ Visor.terminal 2013-05-18 05:45:07.000000000 +0100 | |
@@ -162,12 +162,12 @@ | |
<data> | |
YnBsaXN0MDDUAQIDBAUGHyBYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKUHCBEVHFUkbnVsbNQJCgsMDQ4PEFVOU1JHQlxOU0NvbG9yU3BhY2VfEBJOU0N1 | |
- c3RvbUNvbG9yU3BhY2VWJGNsYXNzTxAnMC4xNTY4NjI3NDUxIDAuMjM1Mjk0MTE3NiAw | |
- LjMwMTk2MDc4NDMAEAGAAoAE0hIMExRUTlNJRBABgAPSFhcYGVokY2xhc3NuYW1lWCRj | |
- bGFzc2VzXE5TQ29sb3JTcGFjZaIaG1xOU0NvbG9yU3BhY2VYTlNPYmplY3TSFhcdHldO | |
- U0NvbG9yoh0bXxAPTlNLZXllZEFyY2hpdmVy0SEiVHJvb3SAAQAIABEAGgAjAC0AMgA3 |
This file contains 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
# Get the theme from here: http://toychesttheme.com/ | |
--- toychest.terminal 2013-05-18 05:42:44.000000000 +0100 | |
+++ toychest.terminal 2013-05-18 05:42:25.000000000 +0100 | |
@@ -169,18 +169,18 @@ | |
AD0AQwBMAFIAXwB0AHsApQCnAKkAqwCwALUAtwC5AL4AyQDSAN8A4gDvAPgA/QEFAQgB | |
GgEdASIAAAAAAAACAQAAAAAAAAAjAAAAAAAAAAAAAAAAAAABJA== | |
</data> | |
+ <key>BlinkText</key> | |
+ <false/> | |
<key>CursorBlink</key> |
This file contains 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
#compdef brew | |
# Brew ZSH completion function | |
# Drop this somewhere in your $fpath (like /usr/share/zsh/site-functions) | |
# and rename it _brew | |
# | |
# altered from _fink | |
_brew_all_formulae() { | |
formulae=(`brew search`) |
This file contains 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
def determine_path | |
paths = [superbin] | |
+ if not ARGV.include? "--no-ccache"; paths.unshift "#{HOMEBREW_PREFIX}/Cellar/ccache/3.1.9/libexec:"; ENV.append 'CCACHE_DISABLE', "1"; end |
This file contains 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
#import <sys/sysctl.h> | |
#import <stdlib.h> | |
#import <string.h> | |
int pidof(const char *argv) | |
{ | |
struct kinfo_proc *kp; | |
int mib[4],nentries,i; | |
size_t bufSize=0; |
This file contains 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 | |
javac "$1" | |
if [ $? == 0 ]; then | |
#Thanks to Ken Pizzini: http://www.linuxmisc.com/12-unix-shell/4cd9a157aa806d45.htm | |
retval=`exec 3>&1; /opt/X11/bin/xterm -e sh -c '/usr/bin/java "'$2'" 3>&-; echo $? 1>&3; echo "Press ENTER to quit..."; read'` | |
rm "$2"*.class | |
exit $retval | |
fi |
This file contains 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
require 'formula' | |
class Minimal < Formula | |
url 'http://ringwald.ch/fink/minimal-e327d27b214753a35b03a89886c82311c96353fa.tar.gz' | |
md5 '63926a804a44d5c36e8c0036ed653dbb' | |
end | |
class Ldid < Formula | |
homepage 'http://www.saurik.com/id/8' | |
url 'http://ringwald.ch/fink/ldid-4f4aa9c37a0c26908cafbc5ef58c94814d153415.tar.gz' |
This file contains 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
#include <windows.h> | |
#ifndef VK_MEDIA_NEXT_TRACK | |
#define VK_MEDIA_NEXT_TRACK 0xB0 | |
#endif | |
#ifndef VK_MEDIA_PREV_TRACK | |
#define VK_MEDIA_PREV_TRACK 0xB1 | |
#endif | |
#ifndef VK_MEDIA_STOP | |
#define VK_MEDIA_STOP 0xB2 |