Skip to content

Instantly share code, notes, and snippets.

Being in school

Ryan Cao ryanccn

Being in school
View GitHub Profile
ryanccn /
Last active Sep 21, 2022
An experiment with Modrinth and Carbon Ads, an open letter on the issue & a response from team

Modrinth Ad Experiment

Update 2022/9/20 🎉💯

The Modrinth team had contacted Carbon Ads, and as it turns out, Google DoubleClick integration could be turned off. So now DoubleClick is no longer present on the Modrinth website! 🎉🎉🎉

Thank you to the Modrinth team for prioritizing user privacy 😉

Update 2022/9/15

View mod.ts
import { writeAll } from '';
import pLimit from '';
const exists = async (imgId: string) => {
try {
await Deno.stat(`./downloads/${imgId}.jpg`);
} catch {
return false;
ryanccn / uninstall.ts
Created May 10, 2021
Better `brew uninstall`
View uninstall.ts
import {
} from "";
const packageName = Deno.args[0];
const logPrefix = gray("(brew-uninstall)");