An Nguyễn Văn
@an-nguyen-99
Test tiểu sử 3
Tham gia October 29, 2025
4
Đoạn mã
202
Lượt xem
0
Yêu thích
4
Ngôn ngữ
Ngôn ngữ hàng đầu
PHP (1)
SQL (1)
Python (1)
JavaScript (1)
Đoạn mã công khai
Generate a simple JWT using the Firebase JWT library in PHP.
1<?php
2require 'vendor/autoload.php';
3use Firebase\JWT\JWT;
4
5$key = 'secretkey';
6$payload = [
7 'is...Query employees who earn more than the company’s average salary.
1SELECT name, salary
2FROM employees
3WHERE salary > (SELECT AVG(salary) FROM employees);
4SQL
query
Recursively flatten a deeply nested list into a single list.
1def flatten(lst):
2 result = []
3 for i in lst:
4 if isinstance(i, list):
5 resu...A utility function that limits how often a function can fire, useful for search input or resize events.
1function debounce(fn, delay = 300) {
2 let timeout;
3 return (...args) => {
4 clearTimeout(timeout...