logo
Yi's Blog
Article index
Initializing search
    • Home
      • Head first AIOps
      • AIOps for Dummies
      • AIOps & Visibility For Dummies
      • Head First Big Data
      • Big data tool set
      • Data analysis and visualization with Apache Superset
        • Head first Hadoop ecosystem
        • Hadoop 2.6.3 dynamically add/remove DataNode
        • Hadoop namenode format on new cluster
        • Hadoop HDFS HA show two StandBy NameNode
        • Hadoop default port and role
        • Install Hadoop 2.6.3 cluster on CentOS 6.7
      • Head First Cloud
        • 12 factor in Cloud Native
        • Cloud Service Design Pattern
          • Use AWS S3 as static website
          • Enhance S3 cross region replication with lambda in AWS
          • Set AWS S3 bucket permission with mc tool
          • Introduce to system demage level
          • Visit self-host AWS s3 service with aws cli
          • Add reverse DNS record for public ip in Azure
          • Application of Azure student account
          • Disable Ubuntu default firewall on Oracle Cloud
        • An overview of Kubernetes components
        • Kubernetes Installer Tools
        • Summary of Managed Kubernetes Services
        • Head first Helm
        • kubectl commands
        • Head first Nomad
      • Head First Container
      • Primary OCI runtimes used with container engines
        • Colima - container runtimes on MacOS
        • Container Runtime Interface (CRI) CLI
        • Docker Cheat Sheet
        • Management of Docker Containers Network
        • Manage Docker Containers Volume and Environment
        • Creating and Managing Container Images
        • Podman Cheat Sheet
        • Common usage of Snaps
      • Head First DNS
      • Common usage of dig command
      • Public DNS over TLS
      • How to get subdomain from given domain
      • Name.com coupon
      • Public Free DNS Service
      • What is a HSTS domain
      • Head First Debug
      • Debug in bash
      • Calico verbose panic log: ip6tables-legacy-save failed
      • Debugging C with Clang compiler and LLDB on MacOS
      • Debug in Go
      • Find C/C++ memory leak with valgrind on Linux
      • Debug coredump with gdb
      • Debug in Lua
      • Network packets debug with tcpdump
      • Debug in Python3
      • Head First DevOps
      • Server batch management tools
      • Dev workflow
      • Opensource project management system
      • Modern monitoring system summary
        • Head First CI CD in DevOps
        • Auto deploy different static web to GitHub pages with GitHub Action
          • Head First Argo CD in DevOps
        • Head First Iac - Terraform
        • Most frequently used plugin in Jenkins
        • Implement Jenkins HA with bash, rsync and etcd
        • Store multiline string parameter into file in Jenkins
        • Jenkins RestAPI call with Error 403 No valid crumb was included in the request
        • Jenkins common REST API
        • Ansible ad hoc command examples
        • Omit strict host key check in pssh
        • execute local script on remote machines with pssh
        • Batch send-retrive file with pscp-pslurp
      • Head First DevSecOps
      • Using Google Authenticator for SSH
      • Common OTP implementation in Shell, Python and Go
      • Common examples of regular expression
      • Common implementation of TLS/SSL protocol
      • Head First DevSecOps
      • Kick out inactive user on Linux
      • Check last successful/failed login user on Linux
      • Calc last failed login user with source ip on Linux
      • Intrusion trace cleaning for Linux
      • Vulnerability and bug scan in Linux
      • Privilege escalation misconfigurations check for Linux
      • nich - quickly analyze open ports vulnerabilities
      • OpenSSL Cheatsheet
      • url pattern from potential attackers' scanner
      • Sign and Verify file with SSH Keys
      • get ssh public key from private key
      • Types of VPN
      • Distributed Systems - what should be considered
      • Latency and CPU speed infomation
      • Tech giant engineering blogs recommendation
      • RSS of engineering blogs recommendation
      • Mail service with custom domain
      • RSS resource list
      • Search your technical books
          • Engineering book list
      • Head First Front-End Framework
      • Material Icon Search
        • Head first JavaScript
        • Event listener in JavaScript
        • Introduction to event in JavaScript
        • Redirect Page after a Delay
        • Head first TypeScript
      • More Fun
      • Charles license generator
      • RAID Capacity Calculator
      • A collection of cloud resource free trial
      • Funny command line browser Lynx
      • Chrome offline download address
      • Recursion example - fork bomb
      • sublime 2/3 enter/start vim mode
      • Vim CheatSheet
      • Easter eggs in vim
      • Vim Hotkey cheetsheet
      • Vim reference
      • When GitHub unavaiilable
      • When Google unavailable
      • When Stack Overflow maintain
      • Zero-width non-breaking space
        • 新加坡华语
        • Learning English Idioms
      • Head First GitOps in 5 minutes
      • Git Cheat Sheet
      • delete untracked files with git clean
      • git GUI recommendation
      • Connect local git repo to GitHub with ssh
      • Head First Golang
      • Add version info in your Go project
      • Go 1.18 on MacOS: linkname must refer to declared function or variable
      • Golang makefile example
      • Read and Set Environment variables in Go
      • WaitGroup example in Go
      • Channel based concurrency in Go
      • Clear screen (clear console) in Golang
      • Reduce binary file size in Golang
      • Cheatsheet for golang
      • An Implementation of random.shuffle in golang
      • Learning Go
      • /usr/bin/curl: Argument list too long
      • Ignore invalid and self signed SSL check in curl and wget
      • Use wget to download the whole website in one command
      • Run web based terminal with gotty
      • Head First HTTP
      • Head Rirst SSL
      • Cross platform HTTP/S benchmark tool - Cassowary
      • Introduction to QUIC
      • Using curl to output detail time consuming of http
      • Realtime web benchmark tool on CLI
      • Use Nginx as reversed proxy for WebSocket
      • Introduction to SSL Pinning
      • Remove password for a password protected SSL private key
      • Summary of web framework in different language
      • HTTP CLI client and REST API tool
      • What is a REST API
      • Article index of Linux
      • How to find out all Kernel Boot Parameters
      • Apparmor conflicted with ntpd: apparmor=DENIED operation=capable
      • delete file: Argument list too long in Linux
      • The most useful usage of awk
      • Run a process in background on Linux
      • Change hostname for Linux
      • Change Timezone with timedatectl
      • How to lock important file on Linux
      • Calculate md5, sha1, sha256, sha512 checksum in Linux
      • Clean penetration trace in Linux
      • The most commonly used performance check commands in Linux
      • Hotkey with Ctrl in Linux
      • Use crontab and flock to control cron job sequence
      • Delete all files EXCEPT the certain pattern
      • Linux File and Directory permission - rwxst
      • Check disk block size in Linux
      • Get hardware and temperature infomation
      • Search manual pages for Linux
      • dstat common usage
      • Release and recycle disk space on Linux
      • Common usage of find command
      • nf_conntrack: table full, dropping packet
      • Allow and forbid ping in Linux
      • Generate random hexadecimal in Linux
      • Check glibc version in Linux
      • Usage of Linux grep
      • Read and open hex file in Linux
      • using iptraf to monitor network traffic and bandwidth
      • Linux kernel bug list
      • Resources for Linux kernel development
      • ls -l detail for Linux
      • Check open files for a given PID or process name
      • Tune and change max open files for Linux
      • Performance monitor and tracing command on Linux
      • mosh - using UDP based SSH tool on Linux
      • file transfer with nc command on Linux
      • Linux disk visualization tool - ncdu
      • Linux kernel: neighbour table overflow
      • Summary of network related commands of Linux
      • Linux netstat usage
      • Optimize and tune Nginx for high concurrency
      • Usage of Nginx module http_stub_status_module
      • Listen ipv4/ipv6 port in nginx configuration
      • Nginx supported signal
      • Top 20 Linux system performance tools
      • Linux POSIX character set
      • Linux process states explanation
      • Purge file system cache on Linux
      • Spicify SSH port in rsync command
      • scp usage on Linux
      • Head first sed in 10 minutes
      • Ss in SetUID、SetGID and Tt in Sticky bit
      • TCP/UDP port forwarding with socat
      • source a file to Linux Path
      • Avoid inputting yes on POSSIBLE BREAK-IN ATTEMPT
      • Linux CPU/MEM/IO benchmark tool sysbench
      • (De)compress gz/bz2/xz file with tar command
      • tmux hotkey cheatsheet on Linux
      • Too many connections in Linux
      • Let ls command omit case sensitive characters
      • Common usage of rsync
      • Subscribe Linux Kernel Mail List
      • config PATH in supervisor
      • Understand cgroups - demo and explanation
      • Understand Systemd - demo and explanation
      • Why should we forbid THP on Linux
      • Head First Lua in 30 minutes
      • Head First Message Queue
        • Head First Kafka
        • Head First RabbitMQ
      • Man Page
      • a better man page with example
      • Head First Network
      • Introduction articles about BGP
      • Statistics of TCP state
      • Calculate CIDR from IP range
      • Get my local public IP from browser and shell
      • Get multi location Ping result
      • Fundamental Knowledge of IP Protocol
      • Port based speed limit/traffic control on Linux
      • TCP congestion control
      • Optimize for TCP_NODELAY
      • TCP State Transition Diagram (RFC793)
      • Two ways to make tcpdump work together with Wireshark
      • Head First NoSQL
      • Introduction to gossip
      • NoSQL system summary and comparison
      • CAP theory for NoSQL system
        • Performance tunning for Cassandra
        • Deploy Cassandra with ccm
        • Manage Cassandra with nodetool
        • MongoDB 性能优化
        • MongoDB 监控指标汇总
        • Head First Redis
        • Aliyun Redis best practice
        • Change and Save Redis configuration during running
        • From 0 to 1 - create redis cluster
        • parse and decode Redis AOF file with Python
        • Commands for Redis clients
        • Useful cluster commands for Redis Cluster
        • Redis compatible nosql system performance comparison
        • Redis config summary and reference
        • Redis source code - how to get started
        • Redis Memory Usage Explanation
        • Redis Optimization Cheatsheet
        • Redis persistence Explanation - RDB and AOF
        • Redis rebalance - slot migration process
        • Redis source code files description
        • Redis tips and tricks
        • RocksDB Reference Collection
        • Introduction to Zookeeper
      • Head First OS
        • Package management in Arch
        • Config Let’s Encrypt to support Wildcard Certificate on CentOS 7
        • Add user into admin group on CentOS
        • Nginx benchmark tools (ab/webbench) Usage on CentOS 6.7
        • Config nginx to support SSL/TLS on CentOS 6.7
        • Hide nginx version on CentOS
        • Compile nginx-1.13.10 to support http/2 and Server Push on CentOS 7
        • CentOS 6.x install different version of gcc 4.8/4.9/5.2
        • Add SWAP partition on CentOS 6/7
        • Config extanded repo on CentOS 6/7
        • “WARNING: Readline services not available or not loaded.” on CensOS 6.x
        • send email using sendmail on CentOS
        • Modify timezone on CentOS
        • Using yum to find out which package provide command/so on CentOS
        • Install and configure Ansible on CentOS 6.7
        • Install and Configure BT Transmission on CentOS 6.7
        • iostat command cannot found on CentOS
        • mkfs.xfs command not found on CentOS
        • Configure load balance using Nginx 1.8 on CentOS 6.7
        • Compile and install ocserv on Debian 10
        • Configure BBR on Debian and Ubuntu
        • Extract files and content from deb package
        • How to remove welcome message after SSH login in Ubuntu
        • Disable ipv6 on Ubuntu 20.04
        • Install sar error: Please check if data collecting is enabled
        • Upgrade debian 10 to debian 11
        • Alternative commands on FreeBSD
        • Build your own kernel of FreeBSD
        • Change csh to bash on FreeBSD
        • Configure FreeBSD to forbid ping (ICMP)
        • FreeBSD git repo
        • Install ocserv on FreeBSD
        • Using dig on FreeBSD
        • FreeBSD system update and package installation
        • Upgrade To FreeBSD 13 From FreeBSD 12
        • batch delete .DS_Store files on MacOS
        • signing and notarizing CLI binaries on MacOS
        • Total Commander alternative on MacOS
        • statistic of TCP/UDP port and service on MacOS
        • forbid Chrome auto update on MacOS
        • Clean system log on MacOS
        • MacOS development environment essential list
        • Get a plain text of man page without backspaces and underscores on MacOS and BSD
        • Mac iTerm2 login CentOS warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
        • MacOS mysql ERROR! The server quit without updating PID file
        • MacOS Sublime Text Vim mode continuously press
        • MacOS uninstall Jenkins
        • OpenSUSE package management tool - Zypper
      • Head First Observability
        • Head First Logging
        • Head First Monitoring
        • Head First Tracing
      • Head First PHP
      • Compile and install PHP 5.6 on CentOS 6.x
      • LNMP install phpMyAdmin on CentOS
      • PHP configure: error: mcrypt.h not found. Please reinstall libmcrypt
      • PHP compile Don't know how to define struct flock on this system, set --enable-opcache=no
      • PHP 5.6 start failed to open configuration file '/usr/local/php/etc/php-fpm.conf'
      • Performance Tuning
      • Performance checkpoints in Linux
      • Linux kernel parameter - memory dirty page
      • Enable/Disable high resolution timers in Linux
      • Linux kernel parameters - network
      • Linux kernel parameters optimization
      • Check Linux kernel parameter from proc
      • USE Method: Linux Performance Checklist
      • Tuning Linux I/O Scheduler for SSDs
      • Head First Perl in 30 minutes
      • Article index
      • Django common commands cheat sheet
      • Head First Python3 in 30 minutes
      • implement lru cache in Python
      • Using Python socket to get public address
      • Using Python send http request
      • Introduction to Python PEP8
      • Accelerate Python Functions with Numba
      • Python bisect module demo
      • How to clear screen (console) in Python3
      • common package and module in Python
      • Python asynchronous programming demo: process/thread pool
      • use datetime to deal with time in Python
      • currency calculation using decimal in Python
      • Python decorators usage and example
      • Get local IP address with Python
      • Iterate over multiple lists (tuple) simultaneously in Python
      • List, dictionary, set comprehension in Python
      • Python performance analysis with Profile module
      • General Python project structure
      • usage of virtualenv in Python
      • Program in Pythonic way
      • single and double underscore of class member name in Python
      • dict sort in Python based on key, value
      • try except else finally in Python
      • Multithread Efficiency Comparison between Python and PyPy
      • Start a new Python3 Environment in 10 sececond
      • Easiest way to build your own Ruby on MacOS
      • Ruby on Rails on MacOS
      • Head First Ruby in 30 minutes
      • Better Practice of Site Reliability Engineering
      • School of SRE - Learning materials
      • Chaos Scenario in chaos-mesh
      • Job Handover from Dev to SRE
      • SLA of different cloud service providers
      • Web status page recommendation
        • Optimize MySQL for 256MB or small memory VPS
      • Head First Shell
      • Top 300 shell commands
      • Get union, intersection and difference of 2 files with 1 line command
      • Extract multi segments of a json file and merge them into 1 line with jq
      • LeetCode one-liner bash script problems and answers
      • Check present shell on Linux
      • Forbid output redirection to avoid overwrite the existing file
      • Alternative of grep command
      • Trick to repeat last command on Linux
      • Config Linux terminal support Chinese
      • set environment variable in csh, tcsh, bash, zsh
      • Decompress password protected zip file
        • Close output redirect in Bash
        • Linux bash cheatsheet
        • Special characters in bash
        • Head first bash
        • Arithmetic operation in Bash
        • Array in Bash
        • get file name from path in Bash
        • Concurrency in shell scripts with timeout
        • bash debug
        • Detach foreground process from terminal on Linux
        • Usage of $ sign in Bash
        • Judge file exists in Bash
        • Function in Bash
        • Judge whether present user is root in Bash
        • Remove color codes from output with sed in Linux bash
        • variable replacement and truncate in bash
        • Different types of user switch on Linux
        • Linux bash test statement
        • Different types of variables in Linux and Bash
        • Different loop in Bash
        • create and write a file with EOF in sh
        • change stdout with ANSI character set
        • Clear command history in zsh
      • Work Life Balance
      • Career path - an introduction
      • Health food essential nutrients
        • Work Around the World
        • Interview preparation
        • Remote work summary
        • Work at Canada
        • Work at Denmark
        • Work at Netherlands
        • Work at Germany
        • Work at Japan
        • Work at Singapore
        • Work at Sweden
    • Django common commands cheat sheet
    • Head First Python3 in 30 minutes
    • implement lru cache in Python
    • Using Python socket to get public address
    • Using Python send http request
    • Introduction to Python PEP8
    • Accelerate Python Functions with Numba
    • Python bisect module demo
    • How to clear screen (console) in Python3
    • common package and module in Python
    • Python asynchronous programming demo: process/thread pool
    • use datetime to deal with time in Python
    • currency calculation using decimal in Python
    • Python decorators usage and example
    • Get local IP address with Python
    • Iterate over multiple lists (tuple) simultaneously in Python
    • List, dictionary, set comprehension in Python
    • Python performance analysis with Profile module
    • General Python project structure
    • usage of virtualenv in Python
    • Program in Pythonic way
    • single and double underscore of class member name in Python
    • dict sort in Python based on key, value
    • try except else finally in Python
    • Multithread Efficiency Comparison between Python and PyPy
    • Start a new Python3 Environment in 10 sececond

    Disclaimer
    1. License under CC BY-NC 4.0
    2. Copyright issue feedback me#imzye.me, replace # with @
    3. Not all the commands and scripts are tested in production environment, use at your own risk
    4. No privacy information is collected here
    Try iOS App
    • Yi's Blog
    Back to top
    Copyright © 2016 - 2023
    Small world Big idea