Skip to content

Instantly share code, notes, and snippets.

@Sinistral2099
Sinistral2099 / 7z2zip
Last active July 21, 2021 18:31
Bash scripts for managing ROM files
#!/bin/bash
version="0.2"
if [ "$#" -ne 1 ]; then
echo "Usage: $(basename $0) [7z file]"
exit 0
fi
function error() {
@owyongsk
owyongsk / cf_chameleon.js
Last active July 21, 2026 21:05
A quick way to have Dropbox Public Folder for free using Cloudflare Workers! Inspired by https://github.com/owyongsk/chameleon.
/***
1. Create an app on your https://www.dropbox.com/developers/apps/create, choose "Dropbox API",
set permissions to "Apps folder", generate a token Refresh until image loads
2. Deploy this code to Cloudflare Workers.
3. Set your token as env variable DROPBOX_TOKEN in Cloudflare worker
4. Move all your files to your ~/Dropbox/Apps/'dropbox-app-name-earlier' folder
5. Look at your file at https://example.com/path/to/file.html if you have a
file ~/Dropbox/Apps/'dropbox-app-name-earlier'/path/to/file.html