Logo Ricky
  • Home
  • About
  • More
    Skills Experiences Education Projects
  • Posts
  • Notes
  • Activities
  • Transform
  • English
    English Chinese
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • 2017
  • 2018
  • 2019
  • 2020
  • 2021
  • 2022
  • 2023
  • 2024
  • 2025
  • 2026
  • /etc/shadow and Creating yescrypt, MD5, SHA-256, and SHA-512 Password Hashes
  • 2020年,最新NGINX的ngx_http_geoip2模块以精准禁止特定国家或者地区IP访问
  • 25秒读取16GB文件,Go怎么做到的?
  • 5 DevSecOps open source projects to know
  • 6 YAML Features most programmers don't know
  • 6首國際最強公認催眠曲
  • [Golang] 利用build tags達到不同的build config
  • [Juniper Firewall] command
  • [Kubernetes] Service Overview
  • [Terraform] 入門學習筆記
  • [分享]鑰匙圈 - 五七步槍刺刀鞘的墬子
  • [網友好文]Cisco UCS CIMC系列文章
  • [译] Go语言inline内联的策略与限制
  • A fast and powerful log viewer and processor that converts JSON logs or logfmt logs into a clear human-readable format.
  • A python script that allows your terminal to snow.
  • A10
  • Abount Ansible Hosts
  • Add SFTP user and share directory
  • Advanced macOS Command-Line Tools
  • Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash
  • Aliyun CDN Cache Rules
  • Ansible Introduction
  • ansible.builtin.slurp - 讀取檔案內容
  • Argo CD ApplicationSet Controller: 世界為我而轉動!
  • Arp notes
  • Avoiding the Top 10 NGINX Configuration Mistakes - NGINX
  • Backup FortiOS config with Ansible - with RestAPI
  • Bash Bitwise Operators
  • Bash 脚本如何创建临时文件:mktemp 命令和 trap 命令教程
  • Best Practices for Writing Bash Scripts
  • BIRD 与 BGP 的新手开场
  • Cannot set command timeout per task with network_cli
  • CDN 相关 https 证书的申请
  • CentOS 7 掛載 Synology NAS 資料夾
  • channel 的 15 条规则和底层实现
  • Cloudflare Traffic sequence
  • Cloudflare Tunnel
  • Cloudflare Zero Trust
  • Configuring SSH Keys for Multiple GitHub Accounts
  • Container security fundamentals
  • Containers from scratch
  • Containers From Scratch by Golang (feat. Liz Rice)
  • Convert your codebase into a single LLM prompt.
  • CS Visualized: Useful Git Commands
  • Database Fundamentals
  • datavizproject
  • Day 19 BGP Protocol (1)
  • Day 28 - Kubernetes 第三方好用工具介紹
  • Docker Introduction
  • Docker Security Best Practices: Cheat Sheet
  • Docker Tips: Using Docker Config
  • Docker 容器无法访问外网?nftables 下的 NAT 配置指南
  • Docker 环境下使用 Traefik v3 和 MinIO 快速搭建私有化对象存储服务
  • docker-compose yaml problem
  • Dockertest 极速搭建集成测试环境神器
  • Draw Diagrams With Markdown
  • ElasticSearch 学习笔记
  • Emoji Regular expression
  • Excessive Errors from `sentry.lang.javascript.processor: SoftTimeLimitExceeded()`
  • Expose your local web server to the internet with a public URL.
  • Faster Multi-Platform Builds: Dockerfile Cross-Compilation Guide
  • Fetch GraphQL schema information
  • Force file download with Nginx
  • Fortigate Management Interface in HA Mode
  • Gin 框架绑定 JSON 参数使用 jsoniter
  • Gin中文文档
  • Git force push
  • gitbook常用的插件
  • GitHub Actions 入门教程
  • GitLab CI 可以自動檢測程式碼品質!SonarQube 程式碼品質檢測怎麼做?
  • GitLab 啟用 Project integration - Mattermost slash commands
  • Gitlab-CI Introduction
  • Git内部原理介绍
  • Gluetun:讓Docker容器走VPN連線,沒網路就斷線,使用教學
  • Go articles
  • Go code refactoring : the 23x performance hunt
  • Go embed 简明教程
  • GO Generic 入門筆記
  • Go leetcode
  • Go Modules 處理 Private GIT Repository 流程
  • Go Patterns
  • Go Protobuf:新的 Opaque API
  • Go string format
  • Go Style Decisions - Pass values
  • Go 使用 selenium 截图
  • go-mysql-elasticsearch-benchmarking
  • go-synctest
  • Golang os/exec 使用方法(筆記)
  • golang pprof 实战
  • Golang tips
  • Golang基准测试
  • golang服务的文件句柄超出系统限制(too many open files)
  • golang的AES加密和解密的三种模式实现(CBC/ECB/CFB)
  • Google Cloud Platform(GCP): Access Linux Server using GUI running in GCP instance using Windows Remote Desktop Connection.
  • Google Infra
  • Google Search Operators: The Complete List (44 Advanced Operators)
  • Gopher 需要知道的几个结构体骚操作
  • Go实战指南:使用 go-redis 执行 Lua 脚本
  • Go语言高性能编程手册(万字长文)
  • GraphQL Introspection Query
  • HA command
  • High Performance Go Workshop
  • How Core Git Developers Configure Git
  • How I configure my Git identities
  • How Terminals Work
  • How to automatically resize virtual box disk with vagrant
  • How to deal with a 50GB large csv file in r language?
  • How to Delete Files With Names That Contain Non-printable Characters
  • How to deploy on remote Docker hosts with docker-compose
  • How to Detect RAID Information in Linux
  • How to Make Output Overwrite the Same Line in a Terminal
  • How to use a here documents to write data to a file in bash script
  • How to Use which on an Aliased Command
  • htop explained
  • I use Zip Bombs to Protect my Server
  • Inspecting Web Views in macOS
  • Install Chrome OS
  • Install PowerDNS and PowerDNS-Admin on Ubuntu 22.04|20.04|18.04
  • iPhone 鈴聲製作教學,將 MP3 音樂換成電話鈴聲或鬧鐘鈴聲
  • Is there a regular expression to detect a valid regular expression?
  • iTerm2 features I find useful
  • Jinja docx template, avoiding new line in nested for
  • Juniper notes
  • Kubernetes Without kube-proxy
  • Lightweight Linux Distributions For Older PCs
  • Linkerd 2.8 - 實現超級簡單又安全的多叢集(multicluster) Kubernetes 架構
  • Linux CentOS 7 安裝字體庫 & 中文本體
  • linux磁碟空間沒釋放的解決方法
  • Little Git Tricks: Use .mailmap to Merge Different Authors
  • llamafile - Distribute and run LLMs with a single file.
  • LLM Visualization
  • LLMs Hackmd Docs
  • LocalStorage vs. IndexedDB vs. Cookies vs. OPFS vs. WASM-SQLite
  • LVM - lvg and lvol
  • Mac 小众软件推荐与工作流分享(2024)
  • MacBook 设置 SSLKEYLOGFILE 环境变量解密 HTTPS 流量
  • macOS Tips & Tricks
  • Marp教學:Markdown搭配VS Code做簡報,快速輸出為PPTX或PDF,提昇做簡報效率
  • Misspelling, missing collection, or incorrect module path for fortios_system_config_backup_restore
  • Monitoring HTTP Requests on a Network Interface in Real Time
  • Mosdns-X
  • Mount AWS S3 Bucket On Amazon EC2
  • Netcat(Linux nc 指令)網路管理者工具實用範例
  • New LibSSH Connection Plugin for Ansible Network Replaces Paramiko, Adds FIPS Mode Enablement
  • Nginx - request_time和upstream_response_time详解
  • Nginx HTTPS with Basic Auth reverse proxy for VMware ESXi 6.5 fixed VMRC /screen
  • Nginx if 避坑指南
  • Nginx notes
  • Nginx SSL/TLS configuration with TLSv1.2 and TLSv1.3 - ECDHE and strong ciphers suite (Openssl 1.1.1)
  • Nginx 使用 split_clients 进行简易 A/B 测试
  • Nginx 出現 500 Error 修復 (too many open file, connection)
  • NGINX 原生 ACME 支持:从根本上重塑 TLS 自动化部署
  • nginx 添加第三方nginx_upstream_check_module 模块实现健康状态检测
  • Nginx 访问日志中记录毫秒级别的时间精度
  • Nginx如何防禦DDoS攻擊?
  • Nginx怎样隐藏上游错误
  • Nginx请求处理流程你了解吗?
  • Objective-See: 一个关于 Apple 设备隐私与安全的开源项目组织
  • OIDC(OpenID Connect) 简介
  • onion-mirror
  • openresty+redis拦截高频访问IP
  • openvpn部署之部署基於AD域認證
  • parqeye
  • Parse Command Line Arguments in Bash
  • Percona config
  • Printing ASCII Art in the Shell
  • Privacy Badger:EFF 推出的免費瀏覽器擴充套件,用來阻止網路監控追蹤
  • Prometheus relabeling and linux metrics
  • Provisioning a Windows Server Vagrant box with IIS, .NET 4.5 and Octopus Deploy
  • Python install module issues
  • Python Numbers Every Programmer Should Know
  • Python Telegram Bot
  • Python's many command-line utilities
  • Python玩转各种多媒体,视频、音频到图片
  • Quagga Routing - Install, Configure and setup BGP
  • Raid10 徹底崩壞 ,壞就壞在同組作Mirror硬碟一起故障。
  • Rainman 工程体系八问:面试时如何识别卓越工程文化
  • Regex for Markdown Syntax
  • Route notes
  • Rules that terminal programs follow
  • Run llama3
  • Running GitHub Actions for Certain Commit Messages
  • Rust Easy! Modern Cross-platform Command Line Tools to Supercharge Your Terminal
  • Sentry 源码开发笔记
  • Setting up JWT Authentication
  • Shell Script Best Practices
  • SHELL编程之常用技巧
  • Shell脚本学习笔记
  • Smarter than 'Ctrl+F': Linking Directly to Web Page Content
  • Some Jenkinsfile examples
  • Speeding up the Rust edit-build-run cycle
  • SQL Join types explained visually
  • SQL queries don't start with SELECT
  • SSH failing with Error : fatal: daemon() failed: No such device
  • SSH 证书登录教程
  • string field was converted to True (type string)
  • Supply chain attack
  • Switch notes
  • Switch版本更新
  • Synology: Your NAS RAM Details at a Glance
  • Systemd 入门教程:实战篇
  • Taide - training data
  • TaigiTube 台語水管
  • Tcpdump 使用总结
  • Terraform Provider 開發紀錄
  • Test Whether a Server Is Vulnerable to Shellshock Bug
  • The Art of Command Line
  • The One Billion Row Challenge in Go: from 1m45s to 3.4s in nine solutions
  • TIL: timeout in Bash scripts
  • Top 25 Nginx Tips and Tricks From Practical Experience
  • Tracking SQLite Database Changes in Git
  • Trellis Ansible Bad Interpreter Error
  • Tuning EMQX to Scale to One Million Concurrent Connection on Kubernetes
  • Tuning EMQX to Scale to One Million Concurrent Connection on Kubernetes
  • Ubuntu 18.04 透過 netplan 設定網路卡 IP
  • Upgrade database failed after ugrade to Zabbix 5...
  • Use terminal and SSH to remote host
  • Using Vagrant to Deploy Multiple VMs on vSphere
  • Using Vim as a Diff Tool
  • Vagrantfile and Provider
  • vagrant筆記
  • Vim Tips - Edit Remote Files With Vim On Linux
  • vimrc設定教學
  • VsCode 整合 DevSpace 進行 debug !
  • WebP Cloud uses Cloudflare Workers to fetch content from the origin server in order to protect the origin server and start providing origin fetch time information.
  • What does `< <(command args)` mean in the shell?
  • What Happened To WebAssembly
  • What is the SHA256 that comes on the sshd entry in auth.log?
  • What the f*ck Python! 🐍
  • Why are QR Codes with capital letters smaller than QR codes with lower-case letters?
  • Why is this running?
  • Windows SSH setup
  • WSL 2 的 .wslconfig 設定檔說明
  • YAML 裡的字串很長該怎麼做?
  • Zsh tab-completion not working
  • ZSH 自动读取 macOS 系统代理配置并设置环境变量
  • zsh 配置文件解析及优先级
  • 《宝可梦:阿尔宙斯》双周目通关
  • 【理解 Cilium 系列文章】(一) 初識 Cilium
  • 【筆記】在GCP上建立可Remote dekstop的Ubuntu環境
  • 一些软件设计的原则
  • 一張圖學會【拼音輸入法】
  • 一文读不懂的 Go 1.21 GA 的 PGO 优化——一次在 WebP Server Go 上的尝试
  • 一次搞懂密碼學中的三兄弟 — Encode、Encrypt 跟 Hash
  • 人人都需要一個 HTTP proxy 來 debug
  • 以 Go 為例,圖解 Data Alignment 如何影響記憶體使用量
  • 使用 Cloudflare 中转 V2Ray 流量
  • 使用 Nginx 和 mod_pagespeed 自动将图片转换为 WebP 并输出
  • 使用 oh-my-posh 美化 PowerShell 樣式
  • 使用 TC 和 Netem 模拟网络异常
  • 使用Go语言解析二进制数据踩坑总结
  • 使用mydumper备份数据库
  • 关于高可用的系统
  • 具有代表性的 HTTP 状态码
  • 再战运营商缓存之 使用 iptables 对付死 X 缓存劫持
  • 冰山一角的駭客工具介紹
  • 利用 Fail2Ban + nftables 加固服务器
  • 利用 GPG 簽署 git commit
  • 制作macOS系统dmg包及iso可引导镜像
  • 古代計時單位
  • 善用 Go Fuzzing,幫助你寫出更完整的單元測試
  • 喬叔教 Elastic - 30 - Elasticsearch 的優化技巧 (4/4) - Shard 的最佳化管理
  • 在瀏覽器輸入網址並送出後,到底發生了什麼事?
  • 如何使用 Chrome 開發人員工具擷取網頁畫面與製作長截圖?
  • 如何在 Switch 上啟用 snmp 設定
  • 如何在Surface Go 2安裝Fedora Linux,提昇低階平板效能
  • 如何設定時區與NTP服務在RHEL7/CentOS7
  • 寫 Web 也可以用 Makefile:好好管理你的環境流程
  • 將 List 轉置為 dict 的 list
  • 將指令輸出轉為圖片
  • 工欲善其事,必先利其器 —— 我的家庭网络组网方案
  • 应大多数人要求写下kubeadm的基础使用
  • 怎么选择 Go 文件读取方案
  • 我就感觉到快 —— zsh 和 oh my zsh 冷启动速度优化
  • 我的提升生產力 Mac 設定與軟體
  • 把 Cloudflare WARP 转换为 http 代理
  • 更强大的Go执行跟踪能力
  • 最好用的 V2Ray 一键安装脚本 & 管理脚本
  • 有关 MTU 和 MSS 的一切
  • 朋友旅行防止絕交檢查表
  • 機房 notes
  • 永齡基金會AI大師論壇:人工智慧如何形塑人類未來
  • 活久见!Linux命令行居然也可以用来查看图像?
  • 淺談 Go Iterator
  • 為什麼瀏覽器 user-agent string 總是包含 Mozilla/5.0 ?
  • 為你的Go應用建立輕量級Docker映象? | IT人
  • 独立服务器 CPU 频率最大化配置指南
  • 用 iptables 和 ip rule 做负载均衡
  • 用 WUD 替代 Watchtower:构建可控的 Docker 自动更新方案
  • 白话 Kubernetes Runtime
  • 确定虚拟化技术的简便方法
  • 臺灣台語輸入法App上架 即日起行動裝置也能輸入臺灣台語
  • 與 DDoS 奮戰:nginx, iptables 與 fail2ban
  • 設定 Haproxy 以防止 DDOS 攻擊
  • 超簡單!快速打造漂亮又好用的 zsh 終端環境
  • 透過LinuxServer.io打包的Docker映像檔,將桌面程式轉成網頁版,透過瀏覽器即可使用
  • 通过 Nginx 绕过 X-Frame-Options 限制
  • 防火牆更新
  • 阿瓦隆(The Resistance:Avalon)
  • 降低家用 Web 服务被通报的概率
  • 隐藏于 Cloudflare 的全球网络之中
  • 黑帽Go
