Skip to content

Instantly share code, notes, and snippets.

View networkextension's full-sized avatar

abigt networkextension

  • Star
View GitHub Profile
@networkextension
networkextension / love.md
Created September 14, 2022 02:34
love.md

Love

$${\color{white} In business efforts, touch the fireworks on the life of people, }$$

$${\color{white} constantly cognitive growing ~Support we move forward, always }$$

$${\color{white} a two-way to at the same time, the soul and economic independence. }$$

@networkextension
networkextension / boot.log
Created September 2, 2022 01:55
iBoot-1219.60.76 DEVELOPMENT
image 0xbff547e0: bdev 0xbff5e4e0 type SCAB offset 0x2000
image 0xbff76200: bdev 0xbff5e4e0 type ibot offset 0x4000 len 0x401f8
image 0xbff76280: bdev 0xbff5e4e0 type dtre offset 0x46000 len 0x106b8
image 0xbff76300: bdev 0xbff5e4e0 type logo offset 0x58000 len 0x52b8
image 0xbff76380: bdev 0xbff5e4e0 type bat0 offset 0x5e000 len 0xb178
image 0xbff76400: bdev 0xbff5e4e0 type bat1 offset 0x6a000 len 0x3cf8
image 0xbff76480: bdev 0xbff5e4e0 type glyC offset 0x70000 len 0xff8
image 0xbff76500: bdev 0xbff5e4e0 type chg0 offset 0x72000 len 0xbb8
image 0xbff76560: bdev 0xbff5e4e0 type chg1 offset 0x74000 len 0x3638
image 0xbff765c0: bdev 0xbff5e4e0 type glyP offset 0x78000 len 0xbb8
<?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>com.apple.AppleNVMeEAN.allow</key>
<true/>
<key>com.apple.CommCenter.fine-grained</key>
<array>
<string>spi</string>
<string>identity</string>
fio --loops=5 --size=1000m --filename=/mnt/fs/fiotest.tmp --stonewall --ioengine=libaio --direct=1 --name=Seqread --bs=1m --rw=read --name=Seqwrite --bs=1m --rw=write --name=512Kread --bs=512k --rw=randread --name=512Kwrite --bs=512k --rw=randwrite --name=4kQD32read --bs=4k --iodepth=32 --rw=randread --name=4kQD32write --bs=4k --iodepth=32 --rw=randwrite^C
dev@w510:~$ fio --loops=5 --size=1000m --filename=fiotest.tmp --stonewall --ioengine=libaio --direct=1 \
> --name=Seqread --bs=1m --rw=read \
> --name=Seqwrite --bs=1m --rw=write \
> --name=512Kread --bs=512k --rw=randread \
> --name=512Kwrite --bs=512k --rw=randwrite \
> --name=4kQD32read --bs=4k --iodepth=32 --rw=randread \
> --name=4kQD32write --bs=4k --iodepth=32 --rw=randwrite
Seqread: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=1
Seqwrite: (g=1): rw=write, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=1
3bbc3afa7664ae1b0dd533cae5952dfc
struct timeval boottime;
int mib[2] = (CTL_KERN, KERN_BOOTTIME};
size_ t size = sizeof (boottime);
sysctl(mib, 2, &boottime, &size, NULL, 0) ;
NSLog (@"boottime: %ld.%ld", boottime.tv_sec, boottime.tv_usec): A Format specifies type 'long' but
NSLog (@"boottime: %1ld", *(1ong*) (0x0000000FFFFFC0A0)) ;
rm: AssetsV2: is a directory
rm: can't remove 'AssetsV2/com_apple_MobileAsset_SoftwareUpdateDocumentation/com_apple_MobileAsset_SoftwareUpdateDocumentation.xml': Operation not permitted
rm: can't remove 'AssetsV2/com_apple_MobileAsset_SoftwareUpdateDocumentation/ba86717adfd849dea8b7028127b771373f7aae84.asset': Operation not permitted
rm: can't remove 'AssetsV2/com_apple_MobileAsset_SoftwareUpdateDocumentation': Operation not permitted
rm: can't remove 'AssetsV2/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml': Operation not permitted
rm: can't remove 'AssetsV2/com_apple_MobileAsset_SoftwareUpdate': Operation not permitted
rm: can't remove 'AssetsV2/SplunkRecords/SplunkRetry': Permission denied
rm: can't remove 'AssetsV2/SplunkRecords': Directory not empty
rm: can't remove 'AssetsV2': Directory not empty
ld(1) General Commands Manual ld(1)
NAME
ld – linker
SYNOPSIS
ld files... [options] [-o outputfile]
DESCRIPTION
The ld command combines several object files and libraries, resolves
TCSENDBREAK(3) Library Functions Manual TCSENDBREAK(3)
NAME
tcdrain, tcflow, tcflush, tcsendbreak – line control functions
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <termios.h>
@networkextension
networkextension / gestalt_query.plist
Created March 3, 2022 02:50
gestalt_query ent 15.2
<?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>com.apple.AppleNVMeEAN.allow</key>
<true/>
<key>com.apple.CommCenter.fine-grained</key>
<array>
<string>spi</string>
<string>identity</string>