Skip to content

Instantly share code, notes, and snippets.

Avatar
Advent of Code leaderboard contender

Unihedron Unihedro

Advent of Code leaderboard contender
View GitHub Profile
View gist:c9ac8ca4e1d6cd60bb19494f7f2875f6
#!/bin/bash
DAY=$(( $(date -d "$D" '+%d') ))
#DAY=9
echo "https://adventofcode.com/2020/day/$DAY/input"
while true;do
if [[ $(curl "https://adventofcode.com/2020/day/$DAY/input" -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'cookie: session=[my session cookie dun hack pls]' --compressed --output input -w "%{response_code}") != 404 ]]; then
stat input
head input
break
fi
View ptree-autohexes.user.js
//https://jacorb90.github.io/Prestige-Tree/index.html
setInterval(()=>{
var mreset=document.querySelector(".m.reset.can")
mreset&&mreset.click();
[].__proto__.forEach.call(document.querySelectorAll(".upg.can.m"),v=>v.click());
},1000)
View trimps-transp.css
body::before {
background-image: url(http://i.imgur.com/VcfVGtU.jpg) !important;
content: '';
position: fixed;
width: 100% !important;
height: 100% !important;
background-position: top center;
background-repeat: no-repeat;
background-size: cover;
z-index: -1;
View genesis_public_key
043b42757dae6f6668c60ec82a9a88f906ae56072315ebda3dba6327506ac1c5056473e3d01e81850fccdebb754e4ca5d78d6fe3db711bb914df283ecbbbe3df56;thibault
View out.txt
0: 1 1
1: 1 2
2: 2 4
3: 3 7
4: 3 10
5: 4 14
6: 5 19
7: 5 24
8: 6 30
9: 7 37
View out.txt
1: 50, 4.55e+31, 9.54e+9 at R0
2: 150, 3.77e+39, 8.68e+13 at R0
3: 300, 2.84e+51, 7.54e+19 at R0
4: 500, 1.95e+67, 6.24e+27 at R1
5: 750, 1.22e+87, 4.93e+37 at R4
6: 1050, 6.91e+110, 3.72e+49 at R8
7: 1400, 3.57e+138, 2.67e+63 at R13
8: 1800, 1.68e+170, 1.83e+79 at R18
9: 2250, 2.20e+185 (E290), 6.63e+86 at R24
10: 2750, 2.30e+220 (E290), 2.14e+104 at R26
View Public Tribo Games
{"type":"Tribo","status":"finished","players":[{"name":"meow","id":449},{"id":838,"name":"Cebolla"}],"scores":[52,48],"moves":"U¯V°WM®§aN¨OE¦\u009FYT\u009ES\u009D­R¬Q«\\ªf_´`jik[¾É]gpÓyÞqßr|êh}ë~\u0088éèxç\u0082Òd"}
{"type":"Tribo","status":"finished","players":[{"name":"CS-","id":1226},{"id":819,"name":"Retsam"}],"scores":[46,54],"moves":"TÂUÃS]ÄËIhºK°¥J@6ÀRµH«>?=¿¾¦<§\u009CrÊ|qÔÉÞ{Ï\u0085}sijaè7\u00925-Ùtã±~\u0088²»¼ÆílävåÇwªm"}
{"type":"Tribo","status":"finished","players":[{"name":"Retsam","id":819},{"id":1226,"name":"CS-"}],"scores":[56,44],"moves":"UÂ_ÍKTÌjËÖ×V`atáÕßâ\x7FìuÁ\u0089IÀµR¿JH«¢@6¡5£\u0098*\u0097+\u008DS"}
{"type":"Tribo","status":"finished","players":[{"name":"CS-","id":1226},{"id":687,"name":"Unihedron"}],"scores":[47,53],"moves":"T¹_º^»®`hS¯RI°¥¦¤\u009AÅ?kÎiØsg}âë|\u0099\u0086\u0098¢H¡\\GF ÆvÇìlíÑ\u0080uÛã\u008B\u008Eå\u008A"}
{"type":"Tribo","status":"finished","players":[{"name":"Unihedron","id":687},{"id":1226,"name":"CS-"}],"scores":[63,37],"moves":"T¹^ÃJi¯ÌjËkaÊÀWI¶°Hs±Ö}|º{X¦¥Y?
View gist:3fae3ab6f7b3d06c0565
Win a hourly bullet/blitz tournament by opening every game
with the bongcloud (http://www.chessmastery.com/bongcloud.pdf).
Rules:
- As white, start with 1. e4 -- 2. ke2
- As black, start with 1. -- e5 2. -- ke7
- Tournament must have, at the end, >= 50 players for bullet, or >= 80 for blitz
- You must win every game.
@Unihedro
Unihedro / syntax.md
Last active Aug 29, 2015
Syntax for MSE Room 766 (Closevotes)
View syntax.md

Messages should be in the following syntax:

{CloseType} {Link}

Where {CloseType} is:

Any of:
  {ShortCloseReasonType}
  OffTopic/{OffTopicID}