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
;跳过光盘检测 | |
0040692D E9 C5010000 JMP 00406AF7 | |
;初始化设备 | |
00402F20 60 PUSHAD ;保留作案现场 | |
00402F21 68 60324000 PUSH 00403260 ;回调函数 | |
00402F26 FF15 74E0CB00 CALL DWORD PTR DS:[fakecd_init] ;偷梁换柱 | |
00402F2C 83C4 04 ADD ESP,4 ;平衡堆栈 | |
00402F2F 61 POPAD ;恢复现场 | |
00402F30 33C0 XOR EAX,EAX ;返回值 |
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
#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; |
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 | |
DISK=sda | |
TIMEOUT=600 | |
if [ $# -ge 1 ] ; then | |
DISK=$1 | |
fi | |
if [ $# -ge 2 ] ; then | |
TIMEOUT=$2 |
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 | |
delay=0 | |
timeout=10 | |
retry=2 | |
usage() | |
{ | |
echo "Usage: `basename $0` userid" | |
exit 1 |
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 | |
delay=0 | |
timeout=10 | |
retry=2 | |
usage() | |
{ | |
echo "Usage: `basename $0` frompage topage" | |
exit 1 |
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
@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 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
<?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 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
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" |
NewerOlder