This file contains 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
# OUTDATED: | |
# Head to https://gist.github.com/dcondrey/a078db324ea085843153582b9ffa253c | |
# for a revisited version which handles some special edge cases. | |
import copy | |
import fractions | |
def number_of_transients(matrix): | |
"""Get number of transients states. |
This file contains 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 Wipe threads on 2ch.hk | |
// @namespace https://2ch.hk/ | |
// @version 0.4.1 | |
// @description Wipes threads. Duh. | |
// @match https://2ch.hk/* | |
// ==/UserScript== | |
const wipeText = 'W'.repeat(12000); |
This file contains 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |
This file contains 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
import asyncio | |
import random | |
async def crumble(number: int) -> None: | |
print(f'Крошим залупу {number}...') | |
await asyncio.sleep(random.random()) | |
print(f'Залупа {number} покрошена.') | |