Hero Image
隐藏于 Cloudflare 的全球网络之中

隐藏于 Cloudflare 的全球网络之中 一种方式是走 Cloudflare WARP,WARP 可以运行在 proxy mode 而不是接管全局流量 warp-cli register # warp 监听本地的11111端口 warp-cli set-proxy-port 11111 # warp proxy mode warp-cli set-mode proxy # 永久开启 warp-cli enable-always-on https_proxy=socks5://127.0.0.1:11111 http_proxy=socks5://127.0.0.1:11111 go run main.go 还有一种方式是使用 Cloudflare Workers,请求由 Workers 转发 export default { async fetch(request: Request): Promise { /** * Replace `remote` with the host you wish to send requests to */ const remote = "https://example.com"; return await fetch(remote, request); }, };

Thursday, August 1, 2024 Read
Hero Image
Git force push

https://www.jvt.me/posts/2021/10/23/undo-force-push/ https://www.jvt.me/posts/2018/09/18/safely-force-git-push/ git push --force-with-lease

Friday, July 26, 2024 Read
Hero Image
以 Go 為例,圖解 Data Alignment 如何影響記憶體使用量

以 Go 為例,圖解 Data Alignment 如何影響記憶體使用量

Monday, July 8, 2024 Read
Hero Image
The One Billion Row Challenge in Go: from 1m45s to 3.4s in nine solutions

