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
| from time import sleep | |
| h=10 | |
| s=range(h,0,-1) | |
| b=[[*s],[0]*h,[0]*h] | |
| def p(): | |
| print("\n"*h) | |
| for i in s:print(*((" "*h+"#"*h)[r[i-1]:r[i-1]+h]for r in b)) | |
| sleep(0.05) | |
| def n(y,x,t,w): | |
| b[y][x]=0 |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <script src="https://cdn.jsdelivr.net/npm/@coderline/alphatab@1.3.0-alpha.938/dist/alphaTab.js"></script> | |
| <!-- <script src="https://cdn.jsdelivr.net/npm/@coderline/alphatab@1.3.0-alpha.933/dist/alphaTab.js"></script> --> | |
| <meta charset="utf-8" /> | |
| <title>Tab Portal</title> | |
| <style> | |
| :root { | |
| --main-bg-color: #5d9150; |
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
| use actix_web::middleware::Logger; | |
| use actix_web::{ | |
| error, get, post, | |
| web::{self, Json, ServiceConfig}, | |
| Result, | |
| }; | |
| use serde::{Deserialize, Serialize}; | |
| use shuttle_actix_web::ShuttleActixWeb; | |
| use shuttle_runtime::CustomError; | |
| use sqlx::{Executor, FromRow, PgPool}; |