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
REGEDIT4 | |
[HKEY_CURRENT_USER\Control Panel\Desktop] | |
"FontSmoothing"="2" | |
"FontSmoothingType"=dword:00000002 | |
"FontSmoothingGamma"=dword:00000578 | |
"FontSmoothingOrientation"=dword:00000001 |
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
REGEDIT4 | |
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] | |
"Arial"="WenQuanYi Micro Hei" | |
"Comic Sans MS"="WenQuanYi Micro Hei" | |
"Courier"="WenQuanYi Micro Hei Mono" | |
"Courier New"="WenQuanYi Micro Hei Mono" | |
"Fixedsys"="WenQuanYi Micro Hei" | |
"Helv"="WenQuanYi Micro Hei" | |
"Helvetica"="WenQuanYi Micro Hei" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<array> | |
<dict> | |
<key>IDECodeSnippetVersion</key> | |
<integer>1</integer> | |
<key>IDECodeSnippetCompletionPrefix</key> | |
<string>@protocol</string> | |
<key>IDECodeSnippetContents</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
@implementation NSApplication (Relaunch) | |
- (void)relaunchAfterDelay:(float)seconds | |
{ | |
NSTask *task = [[[NSTask alloc] init] autorelease]; | |
NSMutableArray *args = [NSMutableArray array]; | |
[args addObject:@"-c"]; | |
[args addObject:[NSString stringWithFormat:@"sleep %f; open \"%@\"", seconds, [[NSBundle mainBundle] bundlePath]]]; | |
[task setLaunchPath:@"/bin/sh"]; | |
[task setArguments:args]; |
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 | |
delay=0 | |
timeout=10 | |
retry=2 | |
usage() | |
{ | |
echo "Usage: `basename $0` frompage topage" | |
exit 1 |
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 | |
delay=0 | |
timeout=10 | |
retry=2 | |
usage() | |
{ | |
echo "Usage: `basename $0` userid" | |
exit 1 |
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 | |
DISK=sda | |
TIMEOUT=600 | |
if [ $# -ge 1 ] ; then | |
DISK=$1 | |
fi | |
if [ $# -ge 2 ] ; then | |
TIMEOUT=$2 |
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> | |
#include <string.h> | |
#include <stdio.h> | |
#include "audiere.h" | |
using namespace audiere; | |
#define FAKECD_API __declspec(dllexport) | |
AudioDevicePtr g_device = 0; | |
OutputStreamPtr g_stream = 0; |
OlderNewer