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
import itertools | |
from PIL import Image | |
SIZE = 4096 | |
RAD = SIZE / 4.0 | |
result = Image.new("L", (SIZE, SIZE)) | |
for r, i in itertools.product(range(SIZE), repeat=2): |
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
>+++++ | |
[->+<] | |
+ | |
>[->+>+<<]>>[-<<+>>] | |
<- | |
[ | |
<[<[-<+>>>>>+<<<<]>>>>[-<<<<+>>>>]<<<-]<[-] | |
>>[->+<<+>]>[-<+>] | |
<<<<[->+<] |
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
>>[->+<] | |
<[->+<] | |
+ | |
>[->>+>+<<<]>>>[-<<<+>>>] | |
<<[ | |
- | |
<[<[-<+>>>>>+<<<<]>>>>[-<<<<+>>>>]<<<-] | |
<[-] | |
<[->+<] | |
>>>>[->+<<<+>>]>[-<+>] |
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
class FiniteAutomata: | |
def __init__(self, alphas, transitions): | |
self.__state = 0 | |
self.__alphas = set(alphas) | |
self.__transitions = transitions | |
def reset(self): | |
self.__state = 0 | |
def readone(self, ch): |
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
#!/bin/sh | |
countdown () { | |
sec=$1 | |
while [ $sec -ge 0 ]; do | |
echo -ne "Waiting for $sec seconds...\033[0K\r" | |
let "sec = sec - 1" | |
sleep 1 | |
done | |
} |
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
fizzbuzzStr n | |
| n `mod` 15 == 0 = "FizzBuzz" | |
| n `mod` 5 == 0 = "Buzz" | |
| n `mod` 3 == 0 = "Fizz" | |
| otherwise = show n | |
main = do | |
s <- getLine | |
let n = read s :: Int | |
mapM putStrLn $ fizzbuzz n |
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
・この技術部には問題がある! (methane,kizkoh,mecha_g3) | |
・山形組 (@nihen,@wakegisky,) | |
・Anago (imos,iwiwi,zuisou) | |
・negainoido (atetubou,flowligth,Tailed) | |
・流れ弾 (Konboi,tkuchiki,hilotter) | |
・坂寝 (kal,neguse,saki) | |
・それぞれの椅子 (kamipo,Yappo,kan) | |
・一元 (jfut,userland,) | |
・しましまスペシャル (hokaccha,osada,wata) | |
・morimoto組 (moshisora,fujiwara,浅利) |
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
A(3, 3) | |
=A(3, 3) | |
=A(2, A(3, 2)) | |
=A(2, A(2, A(3, 1))) | |
=A(2, A(2, A(2, A(3, 0)))) | |
=A(2, A(2, A(2, A(2, 1)))) | |
=A(2, A(2, A(2, A(1, A(2, 0))))) | |
=A(2, A(2, A(2, A(1, A(1, 1))))) | |
=A(2, A(2, A(2, A(1, A(0, A(1, 0)))))) | |
=A(2, A(2, A(2, A(1, A(0, A(0, 1)))))) |
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
{ | |
"id": "459004307", | |
"source": "twitter", | |
"word_count": 2758, | |
"word_count_message": "入力されたのは 2,758 語でした。 統計的に意味のある概算値を計算するためには最低 3,500 語、6,000 語以上が好ましい語数です", | |
"processed_lang": "ja", | |
"tree": { | |
"id": "r", | |
"name": "root", | |
"children": [ |
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
浅利七海 2 | |
浅利七海->佐藤心->佐々木千枝 | |
城ヶ崎美嘉 2 | |
城ヶ崎美嘉->千川ちひろ->佐々木千枝 | |
安部菜々 2 | |
安部菜々->ライラ->佐々木千枝 | |
早坂美玲 2 | |
早坂美玲->ライラ->佐々木千枝 | |
キャシー・グラハム 2 | |
キャシー・グラハム->成宮由愛->佐々木千枝 |