Skip to content

Instantly share code, notes, and snippets.

View baonq-me's full-sized avatar
🏠
Working from home

quocbao baonq-me

🏠
Working from home
  • Zalo
  • Ho Chi Minh city, Vietnam
View GitHub Profile
@baonq-me
baonq-me / gist:e009a8acf760f36e7218cdcb9294f211
Created April 20, 2026 06:44 — forked from amcnamara/gist:88165926a192e768cc5e86293340935d
Wayback Machine asset list for WikiChip (defunct)
http://web.archive.org/web/20131223233007id_/http://en.wikichip.org/wiki/Variables_-_C
http://web.archive.org/web/20131223233017id_/http://en.wikichip.org/wiki/Operator_precedence_and_associativity_-_C
http://web.archive.org/web/20131223233043id_/http://en.wikichip.org/wiki/Data_types_-_C
http://web.archive.org/web/20131223233124id_/http://en.wikichip.org/wiki/Generic_selection_-_C
http://web.archive.org/web/20131223233701id_/http://en.wikichip.org/wiki/Phobos
http://web.archive.org/web/20131229224818id_/http://en.wikichip.org/wiki/Category:Lua_Standard_Libraries
http://web.archive.org/web/20131229224905id_/http://en.wikichip.org/wiki/Deque_Header_-_C%2B%2B
http://web.archive.org/web/20131229224944id_/http://en.wikichip.org/wiki/Assert.h
http://web.archive.org/web/20131229224952id_/http://en.wikichip.org/wiki/Complex.h
http://web.archive.org/web/20131229224959id_/http://en.wikichip.org/wiki/Ctype.h

Turn off AER logging for NVMe and event severity corrected

Motherboard: Asus Pro WS WRX80E-SAGE SE WIFI
Card: Asus HYPER M.2 X16 GEN 4 CARD
NVMe: 4x Samsung SSD 980 PRO 1TB
OS: Linux fedora 5.16.12-200.fc35.x86_64

AER, advanced error reporting logs excessively:

@baonq-me
baonq-me / fix-intel_wifi_aer-avell_g1513_fire_v3
Created August 7, 2024 09:36 — forked from Brainiarc7/ fix-intel_wifi_aer-avell_g1513_fire_v3
Temporary fix for AER's excessive `severity=Corrected` logging for Intel Wireless (Avell G1513 Fire V3) (Arch Linux)
silly gist hack, why do we need you? :(
@baonq-me
baonq-me / postgres-json-cheatsheet.md
Created August 3, 2023 15:51 — forked from rmtsrc/postgres-json-cheatsheet.md
Using JSON in Postgres by example

PostgreSQL JSON Cheatsheet

Using JSON in Postgres by example.

Quick setup via Docker

  1. Download and install: Docker Toolbox
  2. Open Docker Quickstart Terminal
  3. Start a new postgres container:
    docker run --name my-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
@baonq-me
baonq-me / encrypting-without-reinstalling-ubuntu.txt
Created February 8, 2023 03:22 — forked from gvtulder/encrypting-without-reinstalling-ubuntu.txt
Encrypting hard drives without reinstalling Ubuntu
Encrypting hard drives without reinstalling Ubuntu
===================================================
Gijs van Tulder, 26.02.2019, last update 04.03.2019
This is a list of the steps I took to encrypt the partitions on my
Ubuntu 16.04 laptop with the LUKS encryption system. Encrypting the
partitions took some time but was relatively easy. Getting the system
to boot afterwards was a little trickier, but doable.
Obviously, these steps might not work for you. Follow them at your

Download CMake from: https://cmake.org/download/

wget https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake-3.25.1.tar.gz

Compile from source and install

tar zxvf cmake-3.*
@baonq-me
baonq-me / build-git.md
Created December 7, 2022 09:54 — forked from egorsmkv/build-git.md
Build git from source code on CentOS 7

Build git from source code

1) Go to https://git-scm.com/ and check out the latest version of Git

Currently, the latest version is 2.18.0. Download and extract it and go to the folder of the source code:

wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.20.5.tar.gz
tar xf git-2.20.5.tar.gz
cd git-2.20.5/
@baonq-me
baonq-me / build-git.md
Created December 7, 2022 09:54 — forked from egorsmkv/build-git.md
Build git from source code on CentOS 7

Build git from source code

1) Go to https://git-scm.com/ and check out the latest version of Git

Currently, the latest version is 2.18.0. Download and extract it and go to the folder of the source code:

wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.18.0.tar.gz
tar xf git-2.18.0.tar.gz
cd git-2.18.0/