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
| # Set time | |
| xcrun simctl status_bar "iPhone" override --time "9:41" | |
| # Set network to 5G | |
| xcrun simctl status_bar "iPhone" override --dataNetwork 5g --cellularMode active --cellularBars 4 | |
| # Set network to Wi-Fi | |
| xcrun simctl status_bar "iPhone" override --dataNetwork wifi --wifiMode active --wifiBars 3 | |
| # Set battery level |
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
| .ad_content_mask, .ad-slot-234-60, .publisher_ad, .banner-ad-inner, .divider-taboola, .ad-transition, #cookie_consent_container, #Adv8, #Adv9, .gb_area_ads, .msgad, .follower-ad-bottom, .adsense-header, div[data-clickadilla-banner], .hotel-ad, .jw-ad-label, .lj-like-item, .spon-img[src*=".alicdn."], .cookies-modal, #intro_ad_1, #ad-mid-rect, .a-icon-share-pinterest, #ad-base, #homepage_top_ads, #left_ads, #left_adv, .Sailthru_Subscribe, .ad-vertical, #taboola-below-article-thumbnails-mg, #eucookienotice, #leaderAdContainer, .nav-ads, .js-ad_iframe, .grey-ad-notice, #infos_cookie, .doubleClickAd, .navbar-header-ad, #advertising_wrapper, .etn-ad-text, #adsDisplay, #AdSpaceLeaderboard, #adspace_header, .adz-horiz, #inArticleAdv, .ac_adbox, .ad-hoverable, .buySellAdsContainer, #taboola-below-article-thumbnails-v2, .ad-box-auto, .resp-sharing-button, .rekl_left, .guide__row--fixed-ad, .masthead__ad, .primis-player__container, #close-fixedban, .sets-cookie, .frAd, .social_knopki, .ad400x40, .socialList-type03, #adv |
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
| async function massiveExport() { | |
| console.log("Starting chunked export..."); | |
| const chunks = []; | |
| chunks.push('{\n"localStorage": ' + JSON.stringify({ ...localStorage }) + ',\n'); | |
| chunks.push('"sessionStorage": ' + JSON.stringify({ ...sessionStorage }) + ',\n'); | |
| chunks.push('"cookies": ' + JSON.stringify(document.cookie) + ',\n'); | |
| chunks.push('"indexedDB": {\n'); | |
| const dbs = await indexedDB.databases(); |
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
| defaults write ~/Library/Preferences/com.apple.coreservices.useractivityd.plist ClipboardSharingEnabled 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
| docker rmi --force $(docker images --all --quiet) |
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
| cpu: 8 | |
| disk: 200 | |
| memory: 8 | |
| arch: aarch64 | |
| runtime: docker | |
| hostname: "" | |
| kubernetes: | |
| enabled: false | |
| version: v1.34.1+k3s1 |
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
| { | |
| "editor": { | |
| "caret": "#3A87FE", | |
| "background": "#1F1F24", | |
| "pageGuide": { | |
| "background": "#1F1F24", | |
| "hairline": "#FFFFFF4D" | |
| }, | |
| "highlightedTextBackground": "#FFFF005A", | |
| "invisibleCharacters": "#424D5B", |
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
| echo Output defaults domains | |
| defaults domains > domains.txt | |
| echo Replace \', \' with new lines | |
| sed -i "" 's/, /\n/g' domains.txt | |
| echo Reset Liquid Glass defaults for apps | |
| while read d; do | |
| defaults delete "$d" com.apple.SwiftUI.IgnoreSolariumLinkedOnCheck | |
| done <domains.txt |
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
| import Cocoa | |
| class AppDelegate: NSObject, NSApplicationDelegate { | |
| var window: NSWindow! | |
| func applicationDidFinishLaunching(_ aNotification: Notification) { | |
| window = NSWindow( | |
| contentRect: NSRect(x: 0, y: 0, width: 800, height: 600), | |
| styleMask: [.titled, .closable], |
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
| import os | |
| from concurrent.futures import ProcessPoolExecutor, Future | |
| from io import BytesIO | |
| from pandas import DataFrame, read_parquet | |
| # Requires installation of pyarrow as well | |
| def run_query_in_process(query: str) -> bytes: |
NewerOlder