Skip to content

Instantly share code, notes, and snippets.

View ArthurAttout's full-sized avatar
🦓
Warp speed. Don't rainbow-read me.

Arthur Attout ArthurAttout

🦓
Warp speed. Don't rainbow-read me.
View GitHub Profile
@ArthurAttout
ArthurAttout / recaman.html
Created July 3, 2018 10:40
An HTML file to visualize the Recaman Sequence with an arbitrary upper bound, using Javascript
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<canvas id="myCanvas" width="9000" height="1500" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.</canvas>
@ArthurAttout
ArthurAttout / stations.json
Created December 13, 2018 18:59
Station names for London Tube
{"BST":"Baker Street","CHX":"Charing Cross","ERB":"Edgware Road (Bakerloo)","ELE":"Elephant and Castle","EMB":"Embankment","HSD":"Harlesden","HAW":"Harrow and Wealdstone","KGN":"Kensal Green","KNT":"Kenton","KPK":"Kilburn Park","LAM":"Lambeth North","MDV":"Maida Vale","MYB":"Marylebone","NWM":"North Wembley","OXC":"Oxford Circus","PAD":"Paddington","PIC":"Piccadilly Circus","QPK":"Queen's Park","RPK":"Regent's Park","SKT":"South Kenton","SPK":"Stonebridge Park","WAR":"Warwick Avenue","WLO":"Waterloo","WEM":"Wembley Central","WJN":"Willesden Junction","BNK":"Bank","BDE":"Barkingside","BNG":"Bethnal Green","BDS":"Bond Street","BHL":"Buckhurst Hill","CYL":"Chancery Lane","CHG":"Chigwell","DEB":"Debden","EBY":"Ealing Broadway","EAC":"East Acton","EPP":"Epping","FLP":"Fairlop","GHL":"Gants Hill","GRH":"Grange Hill","GFD":"Greenford","HAI":"Hainault","HLN":"Hanger Lane","HOL":"Holborn","HPK":"Holland Park","LAN":"Lancaster Gate","LEY":"Leyton","LYS":"Leytonstone","LST":"Liverpool Street","LTN":"Loughton","MAR":"Mar
@ArthurAttout
ArthurAttout / lines.json
Created December 13, 2018 19:06
Subway lines for London Tube
{"B":"Bakerloo","C":"Central","D":"District","H":"Hammersmith & Circle","J":"Jubilee","M":"Metropolitan","N":"Northern","P":"Piccadilly","V":"Victoria","W":"Waterloo & City"}
@ArthurAttout
ArthurAttout / stations_line.json
Created December 13, 2018 19:07
Stations on each line for London Tube
{"B":["BST","CHX","ERB","ELE","EMB","HSD","HAW","KGN","KNT","KPK","LAM","MDV","MYB","NWM","OXC","PAD","PIC","QPK","RPK","SKT","SPK","WAR","WLO","WEM","WJN"],"C":["BNK","BDE","BNG","BDS","BHL","CYL","CHG","DEB","EBY","EAC","EPP","FLP","GHL","GRH","GFD","HAI","HLN","HOL","HPK","LAN","LEY","LYS","LST","LTN","MAR","MLE","NEP","NAC","NHT","NHG","OXC","PER","QWY","RED","ROD","RUG","SBC","SNB","SRP","SWF","STP","SFD","THB","TCR","WAN","WAC","WRP","WCT","WFD"],"D":["ACT","ALE","BKG","BCT","BEC","BLF","BWR","BBB","CST","CHP","DGE","DGH","EBY","ECM","ECT","EHM","EPY","ERD","EPK","EMB","FBY","GRD","GUN","HMD","HST","HCH","OLY","KEW","MAN","MLE","MON","OLY","PGR","PLW","PUT","RCP","RMD","SSQ","SKN","SFS","SJP","STB","STG","TEM","THL","TGR","UPM","UPB","UPY","UPK","VIC","WBT","WHM","WKN","WMS","WCL","WDN","WMP"],"H":["ALD","ALE","BST","BAR","BKG","BLF","BWR","BBB","CST","EHM","ERD","EMB","ESQ","FAR","GRD","GPS","HMS","HST","KXX","LST","MAN","MLE","MON","MGT","PAD","PLW","SSQ","SKN","SJP","STG","TEM","THL","UPK","VIC","WHM
{"Firstname":"Christophe","Lastname":"Leclère"}