Skip to content

Instantly share code, notes, and snippets.

View ErisBlastar's full-sized avatar

Eris Blastar ErisBlastar

View GitHub Profile
ErisBlastar /
Last active October 19, 2020 07:48 — forked from jmoz/
Fixes UTF-8 UNICODE character problem when pulling text from Tweets to stop an error.
# Original by James Morris JMOZ at:
# Modified by Eris Blastar to encode UTF-8 strings in case
# of foriegn language and odd characters. PS you will need Python 2.7 as Python 3.X won't work
# and of course the Twitter library
# plus the setuptool to install the library the Windows version is here:
# You need your API key from and make sure it isn't set to
# read-only when you make the access token.
# Good luck, Eris.
from twitter import Twitter, OAuth, TwitterHTTPError
use Mysql;
use strict;
use vars qw($school_name);
use vars qw($pass);
require "./";

Sorry, RSA, I'm just not buying it

I want to be extremely clear about three things. First, this is my personal opinion – insert full standard disclaimer. Second, this is not a condemnation of everyone at RSA, present and past. I assume most of them are pretty okay, and that the problem is confined to a few specific points in the company. However, “unknown problem people making major decisions at RSA” is a bit unwieldy, so I will just say RSA. Third, I'm not calling for a total boycott on RSA. I work almost literally across the street from them and I don’t want to get beat up by roving gangs of cryptographers at the local Chipotle.

RSA's denial published last night is utter codswallop that denies pretty much everything in the world except the actual allegations put forth by Reuters and hinted at for months by [other sources](http://li

// SymSpell: 1000x faster through Symmetric Delete spelling correction algorithm
// The Symmetric Delete spelling correction algorithm reduces the complexity of edit candidate generation and dictionary lookup
// for a given Damerau-Levenshtein distance. It is three orders of magnitude faster and language independent.
// Opposite to other algorithms only deletes are required, no transposes + replaces + inserts.
// Transposes + replaces + inserts of the input term are transformed into deletes of the dictionary term.
// Replaces and inserts are expensive and language dependent: e.g. Chinese has 70,000 Unicode Han characters!
// Copyright (C) 2012 Wolf Garbe, FAROO Limited
// Version: 1.6
<?xml version="1.0" encoding="UTF-8"?>
This file is part of GtkSourceView
Authors: Duncan Coutts
Copyright (C) 2007 Duncan Coutts <>
GtkSourceView is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public