Bonus points if you can guess which city each color represents on the map above and tell us the methodology you used to figure it out.
User Coordinates / Server Lookup get a list of user coordinates and the WP servers they are connected to.
https://ac-map.automattic.com/?g=wpcom&cc=&callback=jsonpcallback
https://ac-map.automattic.com/?g=[SERVICE]&cc=[COUNTRY_CODE]&callback=[CALLBACK_FUNCTION]
Anycast Map contains a script block with the answer
https://ac-map.automattic.com/?w=589h=295
https://ac-map.automattic.com/?w=[WIDTH]h=[HEIGHT]
dcss["dfw"] = new Array(255,255,255); // #FFFFFF White
dcss["dca"] = new Array(240,163,255); // #F0A3FF Amethyst
dcss["lax"] = new Array(0,117,220); // #0075DC Blue
dcss["ord"] = new Array(153,63,0); // #993F00 Caramel
dcss["sjc"] = new Array(76,0,92); // #4C005C Damson
dcss["UND"] = new Array(25,25,25); // #191919 Ebony - too hard to see on black bg
dcss["mxp"] = new Array(0,92,49); // #005C31 Forest
dcss["nrt"] = new Array(43,206,72); // #2BCE48 Green
dcss["arn"] = new Array(255,204,153); // #FFCC99 Honeydew
dcss["atl"] = new Array(128,128,128); // #808080 Iron
dcss["jnb"] = new Array(148,255,181); // #94FFB5 Jade
dcss["sea"] = new Array(143,124,0); // #8F7C00 Khaki
dcss["bur"] = new Array(157,204,0); // #9DCC00 Lime
dcss["5am"] = new Array(194,0,136); // #C20088 Mallow
dcss["ewr"] = new Array(0,51,128); // #003380 Navy
dcss["sat"] = new Array(255,164,5); // #FFA405 Orpiment
dcss["hkg"] = new Array(255,168,187); // #FFA8BB Pink
dcss["syd"] = new Array(66,102,0); // #426600 Quagmire
dcss["lhr"] = new Array(255,0,16); // #FF0010 Red
dcss["fra"] = new Array(94,241,242); // #5EF1F2 Sky
dcss["den"] = new Array(0,153,143); // #00998F Turquoise
dcss["mad"] = new Array(224,255,102); // #E0FF66 Uranium
dcss["kix"] = new Array(116,10,255); // #740AFF Violet
dcss["cdg"] = new Array(153,0,0); // #990000 Wine
dcss["vie"] = new Array(255,255,128); // #FFFF80 Xanthin
dcss["mia"] = new Array(255,255,0); // #FFFF00 Yellow
dcss["gru"] = new Array(255,80,5); // #FF5005 Zinnia
dcss["bom"] = new Array(191,255,0); // #BFFF00 Light Lime
dcss["tpe"] = new Array(220,20,60); // #DC143C Crimson
dcss["yyz"] = new Array(255,127,80); // #FF7F50 Coral
dcss["sin"] = new Array(252,15,192); // #FC0FC0 Hot Pink
dcss["ams"] = new Array(255,165,0); // #FC0FC0 Orange
When you make a GET request to:
https://public-api.wordpress.com/wpcom/v2/work-with-us
with a headerX-future: automattician
you will receive a secret. What is it?
Open Terminal and enter:
curl https://public-api.wordpress.com/wpcom/v2/work-with-us -H "X-future: automattician"
Response:
{"secret":"YYYY-MM-DD-XXXXXXXXXX"}