Skip to content

Instantly share code, notes, and snippets.

View miou-gh's full-sized avatar

miou miou-gh

  • Canada
View GitHub Profile
// ==UserScript==
// @name AutoRep
// @namespace arf
// @description arf
// @include /^https?://forums.everybodyedits\.com/.*$/
// @version 1
// @grant GM_xmlhttpRequest
// @author atillabyte
// ==/UserScript==
var users = [];
### Keybase proof
I hereby claim:
* I am atillabyte on github.
* I am atilla (https://keybase.io/atilla) on keybase.
* I have a public key whose fingerprint is F157 FFAE BBDB 6530 DFFB 6621 5B61 8A03 F266 333D
To claim this, I am signing this object:
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Xml;
using System.Xml.Serialization;
using ChatSharp;
// ==UserScript==
// @name HideForumGames
// @namespace hideforumgames
// @include https://forums.everybodyedits.com/search.php?action=show_new
// @include http://forums.everybodyedits.com/search.php?action=show_new
// @version 1
// @grant none
// @author Atilla Lonny | _@atil.la
// ==/UserScript==
@miou-gh
miou-gh / RandomWord.cs
Last active February 15, 2017 16:54
Generate a Random Pronouncable Word
public static class RandomWord
{
private static List<string> Consonants = new List<string>() {
// single consonants. without 'q' since it's often awkward in words
"b", "c", "d", "f", "g", "h", "j", "k", "l", "m",
"n", "p", "r", "s", "t", "v", "w", "x", "z",
// possible combinations excluding those which cannot start a word
"pt", "gl", "gr", "ch", "ph", "ps", "sh", "st", "th", "wh",
};
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using AForge.Imaging;
using Image = System.Drawing.Image;
using Bitmap = System.Drawing.Bitmap;
using Rectangle = System.Drawing.Rectangle;
from random import shuffle
consonants = [
# single consonants. without 'q' since it's often awkward in words
"b", "c", "d", "f", "g", "h", "j", "k", "l", "m",
"n", "p", "r", "s", "t", "v", "w", "x", "z",
# possible combinations excluding those which cannot start a word
"pt", "gl", "gr", "ch", "ph", "ps", "sh", "st", "th", "wh",
]
@miou-gh
miou-gh / spt.py
Last active April 22, 2017 00:58
read/write WPE spt files
import bson
import struct
from enum import Enum
class SPT:
def __init__(self):
pass
class Packet:
import os
import re
import time
import json
import hashlib
import calendar
import requests
import threading
import html2text