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 <CoreGraphics/CoreGraphics.h> | |
int main() { | |
CGDirectDisplayID displays[2]; | |
CGGetOnlineDisplayList(2, displays, NULL); | |
CGDirectDisplayID st; | |
CGDirectDisplayID nd; | |
if (CGDisplayIsMain(displays[0])) { | |
st = displays[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
from mitmproxy import http | |
src = 'ax.init.itunes.apple.com' | |
dst = 'init.itunes.apple.com' | |
def request(flow: http.HTTPFlow) -> None: | |
if flow.request.pretty_host in (src, src + '.'): | |
flow.request.host = dst |
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 <dlfcn.h> | |
//#include <mach-o/dyld.h> | |
//#include <mach-o/getsect.h> | |
//#include <mach-o/ldsyms.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <sys/clonefile.h> | |
#include <sys/errno.h> | |
#include <sys/syslimits.h> |
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"> | |
<dict> | |
<key>CFBundleExecutable</key> | |
<string>Automator Application Stub</string> | |
<key>CFBundleIconFile</key> | |
<string>ApplicationStub</string> | |
<key>LSUIElement</key> | |
<true/> |
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 <errno.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <unistd.h> | |
enum qtn_flags { | |
QTN_FLAG_DOWNLOAD = 0x0001, | |
}; | |
typedef struct _qtn_proc *qtn_proc_t; |
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
package main | |
// #cgo LDFLAGS: -framework Carbon | |
// #include <Carbon/Carbon.h> | |
import "C" | |
import ( | |
"fmt" | |
"unsafe" | |
) |
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"> | |
<dict> | |
<key>ManifestServer.Beta</key> | |
<string>https://officecdnmac.microsoft.com/pr/4B2D7701-0A4F-49C8-B4CB-0C2D4043F51F/MacAutoupdate/</string> | |
<key>ManifestServer.Current</key> | |
<string>https://officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/</string> | |
<key>ManifestServer.CurrentThrottle</key> | |
<string>https://officecdnmac.microsoft.com/pr/A1E15C18-4D18-40B0-8577-616A9470BB10/MacAutoUpdate/</string> |
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
package main | |
import ( | |
"io/fs" | |
"os" | |
"path" | |
) | |
var ( | |
osFiles = []*os.File{os.Stdin, os.Stdout, os.Stderr} |
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
https://download-cdn.jetbrains.com/toolbox/feeds/v1/release.feed.xz.signed | |
GET | |
0 | |
HTTP/1.1 200 OK | |
17 | |
Content-Type: binary/octet-stream | |
Content-Length: 170516 | |
Connection: keep-alive | |
Accept-Ranges: bytes | |
Date: Sun, 28 Aug 2022 13:01:29 GMT |
NewerOlder