Futures
Access hundreds of perpetual contracts
CFD
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Pre-IPOs
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
GateRouter
Smartly choose from 40+ AI models, with 0% extra fees
I recently discovered a small tool called bat, with 59k stars, written in Rust.
It's an enhanced version of cat, but with way more features.
When viewing code files, it automatically adds syntax highlighting, recognizing Python, JS, Go, Rust, and more.
It can also display Git change markers, showing which lines are added or deleted, all at a glance.
My favorite feature is its built-in pagination, so large files don't flood the screen all at once.
Press space to page through, just like less.
It also supports displaying line numbers, making bug hunting much easier.
Installation is simple: on macOS, just run brew install bat; on Linux, use your package manager.
After installing, set an alias to replace cat with bat—everyday use feels seamless, but the experience is greatly improved.
I tried viewing a log file with several thousand lines; previously, cat would just flood the screen, but now with highlighting and pagination, it’s much more comfortable.
→ If you want the link, just say "Yes," and I’ll send it to you.