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
Men mehmon yani tomoshabin boʻlib bordim lekin bir kun kelib men oʻzimni "start up" loyihamni koʻrsatish uchun boraman
1 8 3🔥2 2
This media is not supported in your browser
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
1 3 3 2
VIP KODLAR
⏰ Bu rasmli soat kodini tarqatamizmi?
<?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);
Please open Telegram to view this post
VIEW IN TELEGRAM
1 6 4 3
Saytga flood request yuborish yani ko’proq so’rov yuborish
©️ Manba: @vip_kodlar
🔧 Dasturchi: @cysze
<?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";
Please open Telegram to view this post
VIEW IN TELEGRAM
1 6 4 4 2 1
Shifrlash kodlari yani hash_algos() bilan
Natijasi:
Ishlatish uchun
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
©️ Manba: @vip_kodlar
🔧 Dasturchi: @cysze
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: 98bd771fyani 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";
}
Please open Telegram to view this post
VIEW IN TELEGRAM
1 5 5 4 1
Forwarded from MohirDev.uz
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!
@mohirdev
Please open Telegram to view this post
VIEW IN TELEGRAM
1 10 5 5 3
MohirDev.uz
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
Please open Telegram to view this post
VIEW IN TELEGRAM
1 7 6 5👍3
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>Please open Telegram to view this post
VIEW IN TELEGRAM
1 11 9 4👍2
Forwarded from IT | Ishkal
Dasturchining kun tartibi:
— Ertalab bug topish😀
— Tushlikda uni tuzatishga urinish 🤩
— Kechqurun yangi bug chiqarish😂
🫡 @it_ishkal — Har qanday muammoning решаласи
— Ertalab bug topish
— Tushlikda uni tuzatishga urinish 🤩
— Kechqurun yangi bug chiqarish
Please open Telegram to view this post
VIEW IN TELEGRAM
1 11👍9 7 2
Forwarded from Yetim dasturchi kundaligi
Tushunmaganlar:
- Kap-kattta bola yumaloqcha yasab o'tiribti
Tushunganlar:
- Vaov Cda pixelized bo'lmagan progress bar
- Kap-kattta bola yumaloqcha yasab o'tiribti
Tushunganlar:
- Vaov Cda pixelized bo'lmagan progress bar
1 9 8 1
Forwarded from Botir Ziyatov
Yiliga million dollar topish uchun Silikon vodiysiga borish shart emas.
1 11 6