Adding the newest Loading Animation feature to LINE Bot
Background I was integrating internal machine learning features to our official account bot, specifically STT and OCR services. The long pending time may cause confusion and uncertainty to the user. Adding a loading animation can help to improve the user experience. API Guide We can add a loading animation via sending a request. Here is an example from API doc using curl: 1 2 3 4 5 6 7 curl...
Setup My Mac
System Settings Keyboard Key repeat rate and delay until repeat Modify shortcuts for screenshots Under Desktop & Doc > Shortcuts set ShowDesktop to right option key Enable Hot Corners under Desktop & Doc > Hot Corners Menu Bar and Control Center Cleanup Dock and move to right Configs 1 2 cd ~/Desktop/code git clone https://github.com/patty111/configs.git Homebrew Install homebrew Install packages 1 2 cd ~/Desktop/code/configs/macOS brew bundle raycast disable window navigation disable spotlight iterm install nerd font CascadiaMono or CascadiaCove and import rectangle github ssh key setup git config Install cargo Solana cli Zsh Install oh-my-zsh config file and plugins setup 1 cp ~/Desktop/code/configs/macOS/....
Github SSH Setup
Setup Authentication with Github using SSH, github username/password authentication is deprecated. Generate SSH Key 1 ssh-keygen -t rsa -b 4096 -C "your_email@example.com" This should generate a public and private key pair in ~/.ssh/ directory. Should be something like id_rsa and id_rsa.pub. Github Setup Go to github > settings > SSH and GPG keys > New SSH key and paste the contents of id_rsa.pub file. Key type used is authentication key....
Solana Pay 101
original posts: Part1 Part2 English translation is coming soon.
How to Read MPEG Header? A Simple Attempt to Impl a MPEG Parser
I was trying to get the sample rate of some audio data. Due to licensing issue and some other restrictions, I can鈥檛 use some existing libraries to parse the MPEG header. So I decided to write a simple parser to get the sample rate from the MPEG header. The audio data I will be mainly working about is MP3 and M4A. MPEG Format MPEG is a standard for coding audio-visual information....