Skip to content

Instantly share code, notes, and snippets.

パフェのための基礎理論

テトリス Advent Calendar 2017 3日目の記事になります。

こんにちは。newjade と申します。普段はパフェ用のツールを作りつつ、理論値を調べているパフェ屋さんです。だいたい twitter に出没しています。

今回の記事は、連パフェについてです。ワールドルールを基準に書いています。 パフェ自体、これまではまとまった資料がほとんどありませんでした(テト界隈だとあまり人気がなさげ)。

ただ最近になり、harddropのwikiに開幕パフェの記事が掲載されました。

@jamescmartinez
jamescmartinez / slack_delete.rb
Last active January 4, 2021 21:28
This Ruby script will bulk remove all Slack files older than 30 days. Just add your API token from https://api.slack.com/web#authentication into the token quotes at the top of the file.
require 'net/http'
require 'json'
require 'uri'
@token = ''
def list_files
ts_to = (Time.now - 30 * 24 * 60 * 60).to_i # 30 days ago
params = {
token: @token,