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
| #!/bin/bash | |
| # iCloud fonts folder path | |
| ICLOUD_FONTS="$HOME/Library/Mobile Documents/com~apple~CloudDocs/free-fonts" | |
| # Destination macOS Fonts folder | |
| DESTINATION="$HOME/Library/Fonts" | |
| # Temporary folder for extracted zip files | |
| TEMP_UNZIP="$HOME/.tmp_fonts" |
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
| #!/bin/bash | |
| # Get the current Wi-Fi interface | |
| wifi_interface=$(networksetup -listallhardwareports | awk '/Wi-Fi/{getline; print $2}') | |
| # Get the current connected Wi-Fi network details | |
| wifi_network=$(networksetup -getairportnetwork $wifi_interface | awk -F": " '{print $2}') | |
| # Get the IP address | |
| ip_address=$(ipconfig getifaddr $wifi_interface) |
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
| Remove / bypass MDM on Sonoma. Working as of November 2023. | |
| For you being part of group one all you have to do is access recovery mode and disable SIP. | |
| Reboot then go back in recovery mode, open a safari tab, go to https://skipmdm.com and press the button to copy the code. | |
| Should be this: (curl https://raw.githubusercontent.com/maclifevn/bypasmdm/main/mdm.sh -o test.sh && chmod +x ./test.sh && ./test.sh) | |
| Then exit safari, open terminal, paste it there & hit enter, follow the steps and then boom done. Restart computer and once in for added reassurance: |
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
| 4r5e | |
| 5h1t | |
| 5hit | |
| a55 | |
| anal | |
| anus | |
| ar5e | |
| arrse | |
| arse | |
| ass |
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 json | |
| with open('ru2.json') as infile: | |
| o = json.load(infile) | |
| chunkSize = 1000 | |
| for i in range(0, len(o), chunkSize): | |
| with open('output/file_' + str(i//chunkSize) + '.json.txt', 'w') as outfile: | |
| json.dump(o[i:i+chunkSize], outfile) |
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
| pdfcrack -f [filename].pdf | |
| qpdf --decrypt --password='[found password]' [filename].pdf output_file.pdf |
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
| lftp sftp://dos -e "pget -c --parallel=5 --use-pget-n=5 --continue /home/user/data.duckdb .; quit" |
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
| #!/bin/bash | |
| # What: quick workflow to headless get a video's text and timestamps for each chunk | |
| # brew install yt-dlp | |
| yt-dlp https://www.youtube.com/watch\?v\=LGkASsEBAiY -o ufo-cbs-video.mp4 | |
| # brew install ffmpeg | |
| ffmpeg -i ufo-cbs-video.mp4.webm -q:a 0 -map a cbs-transcribed.mp3 | |
| # pip install git+https://github.com/openai/whisper.git | |
| whisper cbs-transcribed.mp3 | |
| ### example output |
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
| #!/bin/bash | |
| # Function to check if a command exists | |
| command_exists() { | |
| type "$1" &> /dev/null | |
| } | |
| # Function to gather system information | |
| function gather_system_info() { | |
| info="System Information Report\n" |
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
| JAMES | |
| JOHN | |
| ROBERT | |
| MICHAEL | |
| WILLIAM | |
| DAVID | |
| RICHARD | |
| CHARLES | |
| JOSEPH | |
| THOMAS |
NewerOlder