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 | |
#!/bin/sh | |
# Download script written by Wowfunhappy. Last updated 2025/03/07. | |
# Thank you to Krackers, Jazzzny, and others for helping analyze Apple's download process and debug this script. | |
# Thank you to dosdude1 for donating identifiers from a broken Mac. | |
# Any mistakes are mine alone. | |
BOARD_SERIAL_NUMBER="C0243070168G3M91F" |
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/sh | |
# Create a bootable ISO from the OS X Mavericks app | |
# http://thezinx.com/misc/trend/create-bootable-dmg-iso-mavericks-app/ | |
if [ ! -f /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg ]; then | |
echo "Download the OS X Mavericks App and then rerun this script." | |
open "https://itunes.apple.com/us/app/os-x-mavericks/id675248567" | |
exit 1 | |
fi |
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
# Install coreutils from source on Mac OS X | |
# prepare workspace | |
mkdir -p ~/code/build-from-src/ && cd $_ | |
# download source code | |
curl -LO https://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz | |
# expand | |
tar -xJvf coreutils-8.31.tar.xz |
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
$ git clone [email protected]:xxxxx/xxxx.git my-awesome-proj | |
Cloning into 'my-awesome-proj'... | |
ssh: connect to host github.com port 22: Connection timed out | |
fatal: Could not read from remote repository. | |
$ # This should also timeout | |
$ ssh -T [email protected] | |
ssh: connect to host github.com port 22: Connection timed out | |
$ # but this might work |
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
javascript:/* Adblock Simple */ | |
(function(){ | |
const exceptOrigins = [ | |
'https://disqus.com', | |
document.origin | |
]; | |
function remIF(e){ | |
try{ | |
var orgn = new URL(e.src || 'http://unknown-src').origin; |
javascript:void (async () => { let { default: TD } = await import("https://cdn.skypack.dev/turndown"); let json = [ ...document.querySelectorAll(".text-base"), ].map((i) => ({ html: i.innerHTML, text: i.innerText, markdown: new TD().turndown(i), isPrompt: !i.querySelector(".prose"), })); window.open( URL.createObjectURL( new Blob( [ json .map((i) => i.isPrompt ? `**Prompt**: ${i.text}` : `**ChatGPT**: ${i.markdown}` ) .join("\n\n"), ], { type: "text/plain" } ) ) ); })()
Get a quick answer from google for any question
(async function answer(q) {
var html = await fetch(
`https://cors.explosionscratc.repl.co/google.com/search?q=${encodeURI(q)}`,
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
total 3896 | |
lrwxr-xr-x 1 root wheel 68 12 15 06:43 apfs_hfs_convert -> ../System/Library/Filesystems/apfs.fs/Contents/Resources/hfs_convert | |
-rwxr-xr-x 1 root wheel 187424 12 15 06:43 apfs_unlockfv | |
-rwxr-xr-x 1 root wheel 153664 12 15 06:43 disklabel | |
-rwxr-xr-x 1 root wheel 133936 12 15 06:43 dmesg | |
-rwxr-xr-x 1 root wheel 135088 12 15 06:43 dynamic_pager | |
-rwxr-xr-x 1 root wheel 205328 12 15 06:43 fibreconfig | |
-r-xr-xr-x 1 root wheel 135312 12 15 06:43 fsck | |
lrwxr-xr-x 1 root wheel 66 12 15 06:43 fsck_apfs -> ../System/Library/Filesystems/apfs.fs/Contents/Resources/fsck_apfs | |
-rwxr-xr-x 1 root wheel 374960 12 15 06:43 fsck_cs |
NewerOlder