BETA 測試版
CowLangO 是專門製作使用者介面的簡易程式語言,目前使用於 牛牛 Announcer
Pro Tip! 目前不提供 CowLangO 離線版,若有需要可以到 CowLangO Github 告訴我們。
Umm This Is Still In Beta But Okie |
import requests | |
json = { | |
"message": "message content" | |
} | |
response = requests.post("https://m.scratchthings.repl.co") | |
print(response.content) |
BETA 測試版
CowLangO 是專門製作使用者介面的簡易程式語言,目前使用於 牛牛 Announcer
Pro Tip! 目前不提供 CowLangO 離線版,若有需要可以到 CowLangO Github 告訴我們。
Running a LINE Bot with a basic classroom functionality, with homework and market commands.
Here's the editting format:
HOMEWORK_CONTENT
- Homework contentHOMEWORK_CONTENT$$DUE
- Homework content with a due date.
$$none
- No due date (green).$$today
- Due today (red).$$DATE
- Due on a custom date. (e.g. Friday)from linelib import Client # pip install linelib | |
client = Client('channel secret', 'channel access token') | |
@client.event('text') | |
async def text_msg(ctx): | |
await ctx.send('Hello, World!') | |
client.run() |
from rapiz.app import API, APIContext | |
import time | |
api = API() | |
@api('/api/user', methods=['GET', 'POST']) | |
def user(res: APIContext): | |
return { | |
"name": "John Cena", |
If you're watching the video tutorial Let's build the GPT Tokenizer by Andrej Karpathy and you want to copy the whole article, just clone this gist.
Clone this:
In [25]: !git clone https://gist.github.com/f48f35dd9456af1f278a349501aafab9.git
Out[25]: # Cloning into 'f48f35dd9456af1f278a349501aafab9'...
# remote: Enumerating objects: 4, done.
from typing import List, Tuple | |
import requests | |
from datasets import Dataset | |
from selectolax.lexbor import LexborHTMLParser | |
# News pages search total iterations | |
N_NEWS_ITERS = 100 | |
user_agent = ( |
replace {{ url }}
to your discussion url