๐ค
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
int main(void) { | |
int is_cpu_turn; | |
int default_fingers; | |
int game_end_flag = 0; | |
int user_left_fingers; | |
int user_raise_fingers; | |
int user_declared_number; | |
int cpu_left_fingers; |
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 math | |
def amount_of_information(expectation_value: float, probability: float) -> float: | |
retval = expectation_value * math.log2(1.0/probability) | |
return retval | |
events = {"sunny": 0.40, "cloudy": 0.30, "rainy": 0.30} |
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 | |
/Applications/Discord.app/Contents/MacOS/Discord --proxy-server=http://po.cc.ibaraki-ct.ac.jp:3128 |
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 os | |
import datetime | |
import shutil | |
DESKTOP_PATH = os.getenv("USERPROFILE") + r"\Desktop" | |
BACKUP_PATH = os.getenv("ESCAPE-FOLDER") | |
folder_name = BACKUP_PATH + r"/" + datetime.datetime.now().strftime("%Y%m%d%H%M%S") | |
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
ใใใใใใใใใใใ/ใiiiiใiใใฝ๏ฝค๏ฝค | |
ใใใใใใใใใใใ ๏ผใใi!llllli๏ฝ๏ฝๅท//ใฝใ | |
ใใใใใใใใใใ /ใใใใใใใใใๅฝกใฝ | |
ใใใใใใใใใใlใใใใใใใใใใๅฝกๅฝก๏ฝ | |
ใใใใใใใใใใlใ๏พ,๏ฝโ-๏ฝคใ,,๏ฝโ๏ฝคใๅฝกๅฝกll| | |
ใใใใใใใใใใ๏ฝ๏พ๏พ ๏ฝจ๏ฝชxใใ ,r๏ฝชtใใๅฝณๅฝก! | |
ใใใใใใใใใใใ',ใใ .:ใใใใใ ใ9๏ฝ" | |
ใใใใใใใใใใ ใ! ใ ::,๏ฝค,๏ฝคใใใใl_ไธฟ | |
ใใใใใใใใใใใ ',ใ ๏ผฟ,๏ผฟใใใ/ใ | |
ใใใใใใใใใใใ rใใ =ใใใใi!ใฝ๏พใ |
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
""" | |
discord botใใใใใใซไฝใใใใณใใฌใผใ | |
Referenceโ | |
https://discordpy.readthedocs.io/ja/latest/api.html | |
""" | |
import asyncio | |
import os | |
import sys | |
import discord |
NewerOlder