Skip to content

Instantly share code, notes, and snippets.

// Navigate to https://facebook.com/MY_PROFILE/photos_of
// Paste this code, it will download each image and click "next" then download the next one
// The delays are to avoid being blocked by facebook
// If it hits an error you can restart by calling download(300) again (or whatever number)
async function downloadImage(imageSrc) {
const image = await fetch(imageSrc);
const imageBlog = await image.blob();
const imageURL = URL.createObjectURL(imageBlog);
@flightmansam
flightmansam / readme.md
Last active March 10, 2025 21:08
Using a Studio Display with asahi linux

Preface: I f**king love where Asahi linux is going. After installing it on my macbook pro a year ago I have had an absolute blast getting it all up and running. I haven't ever had so much fun just enjoying the experience of an operating system.

I am one of those apple fanbois who setup a mac and a Studio Display. I have been itching to connect my display. But as I eagerly await USB-C DP (alt) mode support in Asahi I must make do with using the HDMI port of my Asahi Linux MacBook Pro. For those playing along at home, the Studio Display has only a usb-c port for display input. People (including Apple's own ambiguous advertising) mistake this to be a Thunderbolt only display however it is very happy connecting to any device that supports USB-C DP (alt) (I was even using my phone as a daily driver with the display for a cheeky bit there). Perhaps that's my fuzziness around the topic of USB-C/Thunderbolt3/4

I have been successful in connecting my display to th