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/zsh | |
ARCH=arm64 # this is for MacBook Silicon-based (e.g. M1, M2, M3...) | |
VERSION="v0.19.3" # ATTOW this was the version; update if needed | |
curl -LO https://github.com/docker/buildx/releases/download/${VERSION}/buildx-${VERSION}.darwin-${ARCH} | |
mkdir -p ~/.docker/cli-plugins | |
mv buildx-${VERSION}.darwin-${ARCH} ~/.docker/cli-plugins/docker-buildx | |
chmod +x ~/.docker/cli-plugins/docker-buildx | |
docker buildx version # verify installation |
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
#!/opt/homebrew/bin/python3 | |
import sys | |
import urllib.parse | |
import subprocess | |
if len(sys.argv) < 2: | |
print("Usage: python explainshell.py [shell command as string here]") | |
sys.exit(1) |
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
yes, i saw open journey. thanks. |
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
<!-- HTML Boilerplate --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Drop</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
</head> | |
<body class="p-4 max-w-lg"> | |
<h1 class="font-bold">Simple DataTransfer demo</h1> |
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
say 'Hey, can we make the ramen now?' |
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
function scrapeQuestionsFromMagooshReviewPage() { | |
// I think this only works on Firefox, since they add the tbody element. | |
const table = $('tbody tr') | |
const questions = []; | |
for(let node of table) { | |
const cleanText = t => t.replace(/\n/g,''); | |
const parsedNode = { | |
correct: node.querySelector('.correct-sprite') != null, | |
title: node.querySelectorAll('td')[1].textContent, |