Skip to content

Instantly share code, notes, and snippets.

SELECT table,
formatReadableSize(sum(bytes)) as size,
min(min_date) as min_date,
max(max_date) as max_date
FROM system.parts
WHERE active
GROUP BY table
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "[email protected]",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
{
"basics": {
"name": "Thomas Edison",
"label": "Inventor and Businessman",
"picture": "https://example.com/photo.jpg",
"email": "[email protected]",
"phone": "(123) 456-7890",
"website": "https://thomasedison.com",
"summary": "Prolific inventor and businessman known for developing many devices that greatly influenced life around the world, including the phonograph, the motion picture camera, and the electric light bulb.",
"location": {
@ntk148v
ntk148v / golang_job_queue.md
Created March 29, 2025 04:55 — forked from harlow/golang_job_queue.md
Job queues in Golang
@ntk148v
ntk148v / mo-phong-b2.md
Last active December 22, 2024 14:34
mo-phong-b2

Nhóm 1: Tình huống nguy hiểm xe phía trước phanh gấp (nhóm này có 24 tình huống) => Xe phanh bấm

  • Dấu hiệu: Khi các bạn thấy tình huống có xe đi cùng làn, cùng hướng và khoảng cách gần với xe mình.
  • Thấy đèn phanh xe phía trước bật sáng là bạn bấm phím cách chọn ngay.

(Áp dụng cho các tình huống: 3, 5, 7, 15, 20, 21, 27, 28, 29, 38, 58, 64, 66, 67, 71, 74, 85, 94, 95,96, 115, 117, 119, 120)

Nhóm 2: Nguy hiểm nơi giao nhau (ngã ba hoặc ngã tư), đường cong khuất (nhóm này có 39 tình huống) => Xuất hiện đầu xe bấm

  • Các phương tiện tới ngã ba hoặc ngã tư có xe bất ngờ xuất hiện. Do đó, tới ngã ba hoặc ngã tư bạn phải chú ý quan sát hai bên và ngã tư, ngã ba bên nào thì tình huống nguy hiểm bên đó.

Chụp ảnh cơ bản

Thiết lập thông số máy ảnh cơ bản

Tham khảo

@ntk148v
ntk148v / xz-backdoor.md
Created April 2, 2024 06:47 — forked from thesamesam/xz-backdoor.md
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is still a new situation. There is a lot we don't know. We don't know if there are more possible exploit paths. We only know about this one path. Please update your systems regardless.

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

@ntk148v
ntk148v / udp-loader.go
Created June 30, 2022 03:05 — forked from jtblin/udp-loader.go
UDP server performance optimisation
package main
import (
"crypto/rand"
"flag"
"log"
mrand "math/rand"
"net"
"os"
"os/signal"