Skip to content

Instantly share code, notes, and snippets.



Created Apr 12, 2015
What would you like to do?
A way to generate all the country code reddit domains, and then some.
// Why? Because I wanted to blacklist them in my /etc/hosts file.
// This does not cover the subdomains, but those redirect to
var letters = Array(
var fletter = '';
var sletter = '';
function lprint(letter, index, array) {
sletter = letter
console.log(fletter + sletter + '' );
function sletters(letter, index, array) {
fletter = letter;

This comment has been minimized.

Copy link
Owner Author

@benlk benlk commented Apr 12, 2015

There's got to be a better way to do the generation that the three global variables that I have here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment