Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
You are Manus, an AI agent created by the Manus team. | |
You excel at the following tasks: | |
1. Information gathering, fact-checking, and documentation | |
2. Data processing, analysis, and visualization | |
3. Writing multi-chapter articles and in-depth research reports | |
4. Creating websites, applications, and tools | |
5. Using programming to solve various problems beyond development | |
6. Various tasks that can be accomplished using computers and the internet |
from playwright.sync_api import sync_playwright | |
def save_mhtml(path: str, text: str): | |
with open(path, mode='w', encoding='UTF-8', newline='\n') as file: | |
file.write(text) | |
def save_page(url: str, path: str): | |
with sync_playwright() as playwright: | |
browser = playwright.chromium.launch(headless=False) |
Here, I'll show you how to compile Frida for both rootfull and rootless jailbreaks.
On Dopamine/Fugu15 Max or palera1n you can add my repo (open the link in your favorite browser on your jailbroken iDevice).
The DEBs you will install are build using the following instructions.
/* | |
LEV | |
Calculates the Levenshtein distance between two strings | |
Inputs | |
- a: a string to compare with b | |
- b: a string to compare with a | |
- [ii]: the [ii]th position in string a | |
- [jj]: the [jj]th position in string b |
{ | |
"version": 1, | |
"notes": "", | |
"documentation": "\"This file is a QMK Configurator export. You can import this at <https://config.qmk.fm>. It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: <https://docs.qmk.fm/#/newbs>\n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", | |
"keyboard": "lily58/rev1", | |
"keymap": "shaykalyan", | |
"layout": "LAYOUT", | |
"layers": [ | |
[ | |
"QK_GESC", |
""" Use Apple's Vision Framework via PyObjC to detect text in images | |
To use: | |
python3 -m pip install pyobjc-core pyobjc-framework-Quartz pyobjc-framework-Vision wurlitzer | |
""" | |
import pathlib |
The iOS syslog was removed in iOS 13.3. Prior to that, you could still view the deprecated syslog if you compiled your tweaks using an iOS 9 or lower SDK. Apple introduced oslog in iOS 10.
$THEOS/sdks
.$THEOS/vendor/logos/bin/lib/Logos/Generator/Base/Method.pm:73
from HBLogDebug(...
or NSLog(...
, depending on theos version, to log(...
.$THEOS/include/HBLog.h
:
#define log(...) HBLogWarn(@"<NOSS>: %@", [NSString stringWithFormat:__VA_ARGS__]);
on line 19, ie if you're running os_log / iOS 10+ SDK.
#define log(...) HBLogDebug(__VA_ARGS__);
on line 41, ie when not running an iOS 10+ SDK.
alias debug="oslog | awk 'f; /\)/{f=0} /:/{print; f=/\(/}'"
to /etc/profile.d/profile.sh
and source it afterwards. You may need to create the file if you haven't already.์ก์ถ์ด ๋ถ์์ ํ ์คํธ๋ฆฌ๋จธ์ ๋ฐฉ์ก์ ์ต์ํ์ ๋๋ ์ด๋ก ๋ นํํ๋๋ก ๋ง๋ค์ด์ง ๋ นํ ์คํฌ๋ฆฝํธ์ ๋๋ค. ํธ์คํ ์ฑ๋์ ๋ นํํ์ง ์๊ณ , TSํ์ผ์ ์ง์ ์ ์ฅํฉ๋๋ค.
์ด ์คํฌ๋ฆฝํธ๋ 24/7 ์์๊ฐ์ ๋ฐ ๋ นํ๋ฅผ ์ํด ์ค๋น๋ ์คํฌ๋ฆฝํธ์ด๊ณ ์ค์ ๊ณผ์ ์์ ์ฝ๊ฐ์ ํ๋ก๊ทธ๋๋ฐ์ ์ง์์ด ํ์ํฉ๋๋ค. ๋จํ์ฑ ๋ นํ๋ฅผ ์ํ๋ค๋ฉด ๋ ๋จ์ํ ๊ฑฐ ์ฐพ์๋ค ์ฐ์ญ์ผ.
์น์ง์ง์ฉ ์คํฌ๋ฆฝํธ๋ฅผ ํ ์คํธํ๊ณ ์์ต๋๋ค. ์ฌ๋ฌ๋ถ์ ๋ง์ ๊ธฐ์ฌ๊ฐ ํ์ํฉ๋๋ค ๐๐
์๋์์๋ ์๋์ ํ๊ฒ ์ง๋ง, ์ง์ง ๋ด์ ๊ตฌ์ถํ๋ ค๋ฉด ์ด ๊ธ์ ์์ฑ์๋ ๋ฆฌ๋ ์ค๋ฅผ ์ฌ์ฉํ๋ ๊ฑธ ์ถ์ฒํฉ๋๋ค. ๋ฆฌ๋ ์ค๋ฅผ ์ฐ๋ ์ด์ ๋, ์ ์ด๋ ์๋ ์ ๋ฐ์ดํธ ์๋ค๊ณ ์ง๋ฉ๋๋ก ์ฌ๋ถํ ํ์ง๋ ์์ผ๋๊น์ (๋์ถฉ ํธ์์น ์นดํ ์ฝ)
#!/usr/bin/env python3 | |
# This code is based on tutorial by slicktechies modified as needed to use oauth token from Twitch. | |
# You can read more details at: https://www.junian.net/2017/01/how-to-record-twitch-streams.html | |
# original code is from https://slicktechies.com/how-to-watchrecord-twitch-streams-using-livestreamer/ | |
# 24/7/365 NAS adaptation by CuriousTorvald (https://gist.github.com/curioustorvald/f7d1eefe1310efb8d41bee2f48a8e681) | |
# Twitch Helix API integration by Krepe.Z (https://gist.github.com/krepe90/22a0a6159b024ccf8f67ee034f94c1cc) | |
# Copyright (c) 2017, 2019, 2020, 2022 Junian, CuriousTorvald and Krepe.Z | |
# |