Skip to content

Instantly share code, notes, and snippets.

@f1shy-dev
f1shy-dev / best_SAE_trick.md
Last active May 31, 2025 17:52
sneakyf1shy's apple intelligence tutorial

the sneakyf1shy apple intelligence tutorial v2.0

Warning

This is patched as of iOS/iPadOS 18.1 DevBeta 5. If you want to follow this, stay on Beta 4.

This actually downloads the models, and is NOT just new SiriUI. Hence, this process is complex and probably not worth it.

⚠️ Prepare to be disappointed and annoyed, and have your time wasted! ⚠️

  • What does not work: Writing Tools, Memories, Reduce Interruptions, Image Eraser and other tools that are within official Apple Intelligence on supported devices.
@gabe565
gabe565 / change-arc-icon.md
Last active May 26, 2025 02:32
Change Arc Browser Icon

Change Arc Browser Icon

arc

A collection of commands that change the Arc Browser icon on macOS.

Commands

Theme Command
Candy Arc defaults write company.thebrowser.Browser currentAppIconName candy
@santaklouse
santaklouse / CrossOver.sh
Last active June 14, 2025 05:36
unlimited CrossOver trial (MacOS)
#!/usr/bin/env bash
# checck if pidof exists
PIDOF="$(which pidof)"
# and if not - install it
(test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof
# find app in default paths
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS
@haxibami
haxibami / gdrive-dl.md
Created April 18, 2022 10:53
GoogleDriveで閲覧できる任意の動画をダウンロードする

Google Drive で閲覧できる任意の動画をダウンロードする

概要

youtube-dl のフォークであるyt-dlpには、ブラウザの Cookie を抽出してアクセスに使用する機能(--cookies-from-browser)が付加されている。これを使うと、Google Drive で自らのアカウントが閲覧できる任意の動画を(設定の如何にかかわらず)ダウンロードできる。この意味するところは各自考えられたし。1

必要なもの

Footnotes

  1. というかこんなものを使わなくても、手の込んだ JS やら DRM やらがない時点で <video> 要素から引っ張り放題ではある。

@yarakos95
yarakos95 / BB-symbol.md
Last active April 16, 2024 11:32
黒板文字を使いたい

Blackboard Bold Symbol

黒板太字(Blackboard Bold) や重ね打ち体(doublestroke) と呼ばれる二重線で書かれるようなアルファベットを数式で利用したい.

もっとも標準的に黒板太字を利用する方法は,amsfonts(あるいはamssymb) を読み込むことである.1

Exsample

Footnotes

  1. amssymb を読み込むとamsfonts が読み込まれる.

@Dids
Dids / IPA_Install_Apple_Silicon.md
Last active June 6, 2025 02:14
Installing IPAs on the M1

Installing IPAs on Apple Silicon (M1)

  1. Open Apple Configurator 2 and plug in your iPhone or iPad
  2. Click Add, login to the App Store and select the application you want to install
  3. Open up ~/Library/Group\ Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets and wait until the TemporaryItems directory appears
  4. Copy the application from the newly created temporary directory, but do note that it will disappear once Apple Configurator is done installing
  5. Double click the .ipa on your Apple Silicon (M1) device and install it
  6. Fix permissions on the installed application by running sudo xattr -rd com.apple.quarantine /Applications/<your_app>.app (if you skip this step, you're unable to start the application)

Note that it's easier if you already have the application installed, as Apple Configurator will prompt you about overwriting the existing installation, at which point the temporary file (the .ipa) will still exist, until you choose an action in the prompt.

@t3yamoto
t3yamoto / index.md
Last active May 30, 2025 00:49
Boxで開いているフォルダをBoxDrive(Finder)で開きたい時に便利なブックマークレット

Boxで開いているフォルダをBoxDrive(Finder)で開きたい時に便利なブックマークレット

以下の様に、ブラウザでBoxのフォルダを開いている時に、当該フォルダをBoxDrive(Finder)で開きたくなることがある。そんな時にこのブックマークレットを使用すれば、いい感じにパスをコピーできる。

6A4A264E-CB08-4D8C-8CE5-A0024379A771

インストール方法

以下のスクリプトをChromeのブックマークに任意の名前で登録する。 ([ブックマークマネージャー] > [新しいブックマークを登録])

@sharunkumar
sharunkumar / adb-dns.bat
Created February 7, 2020 07:08
Enabling / Disabling private DNS in android via ADB
rem to disable private dns
adb shell settings put global private_dns_mode off
rem to enable private dns with hostname (example with dns.adguard.com)
adb shell settings put global private_dns_mode hostname
adb shell settings put global private_dns_specifier dns.adguard.com
@dannote
dannote / final-cut-pro-trial-reset.swift
Last active June 5, 2025 14:05
Final Cut Pro X trial reset
#!/usr/bin/swift
// DISCLAIMER
// This script modifies an unencrypted file associated with the trial version of Final Cut Pro.
// Under the DMCA (17 U.S.C. § 1201), this modification does not qualify as circumvention of a technological
// protection measure (TPM), as it does not involve bypassing encryption, authentication, or similar protections.
// Distributing this code is therefore legal under the DMCA.
// This script is intended for educational and research purposes, such as exploring trial-related file structures,
@gdurastanti
gdurastanti / parallels-reset.sh
Created August 9, 2017 14:00
Reset Parallels' trial
#!/bin/sh
# Reset Parallels Desktop's trial and generate a casual email address to register a new user
rm /private/var/root/Library/Preferences/com.parallels.desktop.plist /Library/Preferences/Parallels/licenses.xml
jot -w pdu%[email protected] -r 1