Skip to content

Instantly share code, notes, and snippets.

View xc2's full-sized avatar
💭
I may be slow to respond.

kfll xc2

💭
I may be slow to respond.
View GitHub Profile
@xc2
xc2 / README.md
Last active June 22, 2024 03:32
Useful CIDRs
#!/usr/bin/env bash
args="--bundle --format=cjs --platform=node --target=node10 --charset=utf8 --minify"
pkg=$(node -p 'const pkg=require("./package.json");`${pkg.name}@${pkg.version}`')
banner="/**
* bundle ${pkg} with esbuild@$(esbuild --version) with args
* ${args}
* bundle script: https://gist.github.com/xc2/2c6b8b8da576fbb613450a675fdb6329
*/"
@xc2
xc2 / index.html
Last active January 10, 2017 13:54
Strip Image Privacy Informations
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Strip Image Privacy Informations</title>
</head>
<body>
<input type="file" id="hello">
<div style="position: absolute; z-index: -1;">