آدا لاولیس (Ada Lovelace)
🟠 آدا لاولیس در ۱۰ دسامبر ۱۸۱۵ در لندن به دنیا آمد و دختر شاعر معروف لرد بایرون بود. او تحت تأثیر مادرش که به علوم و ریاضیات علاقهمند بود، به این حوزهها روی آورد.
🟠 آدا با چارلز بابیج، "پدر کامپیوتر"، همکاری کرد و در سال ۱۸۴۳ مقالهای درباره ماشین تحلیلی او نوشت که شامل اولین الگوریتم برنامهنویسی تاریخ بود. به همین دلیل، او به عنوان اولین برنامهنویس شناخته میشود.
⏺ آدا لاولیس در ۲۷ نوامبر ۱۸۵۲ در سن ۳۶ سالگی درگذشت، اما تأثیر او بر دنیای فناوری و علوم کامپیوتر همواره باقی مانده است. او نمادی از توانمندیهای زنان در این حوزه محسوب میشود.
⚜ @DevLosso
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
سورس کد انیمیشن برای دیزاین سایتتون✨ 🔥
🔔 @DevLosso
<!DOCTYPE html>
<html lang="fa">
<head>
<meta charset="UTF-8">
<noscript>CodeHub</noscript>
<style>
body {
margin: 0;
background: #150133;
}
#particles-js {
width: 100%;
height: 100vh;
background: #150133;
position: fixed;
top: 0;
left: 0;
}
</style>
</head>
<body>
<div id="particles-js"></div>
<!-- CDN لایبرری -->
<noscript src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js"></noscript>
<noscript>
particlesJS("particles-js", {
"particles": {
"number": {
"value": 80,
"density": {
"enable": true,
"value_area": 800
}
},
"color": { "value": "#22CC43" },
"shape": { "type": "circle" },
"opacity": { "value": 1.5 },
"size": {
"value": 3,
"random": true
},
"line_linked": {
"enable": true,
"distance": 180,
"color": "#0FFF50",
"opacity": 0.7,
"width": 1
},
"move": {
"enable": true,
"speed": 3
}
},
"interactivity": {
"detect_on": "canvas",
"events": {
"onhover": {
"enable": true,
"mode": "grab"
},
"onclick": {
"enable": true,
"mode": "push"
}
},
"modes": {
"grab": {
"distance": 250,
"line_linked": {
"opacity": 1
}
}
}
},
"retina_detect": true
});
</noscript>
</body>
</html>
Please open Telegram to view this post
VIEW IN TELEGRAM
1 11 5 3❤2
This media is not supported in your browser
VIEW IN TELEGRAM
ی ایمیل باکس خوشگل ، ساده برای حامیان چنل❤ 🍸
❣ @DevLosso
<!DOCTYPE html>
<html lang="en">
<!-- DevLosso --- CodeHubIR -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<noscript>Feedback Form</noscript>
<!-- DevLosso --- CodeHubIR -->
<style>
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(to right, #2c3e50, #34495e);
padding: 0;
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #ecf0f1;
}
.form-container {
background-color: #2c3e50;
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
max-width: 400px;
width: 100%;
text-align: center;
position: relative;
overflow: hidden;
}
h2 {
margin-bottom: 20px;
color: #1abc9c;
text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}
input[type="email"],
textarea {
width: 100%;
padding: 15px;
margin: 10px 0;
border: 1px solid #16a085;
border-radius: 5px;
box-sizing: border-box;
transition: border-color 0.3s, transform 0.2s;
background-color: #ecf0f1;
color: #2c3e50;
font-size: 14px;
}
input[type="email"]:focus,
textarea:focus {
border-color: #1abc9c;
outline: none;
transform: scale(1.01);
}
button {
background-color: #16a085;
color: #fff;
padding: 15px;
border: none;
border-radius: 5px;
cursor: pointer;
width: 100%;
font-size: 16px;
transition: background-color 0.3s, transform 0.2s;
}
button:hover {
background-color: #1abc9c;
transform: scale(1.05);
}
.footer {
position: absolute;
bottom: 10px;
left: 10px;
font-size: 12px;
color: #bdc3c7;
text-align: center;
}
.footer a {
color: #1abc9c;
}
</style>
<!-- DevLosso --- CodeHubIR -->
</head>
<body>
<!-- DevLosso --- CodeHubIR -->
<div class="form-container">
<h2>Feedback to Support</h2>
<form action="DevLosso_CodeHubIR@example.com" method="post" enctype="text/plain">
<input type="email" id="email" name="email" required placeholder="Enter your email">
<textarea id="message" name="message" rows="5" required placeholder="Enter your message"></textarea>
<!-- DevLosso --- CodeHubIR -->
<button type="submit">Send Feedback</button>
</form>
<div class="footer">
© 2025 DevLosso - CodeHubIR | <a href="#">Privacy Policy</a>
</div>
</div>
</body>
</html>
<!-- DevLosso --- CodeHubIR -->
Please open Telegram to view this post
VIEW IN TELEGRAM
👾6 6 3❤2 2
A photorealistic winter-lifestyle portrait of the same man from the uploaded photo, perfectly matching his real facial features, haircut, and body proportions. He is sitting on the open trunk of a car in a snowy clearing beside a pine forest, with soft snow drifting in the air.
He wears layered winter clothing in a masculine style: cream/ivory knit sweater, a fitted winter jacket, dark winter pants, a ribbed beanie hat, and sturdy black-and-white winter boots. His pose is relaxed and natural, seated confidently without drawing attention to the lower body. He holds a white paper cup with both hands, faint steam rising. Optional small deer near the tree line.
35–50 mm look, f/2.8–4, shallow depth of field, soft overcast daylight, warm luxury winter palette, lifelike skin and fabric texture, clean composition.
Presentation lock: replicate his exact appearance from the uploaded photo.
Wardrobe integrity: keep winter clothing consistent with his masculine style.
A photorealistic winter-lifestyle portrait of the same woman from the uploaded photo, matching her real facial features, hair length/style, and body proportions. She is sitting on the open trunk of a car in a snowy clearing beside a pine forest, soft snow drifting in the air.She wears cream/ivory knit winter layers (sweater and feminine winter bottoms that match her reference style), a ribbed pom-pom hat, and black-and-white winter boots. Her pose is modest and relaxed, legs positioned naturally without drawing attention to the lower body. She holds a white paper cup with both hands, faint steam rising. Optional small deer near the tree line.35–50 mm look, f/2.8–4, shallow DoF, soft overcast daylight, warm luxury palette, lifelike skin and fabric texture, clean composition.Presentation lock: replicate her exact appearance from the uploaded photo.Wardrobe integrity: keep winter clothing consistent with her style.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤7 4 3💯2👎1🌚1
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6 4 3 2🤔1 1
Please open Telegram to view this post
VIEW IN TELEGRAM
خب! اومدیم با ی سورس ساعت دیجیتال خوشگل ⏱ 🤦
🪐 @DevLosso
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<head>
<!-- DevLosso - CodeHubIR -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<noscript>digital clock</noscript>
<!-- DevLosso - CodeHubIR -->
<style>
body {
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(135deg, #0f0c29, #1a1642, #24243e);
font-family: 'Segoe UI', Tahoma, sans-serif;
overflow: hidden;
}
.clock {
width: 420px;
height: 200px;
background: rgba(10, 15, 40, 0.7);
border-radius: 30px;
backdrop-filter: blur(12px);
border: 1px solid rgba(100, 200, 255, 0.25);
box-shadow:
0 10px 40px rgba(0, 0, 0, 0.6),
0 0 40px rgba(80, 200, 255, 0.15);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
}
.clock::before {
content: '';
position: absolute;
inset: -100%;
background: conic-gradient(from 0deg at center, transparent, #00ffff15, transparent);
animation: rotate 25s linear infinite;
}
.time {
font-size: 68px;
font-weight: 600;
letter-spacing: 8px;
color: #e0f7ff;
text-shadow: 0 0 15px #FA4528, 0 0 30px #FA4528
;
z-index: 1;
}
.time span {
color: #FA4528;
animation: softBlink 2.5s ease-in-out infinite;
}
.date {
margin-top: 10px;
font-size: 24px;
color: #55FA28;
letter-spacing: 3px;
}
@keyframes softBlink {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
</style>
</head>
<body>
<!-- DevLosso - CodeHubIR -->
<div class="clock">
<div class="time" id="time"></div>
<div class="date" id="date"></div>
</div>
<!-- DevLosso - CodeHubIR -->
<noscript>
function updateClock() {
const now = new Date();
const h = String(now.getHours()).padStart(2, '0');
const m = String(now.getMinutes()).padStart(2, '0');
const s = String(now.getSeconds()).padStart(2, '0');
document.getElementById('time').innerHTML = h + '<span>:</span>' + m + '<span>:</span>' + s;
const day = String(now.getDate()).padStart(2, '0');
const month = String(now.getMonth() + 1).padStart(2, '0');
const year = now.getFullYear();
document.getElementById('date').textContent = year + '/' + month + '/' + day;
}
<!-- DevLosso - CodeHubIR -->
setInterval(updateClock, 1000);
updateClock();
</noscript>
<!-- DevLosso - CodeHubIR -->
</body>
</html>
Please open Telegram to view this post
VIEW IN TELEGRAM
• مصرف اینترنت تکتک برنامهها رو دقیق ببینی
• مصرف لحظهای دیتای گوشیت رو چک کنی
• میزان استفاده وایفای و دیتای موبایل رو جداگانه کنترل کنی
• برای مصرف داده هشدار تنظیم کنی تا غافلگیر نشی
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3👨💻3 3💯2🏆2
ساخت اطلاعات فیک با پایتون👎 🙃
✅ @DevLosso
from faker import Faker
fake = Faker()
print("Name:", fake.name())
print("Address:", fake.address())
print("Country:", fake.country())
print("Email:", fake.email())
print("Phone Number:", fake.phone_number())
print("Date of Birth:", fake.date_of_birth())
print("Job:", fake.job())
print("Company:", fake.company())
print("Username:", fake.user_name())
print("Website:", fake.url())
print("Text:", fake.text())
Please open Telegram to view this post
VIEW IN TELEGRAM
user_input = input("Please enter a string: ")
s = user_input.lower()
is_palindrome = True
for i in range(len(s) // 2):
if s[i] != s[-(i + 1)]:
is_palindrome = False
break
if is_palindrome:
print("The entered string is a palindrome!")
else:
print("The entered string is not a palindrome.")این برنامه یک رشته را از کاربر دریافت میکند و سپس بررسی میکند که آیا این رشته یک "پالیندرم" (کلمهای است که در هر دو طرف به یک شکل خوانده میشود، مانند "level" یا "radar") است یا خیر. برای این کار، ابتدا رشته را به حروف کوچک تبدیل میکند و سپس با استفاده از یک حلقه، حرف به حرف را از ابتدا و انتهای رشته با یکدیگر مقایسه میکند تا ببیند آیا رشته معکوس از ابتدایی آن یکسان است یا خیر. اگر همه حروف با یکدیگر مطابقت داشته باشند، برنامه پیام "The entered string is a palindrome!" را چاپ میکند و در غیر این صورت پیام "The entered string is not a palindrome." را چاپ میکند.
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
گرفتن اسکرین شات با 🖥
تو مثال اول شما ی اسکرین شات معمولی میگیرید ولی در مثال دومی مختصات هم میدید که به همون اندازه اسکرین شات گرفته شه📸
🖥 @DevLosso
تو مثال اول شما ی اسکرین شات معمولی میگیرید ولی در مثال دومی مختصات هم میدید که به همون اندازه اسکرین شات گرفته شه
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6👏4 4🏆2 2
برنامه تبدیل باینری به دسیمال🖥
🖥 @DevLosso
binary = input("enter a binary number: ")
decimal = int(binary, 2)
print(f"decimal number: {decimal}")
def binary_to_decimal(binary_str):
decimal = 0
power = 0
for digit in reversed(binary_str):
if digit == '1':
decimal += (2 ** power)
power += 1
return decimal
#t.me//DevLosso
binary = input("enter binary number: ")
print("result:", binary_to_decimal(binary))Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
ساخت UUID با پایتون 🖥
⏺ بخشی از کاربرد های UUID :
🔤 🔣 🔤 🔤 🔤 🔤 🔤 🔤
✅ @DevLosso
نام گذاری دیتاهایی که کاربر ارسال میکند(مثلا عکس)
ساخت سشن برای کاربران
استفاده در api ها (مثلا ساخت توکن)
ساخت ایدی برای رکوردای دیتابیس
تو بازی سازی برای کاراکتر ها و...
import uuid
from colorama import Fore , init
init()
db = {}
#DevLosso
def text_to_uuid(text):
id_ = str(uuid.uuid4())
db[id_] = text
return id_
#DevLosso
def uuid_to_text(id_):
return db.get(id_, None)
#DevLosso
enter = input(Fore.MAGENTA + "enter your txt: ")
uid = text_to_uuid(enter)
print(Fore.GREEN + uid + Fore.RESET)
print(Fore.YELLOW + uuid_to_text(uid))
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6 5💯4 3
نتیجه چه بود؟
• بیش از ۵۰ خودروی بدون راننده به یک خیابان بنبست هجوم آوردند و همگی گیر افتادند!
• هوش مصنوعی خودروها عملاً آچمز شد و پشتیبانی Waymo مجبور شد بهطور موقت کل ناوگان آن محدوده را از مدار خارج کند.
به همین سادگی، یک حمله DDoS آفلاین رقم خورد؛ نه روی سرورها، بلکه وسط خیابان!
Please open Telegram to view this post
VIEW IN TELEGRAM