Skip to content

Instantly share code, notes, and snippets.

Avatar

Eris Blastar ErisBlastar

View GitHub Profile
@ErisBlastar
ErisBlastar / twitter_favouriter.py
Last active Oct 19, 2020 — forked from jmoz/twitter_favouriter.py
Fixes UTF-8 UNICODE character problem when pulling text from Tweets to stop an error.
View twitter_favouriter.py
# Original by James Morris JMOZ at: http://blog.jmoz.co.uk/increase-your-twitter-followers/
# Modified by Eris Blastar http://iwethey.neocities.org/ erisblastar@gmail.com 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 https://pypi.python.org/pypi/twitter
# plus the setuptool to install the library the Windows version is here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
# You need your API key from https://dev.twitter.com/discussions/631 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
View gist:8394455
// 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
View rsa-not-buying-it.md

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

View gist:7258735
#!/usr/bin/perl
use Mysql;
use strict;
use vars qw($school_name);
use vars qw($pass);
require "./cgi-lib.pl";
View haskell-literate.lang
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of GtkSourceView
Authors: Duncan Coutts
Copyright (C) 2007 Duncan Coutts <duncan@haskell.org>
GtkSourceView is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public