Logo Ricky
  • 首頁
  • 關於
  • 更多的
    技能 經歷 學歷 專案
  • 文章
  • 筆記
  • 活動
  • Transform
  • Chinese
    English Chinese
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • 標籤
  • A10
  • ACME
  • AD
  • AES
  • AI
  • Aliyun
  • Ansible
  • APP
  • Application Delivery Controller
  • Arceus
  • Argo CD
  • ASCII
  • Authentication
  • Authorization
  • AWS
  • BASH
  • Bayonet
  • Benchmark
  • BGP
  • BIRD
  • Board Game
  • Browser
  • Byte
  • Cache
  • CDN
  • Channel
  • Chart
  • Checklist
  • Chrome
  • Chrome OS
  • Chrony
  • CI
  • Cilium
  • Cisco
  • Cloud-Native
  • Cloudflare
  • Cluster
  • Command Line
  • Completion
  • Config
  • Container
  • CPU
  • CURL
  • Data
  • Database
  • Debug
  • Dehydrated
  • Design
  • DevSecOps
  • Diagrams
  • Dmg
  • DNS
  • DNS-01
  • Docker
  • EFF
  • ElasticSearch
  • ELK
  • Emoji
  • EMQX
  • Encode
  • Encrypt
  • ESXi
  • Extension
  • Firewall
  • Fortigate
  • Fortinet
  • FortiOS
  • Game
  • GeoIP
  • GIN
  • Git
  • GitBook
  • Github
  • Gitlab
  • GitOps
  • Gluetun
  • Go
  • Go-Mysql-Elasticsearch
  • Golang
  • Google
  • GPG
  • GraphQL
  • HA
  • HAProxy
  • Hash
  • HomeLab
  • Htop
  • HTTP
  • Infra
  • Infrastructure
  • Input Method
  • Interview
  • Introduction
  • IPhone
  • Iptables
  • Iso
  • Issue
  • ITerm2
  • Jenkins
  • Jsoniter
  • Juniper
  • JWT
  • Kibana
  • Kubernetes
  • LDAP
  • Leetcode
  • Lightweight
  • Linkerd
  • Linux
  • LLM
  • Log
  • Lua
  • Lullaby
  • LVM
  • Machinelearning
  • MacOS
  • Markdown
  • Mattermost
  • Mermaid
  • MinIO
  • Module
  • MQTT
  • MSS
  • MTU
  • Music
  • MyDumper
  • MySQL
  • NAS
  • Netcat
  • Network
  • Nftables
  • Nginx
  • OAuth
  • OIDC
  • Ollama
  • OpenResty
  • Parquet
  • Percona
  • Pinyin
  • Pip
  • Plugin
  • Pokemon
  • PowerDNS
  • PowerShell
  • Pprof
  • Principle
  • Prometheus
  • Protobuf
  • Proxy
  • Push
  • Python
  • QRCode
  • R
  • RAID
  • RDP
  • Redis
  • Regex
  • Ringtone
  • Route
  • Rust
  • S3
  • ScreenShot
  • Security
  • Selenium
  • Sentry
  • Service Mesh
  • SFTP
  • SHELL
  • Slides
  • Snow
  • Software
  • SonarQube
  • SQL
  • SSH
  • SSL
  • String
  • Switch
  • Sync
  • Synology
  • System
  • Tcpdump
  • Telegram
  • Terminal
  • Terraform
  • Test
  • Testing
  • Time
  • Timeout
  • TLS
  • Tor
  • Trace
  • Traefik
  • Travel
  • Tunnel
  • Typora
  • Ubuntu
  • URL
  • UserAgent
  • V2Ray
  • Vagrant
  • Video
  • Vim
  • Virtualization
  • Visualization
  • VNC
  • VPN
  • VSCode
  • WAF
  • Web
  • WebAssembly
  • Webp
  • Windows
  • WSL
  • YAML
  • Youtube
  • Zabbix
  • Zero Trust
  • Zim
  • ZSH
  • 台語
Hero Image
Taide - training data

Taide - training data

Saturday, April 27, 2024 閱讀
Hero Image
Run llama3

ollama/ollama Ollama + Open WebUI,快捷部署 AI 大型語言模型到你的電腦,離線執行 Docker-compose version: "3.8" services: ollama: image: ollama/ollama:latest container_name: ollama restart: unless-stopped volumes: - ./ollama/ollama:/root/.ollama tty: true ports: - 11434:11434 networks: - ollama-docker # deploy: # resources: # reservations: # devices: # - driver: nvidia # count: 1 # capabilities: [gpu] ollama-webui: image: ghcr.io/ollama-webui/ollama-webui:main container_name: ollama-webui restart: unless-stopped volumes: - ./ollama/ollama-webui:/app/backend/data ports: - 8080:8080 environment: - "/ollama/api=http://ollama:11434/api" extra_hosts: - host.docker.internal:host-gateway networks: - ollama-docker networks: ollama-docker: Setup # Run docker-compose docker-compose up -d # Pull model(https://ollama.com/library) docker exec -it ollama /bin/bash ollama pull llama3 Chat with Web-UI port defined in docker-compose.yml ollama-webui.ports

Thursday, April 25, 2024 閱讀
Hero Image
一文读不懂的 Go 1.21 GA 的 PGO 优化——一次在 WebP Server Go 上的尝试

一文读不懂的 Go 1.21 GA 的 PGO 优化——一次在 WebP Server Go 上的尝试

Thursday, April 25, 2024 閱讀
Hero Image
Go Style Decisions - Pass values

Go Style Decisions - Pass values 不要僅僅為了節省一些位元組而將指標作為函數參數傳遞。如果函數始終將其參數 x 讀取為 *x,則該參數不應該是指標。常見的實例包括傳遞指向字串的指標 (*string) 或指向介面值的指標 (*io.Reader)。在這兩種情況下,值本身都是固定大小的,可以直接傳遞。 此建議不適用於大型結構,甚至不適用於可能增加大小的小型結構。特別是,協定緩衝區訊息通常應透過指標而不是值來處理。指標類型滿足 proto.Message 介面(被 proto.Marshal 、 protocmp.Transform 等接受),且協定緩衝區訊息可能非常大,並且通常會隨著時間的推移而變得更大。

Saturday, April 13, 2024 閱讀
Hero Image
GO Generic 入門筆記

GO Generic 入門筆記 自定義約束 // Addable只允許int 或 float64類型 type Addable interface { int | float64 } func Add[T Addable](a, b T) T { return a + b } ~ 符號的作用 ~ 符號用于表示與指定类型有相同底層類型的所有類型。當你在類型參數的约束中使用 ~ 符號時,你指定了一個類型集合,這個集合包含所有底層類型與约束中指定的類型相同的類型。 type MyInt int type YourInt int func PrintInt[T ~int](t T) { fmt.Println(t) } func main() { var a int = 5 var b MyInt = 10 var c YourInt = 15 PrintInt(a) PrintInt(b) PrintInt(c) }

Wednesday, February 7, 2024 閱讀
Hero Image
Tracking SQLite Database Changes in Git

Tracking SQLite Database Changes in Git Git hook for diff sqlite table First, add a diff type called “sqlite3” to your config. The simplest way is to just run these commands: git config diff.sqlite3.binary true git config diff.sqlite3.textconv "echo .dump | sqlite3" Alternatively, you can add this snippet to your ~/.gitconfig or .git/config in your repository: [diff "sqlite3"] binary = true textconv = "echo .dump | sqlite3" Next, create a file called .gitattributes if it’s not already present and add this line:

Wednesday, February 7, 2024 閱讀
Hero Image
LLM Visualization

LLM Visualization Github

Sunday, January 21, 2024 閱讀
Hero Image
Tuning EMQX to Scale to One Million Concurrent Connection on Kubernetes

Tuning EMQX to Scale to One Million Concurrent Connection on Kubernetes

Sunday, January 21, 2024 閱讀
Hero Image
llamafile - Distribute and run LLMs with a single file.

llamafile - Distribute and run LLMs with a single file. Bash One-Liners for LLMs

Sunday, January 21, 2024 閱讀
Hero Image
Database Fundamentals

Database Fundamentals

Monday, January 1, 2024 閱讀
Hero Image
Terraform Provider 開發紀錄

Terraform Provider 開發紀錄

Thursday, December 28, 2023 閱讀
Hero Image
A python script that allows your terminal to snow.

A python script that allows your terminal to snow. docker run --rm -ti sontek/snowmachine tree --color rainbow --particle "*" --snow true --lights-color rainbow

Sunday, December 24, 2023 閱讀
  • ««
  • «
  • 5
  • 6
  • 7
  • 8
  • 9
  • »
  • »»
導覽列
  • 關於
  • 技能
  • 經歷
  • 學歷
  • 專案
聯絡方式:
  • zeyanlin@outlook.com
  • linzeyan
  • Ricky
  • Ricky