Skip to content

Instantly share code, notes, and snippets.

View finitud's full-sized avatar
💭
Not really using this account anymore, find me on the other one!

Alice Wyan finitud

💭
Not really using this account anymore, find me on the other one!
View GitHub Profile
@finitud
finitud / gist:227faa8e9d1c0188686156667738f95b
Created May 26, 2016 14:38
Why did you delete the org!?
Why did you delete the gender-construction-crew organisation and repos!!??
@finitud
finitud / twitter_force_unfollow.py
Created October 8, 2015 10:15 — forked from coilysiren/twitter_force_unfollow.py
A twitter script to force unfollow all the people that follow you, but you don't follow back. Best used with private accounts
# internal
import time
# external
import flask
from twython import Twython
# local
from env import ENV
@finitud
finitud / keybase.md
Created August 15, 2015 11:01
keybase.md

Keybase proof

I hereby claim:

  • I am finitud on github.
  • I am wyan (https://keybase.io/wyan) on keybase.
  • I have a public key whose fingerprint is BE5D 4A79 E97C 8550 DF1F 19CB A6F8 8D77 B0EE F94D

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<script type="text/javascript" src="http://mbostock.github.io/d3/talk/20111018/d3/d3.js"></script>
<script type="text/javascript" src="http://mbostock.github.io/d3/talk/20111018/d3/d3.csv.js"></script>
<script type="text/javascript" src="http://mbostock.github.io/d3/talk/20111018/d3/d3.time.js"></script>
<style type="text/css">
svg {
The houses of parliament netblock is publicly listed:
https://apps.db.ripe.net/search/lookup.html?source=ripe&key=194.60.0.0%20-%20194.60.63.255&type=inetnum
Despite their unwillingness to reveal the UK parliament web proxies in an FOI
request, wikipedia allows you to query for /24 blocks. 63 wikipedia queries
later, and here's the list of every IP address that has made a wikipedia edit
from the UK parliament netblock.
194.60.62.36 7 found
@finitud
finitud / README.md
Created October 12, 2013 12:06 — forked from nikcub/README.md
This is my tech blog
@finitud
finitud / .bashrc
Created March 8, 2013 14:52 — forked from jashkenas/.bashrc
# MAC manipulators
alias random_mac='sudo ifconfig en0 ether `openssl rand -hex 6 | sed "s/\(..\)/\1:/g; s/.$//"`'
alias restore_mac='sudo ifconfig en0 ether YOUR_ORIGINAL_MAC_ADDRESS_GOES_HERE'
;; finitud's solution to A nil key
;; https://4clojure.com/problem/134
(fn [key map] (nil? (get map key ())))
@finitud
finitud / gist:2054209
Created March 17, 2012 01:37
The Zen of R
# I am a scientist who has been using R for about 2 years. Today I achieved a measure of enlightenment into
# the zen of R, and I want to share it with you.
# I was simulating a set of independent random walks, which are formed by a multiplicative process. Here is
# the code I had built up over a few months of working on it and modifying it on and off as research
# questions changed:
TimeSteps <- 1000
Walks <- 100
ErrorMagnitude <- 0.03