The One Billion Row Challenge in Go: from 1m45s to 3.4s in nine solutions

Monday, July 8, 2024 Read
Hero Image
Python's many command-line utilities

Python’s many command-line utilities These are Python’s most helpful general-purpose command-line tools. Command Purpose More python -m http.server Start a simple web server Video python -m webbrowser Launch your web browser Docs python -m json.tool Nicely format JSON data Docs python -m calendar Show a command-line calendar Docs http.server Running the http.server module as a script will start a web server on port 8000 that hosts files from the current directory. I use this all the time to preview Sphinx documentation sites (especially when using Sphinx’s dirhtml option which is all about subdirectories of index.html files).

Saturday, July 6, 2024 Read
Hero Image
Go leetcode

https://books.halfrost.com/leetcode/

Thursday, June 20, 2024 Read
Hero Image
Nginx if 避坑指南

Nginx if 避坑指南 If is Evil… when used in location context if 指令由 rewrite 模块提供,显然它主要是用于 URL 重写领域。典型的 if 用法如下: http { server { listen 8080; if ($http_user_agent ~ MSIE) { rewrite ^(.*)$ /msie/$1 break; } if ($request_method = POST) { return 405; } } } 上例中第一个 if 检查如果 user agent 字符串中包含 MSIE,就把 URL 重写为 /msie 开头的路径,这样就可以给微软的 IE 浏览器提供特供版本内容。 第二个 if 检查当前请求的 HTTP 方法,如果是 POST 请求则直接返回 405 状态码。 以上就是 if 最典型的用法,也是 Nginx 最初设想的用法~但很快就被用户玩坏了 😂 天下苦静态配置久矣,Nginx 终于支持动态配置了 👏 这个 if 不就是 c 语言里的条件判断吗?大家玩起来 🎢

