Skip to content

Instantly share code, notes, and snippets.

View unobatbayar's full-sized avatar
💭
We become what we think about

Usukhbayar Batbayar unobatbayar

💭
We become what we think about
View GitHub Profile
@unobatbayar
unobatbayar / list.md
Created January 27, 2025 00:41 — forked from ih2502mk/list.md
Quantopian Lectures Saved
@unobatbayar
unobatbayar / mac_check.txt
Last active December 23, 2024 03:03
Mac check
sudo profiles show -type enrollment
systemextensionsctl list
ls -la /Library/LaunchAgents /Library/LaunchDaemons ~/Library/LaunchAgents
plutil -p /Library/Receipts/InstallHistory.plist
ls -la /Library/LaunchAgents
ls -la /Library/LaunchDaemons
ls -la ~/Library/LaunchAgents
@unobatbayar
unobatbayar / skipSpotifyAd.scpt
Last active November 29, 2023 01:34
Skip Spotify Ad on Mac. Press as soon as you have an Ad.
-- Close Spotify
tell application "Spotify" to quit
-- Wait for Spotify to close (adjust the delay if needed)
delay 2
-- Reopen Spotify
tell application "Spotify" to activate
-- Hide Spotify
@unobatbayar
unobatbayar / stopcorespeechd.sh
Last active May 23, 2023 03:04
Stop corespeechd. This process runs even when dictation, voice commands, siri, etc are disabled. It seems you have to clean install your OS and never agree to terms of services.
#!/bin/bash
while true
do
killall corespeechd
echo "running"
sleep .3
done
@unobatbayar
unobatbayar / encrypt.sh
Last active March 22, 2022 01:47
Encrypt files on Mac
# Replace the output and file name
# Assuming you are in the same directory of the file to encrypt
zip -er OUTPUTNAME.zip FILENAME.txt
# You will be prompted to enter password for decryption