Skip to content

Instantly share code, notes, and snippets.

View pyq's full-sized avatar
🐶

Yongqing pyq

🐶
View GitHub Profile
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active May 8, 2025 07:25
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.

#include <iostream>
#include <vector>
using namespace std;
int big_average(const vector<int> &vec) {
// we want sum(vec) / vec.size()
int a = vec.size(), quotient = 0, remainder = 0;