Skip to content

Instantly share code, notes, and snippets.

@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"
@ntk148v
ntk148v / iterm-to-hex.py
Created April 8, 2022 07:35 — forked from alfredodeza/iterm-to-hex.py
read an itermcolors export file and spit out Vim 8's ansi color var
#!/usr/bin/env python
#
# Convert .itermcolors files to hex colors
import sys
import xml.etree.ElementTree as ET
def rgb_to_hex(rgb):
return '#%02x%02x%02x' % rgb
@ntk148v
ntk148v / exabgp.conf
Last active February 7, 2022 08:25 — forked from bufadu/howto_bgp_ecmp_load_balancing.md
BGP ECMP Load Balancer
# Lb2 /etc/exabgp/exabgp.conf
neighbor 10.12.12.254 { # Remote neighbor to peer with
router-id 10.12.12.254; # Local router-id
local-address 10.12.12.2; # Local update-router
local-as 65500; # Local AS
peer-as 65500; # Peer AS
family {
ipv4 unicast;
}
@ntk148v
ntk148v / keybase.md
Last active December 25, 2021 10:54

Keybase proof

I hereby claim:

  • I am ntk148v on github.
  • I am kiennt2609 (https://keybase.io/kiennt2609) on keybase.
  • I have a public key whose fingerprint is 6714 4396 E506 B36D F1B2 D898 E466 1998 A6C3 A536

To claim this, I am signing this object:

EDIT from 2019: Hi folks. I wrote this gist for myself and some friends, and it seems like it's gotten posted somewhere that's generated some (ahem, heated) discussion. The whitespace was correct when it was posted, and since then GitHub changed how it formats <pre> tags. Look at the raw text if you care about this. I'm sure someone could tell me how to fix it, but (thank you @anzdaddy for suggesting a formatting workaround) honestly this is a random throwaway gist from 2015, and someone more knowledgable about this comparison should just write a proper blog post about it. If you comment here I'll hopefully see it and stick a link to it up here. Cheers. @oconnor663

Here's the canonical TOML example from the TOML README, and a YAML version of the same.

title = "TOML Example"