Skip to content

Instantly share code, notes, and snippets.

View pringlized's full-sized avatar

Jim Pringle pringlized

View GitHub Profile
@TheBigSadowski
TheBigSadowski / anon.js
Last active April 27, 2021 11:18
Random IP address generator for anonymizing data.
randomByte = function() {
return Math.round(Math.random()*256);
}
randomIp = function() {
var ip = randomByte() +'.' +
randomByte() +'.' +
randomByte() +'.' +
randomByte();
if (isPrivate(ip)) return randomIp();
@JosefJezek
JosefJezek / how-to-use-pelican.md
Last active May 12, 2024 11:19
How to use Pelican on GitHub Pages