Skip to content

Instantly share code, notes, and snippets.

@ddevault
Created January 28, 2013 06:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddevault/70ea01bdf611e4d35999 to your computer and use it in GitHub Desktop.
Save ddevault/70ea01bdf611e4d35999 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TableGenerator
{
class Program
{
static void Main(string[] args)
{
var stream = new StreamWriter("output.txt");
for (int i = 1; i <= 649; i += 16)
{
string line = "|" + i + "-" + (i + 15) + "|";
for (int j = 0; j < 16; j++)
line += "|[](/message/compose/?to=pokemon-flair&subject=Set+flair&message=" + (i + j) + ")";
stream.WriteLine(line + "|");
stream.Flush();
}
stream.Close();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment