Logo Ricky
  • Home
  • About
  • More
    Skills Experiences Education Projects
  • Posts
  • Notes
  • Activities
  • Running
  • English
    English Chinese
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Posts
  • A python script that allows your terminal to snow.
  • Add SFTP user and share directory
  • Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash
  • Ansible Introduction
  • Cloudflare Tunnel
  • Cloudflare Zero Trust
  • Configuring SSH Keys for Multiple GitHub Accounts
  • Container security fundamentals
  • datavizproject
  • Docker Introduction
  • Emoji Regular expression
  • Fetch GraphQL schema information
  • Git force push
  • Gitlab-CI Introduction
  • Go articles
  • Go leetcode
  • Go Style Decisions - Pass values
  • Golang tips
  • Google Infra
  • GraphQL Introspection Query
  • How Core Git Developers Configure Git
  • Install Chrome OS
  • iTerm2 features I find useful
  • Lightweight Linux Distributions For Older PCs
  • LLM Visualization
  • LLMs Hackmd Docs
  • Mac 小众软件推荐与工作流分享(2024)
  • macOS Tips & Tricks
  • Nginx notes
  • Objective-See: 一个关于 Apple 设备隐私与安全的开源项目组织
  • Prometheus relabeling and linux metrics
  • Rules that terminal programs follow
  • Run llama3
  • Smarter than 'Ctrl+F': Linking Directly to Web Page Content
  • Supply chain attack
  • Taide - training data
  • Tuning EMQX to Scale to One Million Concurrent Connection on Kubernetes
  • Use terminal and SSH to remote host
  • 一文读不懂的 Go 1.21 GA 的 PGO 优化——一次在 WebP Server Go 上的尝试
  • 朋友旅行防止絕交檢查表
  • 永齡基金會AI大師論壇:人工智慧如何形塑人類未來
Hero Image
macOS Tips & Tricks

macOS Tips & Tricks General Native UI Conventions Press ⇧⌘/ to search all of the current app’s menu items. Then use the Up/Down arrow keys to navigate the results and press Return to execute that menu bar action. Press ⌃F2 to move keyboard focus to the application’s menu bar. Start typing the first few letters of a menu title to jump to that menu. Hold the Option key while expanding an outline view to recursively expand all children.

Friday, March 7, 2025 Read
Hero Image
How Core Git Developers Configure Git

How Core Git Developers Configure Git # clearly makes git better [column] ui = auto [branch] sort = -committerdate [tag] sort = version:refname [init] defaultBranch = main [diff] algorithm = histogram colorMoved = plain mnemonicPrefix = true renames = true [push] default = simple autoSetupRemote = true followTags = true [fetch] prune = true pruneTags = true all = true # why the hell not? [help] autocorrect = prompt [commit] verbose = true [rerere] enabled = true autoupdate = true [core] excludesfile = ~/.

Friday, March 7, 2025 Read
Hero Image
Configuring SSH Keys for Multiple GitHub Accounts

Configuring SSH Keys for Multiple GitHub Accounts Use Different Host values Host github.com HostName github.com User git IdentityFile ~/.ssh/id_fry_ed25519 Host github-plnx HostName github.com User git IdentityFile ~/.ssh/id_fry_plnx_ed25519 # Instead of the actual URL $ git clone git@github.com:planet-express/delivery_service.git # Substitue in our custom Host value for the `github.com` part $ git clone git@github-plnx:planet-express/delivery_service.git Automate Substituting the Host [include] path = ~/.gitconfig_custom # See custom `Host github-plnx` in ~/.ssh/config [url "github-plnx:planet-express"] insteadOf = git@github.

Tuesday, February 11, 2025 Read
Hero Image
iTerm2 features I find useful

iTerm2 features I find useful Show Timestamps ==> ⌘+Shift+E Alert on next prompt ==> ⌘+Option+A Jump between prompts ==> ⌘+Shift+Down Hotkeys to scroll one line at a time ==> ⌘+Up and ⌘+Down Rearrange tabs with hotkeys ==> Ctrl+Shift+B and Ctrl+Shift+F

Sunday, February 9, 2025 Read
Hero Image
GraphQL Introspection Query

query IntrospectionQuery { __schema { queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name description locations args { ...InputValue } } } } fragment FullType on __Type { kind name description fields(includeDeprecated: true) { name description args { ...InputValue } type { ...TypeRef } isDeprecated deprecationReason } inputFields { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: true) { name description isDeprecated deprecationReason } possibleTypes { .

Thursday, January 2, 2025 Read
Hero Image
Rules that terminal programs follow

“Rules” that terminal programs follow rule 1: noninteractive programs should quit when you press Ctrl-C rule 2: TUIs should quit when you press q rule 3: REPLs should quit when you press Ctrl-D on an empty line rule 4: don’t use more than 16 colours rule 5: vaguely support readline keybindings rule 5.1: Ctrl-W should delete the last word rule 6: disable colours when writing to a pipe rule 7: - means stdin/stdout

Wednesday, December 25, 2024 Read
Hero Image
Smarter than 'Ctrl+F': Linking Directly to Web Page Content

Smarter than ‘Ctrl+F’: Linking Directly to Web Page Content syntax https://example.com/page.html#:~:text=[prefix-,]textStart[,textEnd][,-suffix] example https://developer.mozilla.org/en-US/docs/Web/URI/Fragment/Text_fragments#:~:text=without%20relying%20on%20the%20presence%20of%20IDs

Wednesday, December 25, 2024 Read
Hero Image
Mac 小众软件推荐与工作流分享(2024)

Mac 小众软件推荐与工作流分享(2024)

Thursday, November 14, 2024 Read
Hero Image
Objective-See: 一个关于 Apple 设备隐私与安全的开源项目组织

Objective-See: 一个关于 Apple 设备隐私与安全的开源项目组织 今天搜小工具的时候发现他们做了一堆 macOS 上的开源软件,基本都是和隐私与安全相关的。 KnockKnock: 查看你的 Mac 上有哪些后台进程、守护进程、启动项、内核扩展、登录项、浏览器插件等等。能看到的比那个「Login Items」详细的多(有的软件通过其他方式自启动) LuLu: 一个开源的 macOS 上的网络防火墙,可以让你详细的控制每个软件的网络连接。(类似 Hands Off!) TaskExplorer: 一个增强版的任务管理器,可以看到应用的签名、打开的文件、网络连接等等,还可以根据 sha256 自动帮你搜索 VirusTotal 结果。 Do Not Disturb: 可以阻止你的 Mac 被打扰(没错),当你的 Mac 被别人打开盖子时可以发送警告、执行脚本、检测设备变化之类的。 BlockBlock: 可以阻止后台的持久化安装,RansomWhere 可以检测文件被加密的行为,还有一些杂七杂八的独立工具。 https://objective-see.org

Wednesday, November 13, 2024 Read
Hero Image
Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash

Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash Use Built-in Commands Built-in commands execute faster because they don’t require loading an external process. Minimize Subshells Subshells can be expensive in terms of performance. # Inefficient output=$(cat file.txt) # Efficient output=$(<file.txt) Use Arrays for Bulk Data When handling a large amount of data, arrays can be more efficient and easier to manage than multiple variables.

Wednesday, September 25, 2024 Read
Hero Image
Google Infra

Google Infra Google’s 5-generation network architecture in ten years

Tuesday, September 24, 2024 Read
Hero Image
Supply chain attack

Go articles 提高警惕,供应链攻击就在你我身边 github.com/siruspen/logrus false github.com/sirupsen/logrus true

Friday, September 13, 2024 Read
  • ««
  • «
  • 1
  • 2
  • 3
  • 4
  • »
  • »»
Navigation
  • About
  • Skills
  • Experiences
  • Education
  • Projects
Contact me:
  • zeyanlin@outlook.com
  • linzeyan
  • Ricky
  • Ricky
  • Ricky