Stack Exchangeのサイトをさまざまな指標にもとづいたツリーマップで表示します。色分けはサイト一覧上のカテゴリによります。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO $$ | |
DECLARE ratio float; | |
DECLARE statuses_count integer; | |
DECLARE conversations_count integer; | |
DECLARE notifications_count integer; | |
DECLARE media_attachments_count integer; | |
DECLARE oauth_access_tokens_count integer; | |
DECLARE stream_entries_count integer; | |
DECLARE favourites_count integer; | |
DECLARE mentions_count integer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name auto nya-n (unlock by speech recognition) | |
// @namespace https://github.com/unarist/ | |
// @include https://*/web/* | |
// @conrtibutor pacochi https://gist.github.com/pacochi/4295d00d6368c53921047d2a90dca8b5 | |
// @version 1.170908 | |
// @description nya-n | |
// @downloadURL https://gist.github.com/unarist/d71b04702091fe5a8143af26b78410da/raw/auto_nya-n_s_rec.user.js | |
// @run-at document-idle | |
// @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Main> simulation State {...} 適当な秒数 | |
module Main where | |
data State = State { | |
baseCost:: Integer, -- 初期コスト。これを元にコストが計算される。 | |
baseCpS:: Integer, -- 一基あたりのCpS。baseって名づけたけどこっちは変動なし。 | |
buildingCount:: Int, -- 所有数。 | |
totalCpS:: Integer, -- 全体のCpS。baseCpSを足していくだけなので、最初から値を入れておけばずらせる。 | |
totalCookies:: Integer -- クッキーおいしい。 |