Skip to content

Instantly share code, notes, and snippets.

View sincerefly's full-sized avatar
🎯
Focusing

Yieldone sincerefly

🎯
Focusing
View GitHub Profile
@sincerefly
sincerefly / asesprite.sh
Last active April 12, 2026 12:52 — forked from ezefranca/asesprite.sh
Install Aseprite.app on Macs ARM (M Family)
#!/usr/bin/env bash
set -euo pipefail
# === CONFIGURE THESE ===
ASE_DIR="$HOME/src/aseprite" # base directory for the work
SKIA_TAG="m124-08a5439a6b" # adjust based on Aseprite’s required Skia version Eg. m124-08a5439a6b
SKIA_URL="https://github.com/aseprite/skia/releases/download/${SKIA_TAG}/Skia-macOS-Release-arm64.zip"
# You may need to update SKIA_TAG/URL based on the version listed in the INSTALL.md of Aseprite.
APP_NAME="Aseprite.app"
# =======================
@sincerefly
sincerefly / async-await.js
Created January 24, 2020 13:38 — forked from wesbos/async-await.js
Simple Async/Await Example
// 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works
const axios = require('axios'); // promised based requests - like fetch()
function getCoffee() {
return new Promise(resolve => {
setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee
});
}