Skip to content

Instantly share code, notes, and snippets.

View sustained's full-sized avatar
😓
working on website remake in Saber and exploring generative art and fractals

sustained sustained

😓
working on website remake in Saber and exploring generative art and fractals
View GitHub Profile
@sustained
sustained / wordlist
Last active August 29, 2015 14:19 — forked from pushmatrix/wordlist
man
kvinna
är
pojke
flicka
jag
en
han
hon
ett
jag reser I travel verb (finite)
jag kör I drive verb (finite)
det svänger it turns verb (finite)
utomlands abroad adverb
runt around adverb
södra southern adjective
amerikansk American adjective
kinesisk Chinese adjective
dansk Danish adjective
engelsk English adjective
jag reser I travel verb (finite)
jag kör I drive verb (finite)
det svänger it turns verb (finite)
utomlands abroad adverb
runt around adverb
södra southern adjective
amerikansk American adjective
kinesisk Chinese adjective
dansk Danish adjective
engelsk English adjective
@sustained
sustained / TextController.cs
Last active January 17, 2016 20:29
No idea why Gist does't like my tabstops....
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Linq;
using System.Collections.Generic;
/*
* This code is not particularly good (and the "story" is even worse, it's only supposed to be amusing).
*
* I'd even go so far as to say that the code is fairly bad. For one, it uses reflection when it probably
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Linq;
using System.Collections.Generic;
/*
* This code is not particularly good (and the "story" is even worse, it's only supposed to be amusing).
*
* I'd even go so far as to say that the code is fairly bad. For one, it uses reflection when it probably
[Fri Mar 25 2016 23:33:06 GMT+0000 (GMT)] INFO Connecting...
[Fri Mar 25 2016 23:33:07 GMT+0000 (GMT)] INFO Logged in as fikabot of Swedish, but not yet connected
[Fri Mar 25 2016 23:33:08 GMT+0000 (GMT)] INFO Slack client now connected
[Fri Mar 25 2016 23:33:09 GMT+0000 (GMT)] INFO hubot-redis-brain: Using default redis on localhost:****
[Fri Mar 25 2016 23:33:09 GMT+0000 (GMT)] INFO hubot-redis-brain: Data for hubot brain retrieved from Redis
Starting test (sustained).
Answer was correct (sustained).
Score: 1 / 40
Answer was correct (sustained).
Score: 2 / 40
setInterval(function(){
$( ".robin-message--message" ).each(function() {
var val = $( this ).html();
if ( val.indexOf('voted to ') || val.indexOf('Robin Autovoter') !== -1 || val.indexOf('Mins remaining') !== -1 || val.indexOf('zalgo') !== -1 || val.indexOf('Robin-Grow') !== -1 || val.indexOf('Ỏ̷͖͈̞̩͎̻̫̫̜͉̠̫͕̭̭̫̫̹̗̹͈̼̠̖͍͚̥͈̮̼͕̠̤̯̻̥̬̗̼̳̤̳̬̪̹͚̞̼̠͕̼̠̦͚̫͔̯̹͉͉̘͎͕̼̣̝͙̱̟̹̩̟̳̦̭͉̮̖̭̣̣̞̙̗̜̺̭̻̥͚͙̝̦̲̱͉͖͉̰̦͎̫̣̼͎͍̠̮͓̹̹͉̤') !== -1 ) {
$( this ).parent().remove();
}
});
}, 100);
setInterval(function(){
$( ".robin-message--message" ).each(function() {
var val = $( this ).html();
if ( val.indexOf('voted to') !== -1 || val.indexOf('Robin Autovoter') !== -1 || val.indexOf('Mins remaining') !== -1 || val.indexOf('zalgo') !== -1 || val.indexOf('Robin-Grow') !== -1 || val.indexOf('Ỏ̷͖͈̞̩͎̻̫̫̜͉̠̫͕̭̭̫̫̹̗̹͈̼̠̖͍͚̥͈̮̼͕̠̤̯̻̥̬̗̼̳̤̳̬̪̹͚̞̼̠͕̼̠̦͚̫͔̯̹͉͉̘͎͕̼̣̝͙̱̟̹̩̟̳̦̭͉̮̖̭̣̣̞̙̗̜̺̭̻̥͚͙̝̦̲̱͉͖͉̰̦͎̫̣̼͎͍̠̮͓̹̹͉̤') !== -1 ) {
$( this ).parent().remove();
}
});
}, 100);
var bannedUsers = [
"dippy1169",
"dwelm",
"jdwilsh",
"Hobodudepwnz"
];
var bannedStrings = [
"voted to",
"Robin Autovoter",
bower BrowserQuest#c3a960b03031dad5d install BrowserQuest#c3a960b030
github-buttons#3.0.0 website/client/bower_components/github-buttons
css-social-buttons#1.1.1 website/client/bower_components/css-social-buttons
swagger-ui#2.0.24 website/client/bower_components/swagger-ui
angular-loading-bar#0.6.0 website/client/bower_components/angular-loading-bar