Skip to content

Instantly share code, notes, and snippets.

View vanvuvuong's full-sized avatar

Trần Đình Đồng vanvuvuong

  • Vietnam
View GitHub Profile
@vanvuvuong
vanvuvuong / (simple) DoH Setup with cloudflared.md
Created February 17, 2025 03:02 — forked from 1999AZZAR/DoH Setup with cloudflared.md
This guide explains how to set up DNS over HTTPS (DoH) on a Linux system using `cloudflared`. DoH ensures that your DNS queries are encrypted and secure, protecting your online privacy and preventing third-party monitoring of your internet activity.
@vanvuvuong
vanvuvuong / folder_structure.md
Created March 13, 2024 01:44 — forked from ayoubzulfiqar/folder_structure.md
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files
@vanvuvuong
vanvuvuong / aws_regex_cheat_sheet.md
Last active February 12, 2025 18:34 — forked from rams3sh/aws_regex_cheat_sheet
AWS ARN resources regex cheat sheet

ARN Base Pattern

arn:<aws_parition>:<aws_service>:[<aws_region>]:<account_id>:<root | resource_type>:/<resource_name>[/<sub_resource_names>...]

i.<aws_partition>

Regex: (aws|aws-us-gov|aws-cn)

ii. <aws_service> - No fixed pattern:

@vanvuvuong
vanvuvuong / README.md
Created November 20, 2023 07:46 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@vanvuvuong
vanvuvuong / wsl-cheatsheet.ps1
Created September 28, 2023 07:46 — forked from karthiks/wsl-cheatsheet.ps1
WSL 2 CLI Cheat-sheet To Be Run In Powershell
# To list installed distributions
wsl -l
wsl --list
# To list installed distributions along with its running status and wsl config being 1 or 2
wsl -l --verbose
wsl -l -v
# To run a specific distro
wsl -d distro_name
@vanvuvuong
vanvuvuong / markdown-text-101.md
Created September 25, 2023 02:24 — forked from matthewzring/markdown-text-101.md
A guide to Markdown on Discord.

Markdown Text 101

Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to do it! Just add a few characters before & after your desired text to change your text! I'll show you some examples...

What this guide covers:

@vanvuvuong
vanvuvuong / jq-cheetsheet.md
Created August 16, 2023 08:58 — forked from olih/jq-cheetsheet.md
jq Cheet Sheet

Processing JSON using jq

jq is useful to slice, filter, map and transform structured json data.

Installing jq

On Mac OS

brew install jq

@vanvuvuong
vanvuvuong / install-oracle-client-ubuntu.md
Created August 9, 2023 03:08 — forked from bmaupin/install-oracle-client-ubuntu.md
Install Oracle client on Ubuntu

Reference: https://help.ubuntu.com/community/Oracle%20Instant%20Client

Tested on: Ubuntu 18.04, 20.04

  1. Decide which version of the Oracle client to install

  2. Download the Oracle client packages

@vanvuvuong
vanvuvuong / preparations.md
Created August 4, 2023 02:15 — forked from wholroyd/preparations.md
Getting Minikube on WSL2 Ubuntu working

Windows Preparation

  1. Ensure hypervisor functionality is enabled in BIOS.

    • I know it sounds stupid, but if you already have it enabled, disable it, restart the machine, and enable it again.
    • Otherwise you will hit microsoft/WSL#5363
  2. Launch a PowerShell prompt in Administrator mode [Win+X > Windows PowerShell (Admin)]

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
@vanvuvuong
vanvuvuong / examples.sh
Created May 26, 2023 07:20 — forked from LunaCodeGirl/examples.sh
Figlet how to and examples
figlet "I've got something to say"
figlet -f thick "Make Tech ASCIIer"
date | figlet -f basic