Skip to content

Instantly share code, notes, and snippets.

View ento's full-sized avatar

ento

View GitHub Profile
from __future__ import print_function
import os
import re
from collections import Counter
import itertools
import argparse
import json
import requests

Keybase proof

I hereby claim:

  • I am ento on github.
  • I am ento (https://keybase.io/ento) on keybase.
  • I have a public key ASDgeLKyfvN8jvLE_5uy5MM0ff15a_SntDGs_iitTYnIiQo

To claim this, I am signing this object:

@ento
ento / deploying-deepanimebot-to-gke.sh
Last active July 23, 2016 20:40
Deploying DeepAnimeBot to GKE
gcloud container clusters create deepanimebot --machine-type g1-small --num-nodes 1
# to setup process based monitoring
gcloud compute ssh $(kubectl get nodes --output=jsonpath={.items[*].metadata.name})
curl -O https://repo.stackdriver.com/stack-install.sh
sudo bash stack-install.sh --write-gcm
sudo /opt/stackdriver/stack-config --api-key XXXXXXXXXXXXXXXXXXXXXX
sudo service stackdriver-extractor start
# create stuff
@ento
ento / gdc2016_personal_schedule.csv
Created March 7, 2016 01:41
GDC 2016 sessions I've bookmarked
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 2.
"session title","start time","end time","duration","day","description","takeaway","intended audience","location","tracks","format","passes","speakers","gdc vault recording"
"A Course About Game Balance","2016-03-14 13:20:00","2016-03-14 13:50:00","30-Minute","Monday","Game balance is a task that must be performed on virtually every game, and is thus vitally important to a game designer. Yet there are no textbooks, few writings, and even fewer classes that look at this niche topic in depth. What would a game balance course look like? In this session, game designer and educator Ian Schreiber will present a summary of his college-level course in game balance, examining the major topics covered in the syllabus and a set of assignments that can be used to further build balance skills by putting the theory into practice.","The audience will leave with an understanding of the realistic scope of a battle-tested course in game balance, and the kinds of topics and assignments that might be covered in such a course were
@ento
ento / .gitignore
Last active January 25, 2016 19:58
benchmarks for elm-format PRs #121 and #122
/dist/
/cabal.sandbox.config
/.cabal-sandbox/
@ento
ento / snippet.js
Last active September 30, 2017 17:24
devtools snippet: console.log(github_issue_list_as_markdown)
var s = $(".table-list-item").map(function() {
var $this = $(this);
var title = $this.find(".issue-title-link").text().trim();
var labels = $this.find(".labels a").map(function() {
return "[" + $(this).text().trim() + "]";
}).get().join("");
var id = $this.attr("id").replace("issue_", "#");
var url = $this.find(".issue-title-link").attr("href");
return "[" + id + " " + title + (labels ? " " + labels : "") + "](https://github.com" + url + ")";
}).get().join("\n");
@ento
ento / README.md
Last active December 31, 2015 02:43 — forked from mbostock/.block
Treemap of Stack Exchange Sites

Stack Exchangeのサイトをさまざまな指標にもとづいたツリーマップで表示します。色分けはサイト一覧上のカテゴリによります。

02 # Number of bytes that follow in first AD structure
01 # Flags AD type
1A # Flags value 0x1A = 000011010  
   bit 0 (OFF) LE Limited Discoverable Mode
   bit 1 (ON) LE General Discoverable Mode
   bit 2 (OFF) BR/EDR Not Supported
   bit 3 (ON) Simultaneous LE and BR/EDR to Same Device Capable (controller)
   bit 4 (ON) Simultaneous LE and BR/EDR to Same Device Capable (Host)
1A # Number of bytes that follow in second (and last) AD structure

FF # Manufacturer specific data AD type

@ento
ento / index.html
Last active August 29, 2015 14:02
<!DOCTYPE html>
<html>
<style>
.centered {
position: fixed;
left: 50%;
top: 50%;
}
#message {
width: 10em;

KANON protocol for ACL injury/reconstructive surgey rehabilitation

Source: Supplementary Appendix for "Frobell RB, Roos EM, Roos HP, Ranstam J, Lohmander LS. A randomized trial of treatment for acute anterior cruciate ligament tears. N Engl J Med. 2010;363(4):331-42."

The protocol included four levels described by exercise examples and goals for range of motion, muscle function, and functional performance for the first 24 weeks of rehabilitation. Goals for each level should be met prior to progression to the next level. Time intervals for each level were suggested but not superior to the goals. A slower progression was expected in those assigned to rehabilitation plus ACL reconstruction. Pain, swelling and discomfort slowed the progression, and if persistent a visit to the treating clinician was scheduled. Use of anti- inflammatory drugs (NSAID) was allowed if needed.

Examples of exercises appropriate for each ph