Saturday, June 15, 2024 Read
Hero Image
Mount AWS S3 Bucket On Amazon EC2

Mount AWS S3 Bucket On Amazon EC2 Use Cases Data Backup and Archiving: Efficiently store and retrieve data from S3 to perform reliable backups and long-term archiving. Big Data and Analytics: Directly access large datasets in S3 for seamless data processing and analytics. Web Hosting and Content Distribution: Serve static content from S3 to host websites and media files efficiently. Log Collection and Analysis: Centrally store logs in S3 for easy log analysis and monitoring. File Sharing and Collaboration: Share and collaborate on files among multiple EC2 instances using S3 as a shared data repository. Prerequisites

Sunday, June 9, 2024 Read
Hero Image
WebP Cloud uses Cloudflare Workers to fetch content from the origin server in order to protect the origin server and start providing origin fetch time information.

WebP Cloud uses Cloudflare Workers to fetch content from the origin server in order to protect the origin server and start providing origin fetch time information.

Sunday, June 9, 2024 Read
Hero Image
Emoji Regular expression

Emoji Regular expression /\p{Emoji}/u 既然是匹配 Emoji,那么 loneProperty (\p{loneProperty}) 就应该是 Emoji ? 实际测试并不符合需求,因为在 Emoji 官方文档中, 123456789*# 也是被看作是 Emoji, 如果用这个正则的话,就会把数字也认为是 Emoji,不符合只排除特殊表情的要求。 /\p{Extended_Pictographic}/u 而 Extended_Pictographic 表示的 Emoji 才是我们认为的那些表情符号。

Sunday, May 19, 2024 Read
Hero Image
Prometheus relabeling and linux metrics

How to use relabeling in Prometheus and VictoriaMetrics Interpreting Prometheus metrics for Linux disk I/O utilization Prometheus 简介 Adding new label - target_label: "foo" replacement: "bar" metrics rkB/s: rate(node_disk_read_bytes_total[*]) Unit: bytes per second wkB/s: rate(node_disk_written_bytes_total[*]) Unit: bytes per second

Tuesday, May 14, 2024 Read
Hero Image
LLMs Hackmd Docs

大型語言模型 LLMs 課程教學 課程大綱 (四) 大型語言模型 LLMs 課程教學 課程大綱 (五) 大型語言模型 LLMs 課程教學 課程大綱 (六) LM STUDIO chromadb/chroma ollama/ollama mintplexlabs/anythingllm

Friday, May 10, 2024 Read
  • ««
  • «
  • 4
  • 5
  • 6
  • 7
  • 8
  • »
  • »»
Navigation
  • About
  • Skills
  • Experiences
  • Education
  • Projects
Contact me:
  • zeyanlin@outlook.com
  • linzeyan
  • Ricky
  • Ricky