csrutil disable
# install | |
mkdir ~/macports | |
cd ~/macports | |
curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.5.3.tar.bz2 | |
tar xf MacPorts-2.5.3.tar.bz2 | |
cd MacPorts-2.5.3/ | |
./configure --enable-readline --prefix=$HOME/macports --with-no-root-privileges | |
make && make install |
#!/usr/bin/python | |
""" | |
Completely reset TCC services database in macOS | |
Note: Both the system and individual users have TCC databases; run the script as both | |
a user and as root to completely reset TCC decisions at all levels. | |
2018-08-15: Resetting the 'Location' service fails; unknown cause | |
2018-08-16: Confirmed the 'All' service does not really reset _all_ | |
services, so individual calls to each service is necessary. |
################################################################################ | |
# PRIVACY RULES # | |
# * OSX EL CAPITAN - NO CONNECTIONS TO CUPPERTINO * # | |
# MIX OF DIFFERENT /etc/hosts FILES I'VE FOUND. 80% OF THE ENTRIES CAME FROM # | |
# MY OWN. OSX SENDS HUGE AMMOUNT OF REQUESTS TO CUPPERTINO EVENT WHEN # | |
# SPOTLIGHT SUGGESTIONS, ICLOUD, AND OTHER SERVICES ARE DISABLED # | |
# USE IT IF YOU DON'T LIKE OSX CALLING HOME WHEN YOU DON'T WANT IT TO HAPPEN # | |
# NO CONNECTIONS TO APPLE SERVERS REPORTED BY MY FIREWALL FOR 2 MONTHS # | |
################################################################################ | |
# SAVED FROM: http://pastebin.com/GfaXGL4r |
Latest Update 2021-03-06 : New image showing the new "Services" in Home Assistant and got some tips from the comments below.
Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown
Starts Youtube App
entity_id: media_player.shield
command: >-
For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):
-
List All System Images Available for Download:
sdkmanager --list | grep system-images
-
Download Image:
sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"
#!/usr/bin/env bash | |
# disable SIP first | |
set "$@" com.apple.AirPlayUIAgent AirPlayXPCHelper # AirPlay | |
set "$@" com.apple.AirPortBaseStationAgent # AirPort Wifi | |
set "$@" com.apple.AppleFileServer # File Sharing | |
set "$@" com.apple.afpfs_checkafp com.apple.afpfs_afpLoad # AppleShare | |
set "$@" com.apple.appleseed.seedusaged com.apple.appleseed.fbahelperd # Apple feedback | |
set "$@" com.apple.AOSHeartbeat # AOS - Find My Mac |
It's a lot easier to test accessibility on the fly using ADB. This gist attempts to make the days of navigating through the Android device settings UI to change Accessibility settings obsolete.
These ADB commands will hopefully encourage Android developers to test and use their apps with common Accessiblility settings enabled.
Credit to James Nitsch for inspiring this, and for figuring out the put
commands to enable these settings.
Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
This gist will no longer be updated as the changelog will be on the official website.
- Sublime Text/Merge Official Discord chat server: https://discord.gg/D43Pecu
- Sublime Text/Merge 中文 Telegram 交流群組: https://t.me/sublime_tw
Converted via https://domchristie.github.io/turndown