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
/** | |
* Youtube Music Player dynamics island from askabot | |
* Original author: u/Askabot on Reddit | |
* Optimized for mobile responsiveness by: tanbaycu | |
* Last updated: 11/5/2025 | |
* | |
* Changelog: | |
* - Cải thiện responsive trên điện thoại | |
* - Tối ưu hiệu năng phát nhạc | |
* - Thêm các animation mượt mà |
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
x = 0 | |
while x<10: | |
if x==5: | |
break | |
print("hello") |
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
@bot.command(name="forward-notes") | |
async def forward_notes(ctx, *, content: str): | |
"""Chuyển tiếp ghi chú hoặc đoạn mã với hiệu ứng màu sắc và chi tiết thú vị.""" | |
try: | |
channel = discord.utils.get(ctx.guild.channels, name="server-notes") | |
if channel: | |
# Tạo một màu ngẫu nhiên cho embed | |
random_color = discord.Color(random.randint(0, 0xFFFFFF)) | |
# Danh sách các emoji ngẫu nhiên cho tiêu đề |
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
function fibonacci(n) { | |
const fibSequence = [0, 1]; | |
for (let i = 2; i < n; i++) { | |
fibSequence[i] = fibSequence[i - 1] + fibSequence[i - 2]; | |
} | |
return fibSequence; | |
} |
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="vi"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Trang Web Đơn Giản</title> | |
</head> | |
<body> | |
<h1>Xin chào!</h1> | |
<p>Đây là một ví dụ về trang web đơn giản sử dụng HTML.</p> |
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
x = 0 | |
while x<10: | |
print("x: ",x) | |
if x==5: | |
break | |
x+=1 | |
print("end") |
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
x = 10 | |
print(x) |
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
x = 2 | |
print(x) |
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
x = 0 | |
print(f"Gia tri cua {x} la:" ,x) |
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
while x>10: | |
print("X=: ", x) | |
if x==5: | |
break | |
x+=1 | |
print("end") |
NewerOlder