Top Git Project

Freecodecamp's open-source codebase and curriculum....


A declarative, efficient, and flexible JavaScript library...


An Open Source Machine Learning Framework for Everyone


The most popular HTML, CSS, and JavaScript framework for...

System design-primer

Learn how to design large-scale systems. Prep for the...


🙃 A delightful community-driven (with 1900+...


Flutter makes it easy and fast to build beautiful apps...


JavaScript Style Guide


All Algorithms implemented in Python


「Java学习+面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,首选...


repo of my ever-changing dot files

setting up new mac

install xcode

xcode-select --install

install rosetta

here for M1 chips

softwareupdate --install-rosetta


create git ssh key

install homebrew

auto install


visual studio

  • run defaults write ApplePressAndHoldEnabled -bool false for key repeat


  1. show advanced settings
  2. say no to opening on login


  • go to settings > disable launch on startup


  • settings > share screen > window size ... > maintain current size


  • settings > user & groups > remove steam from startup

download apps from appstore

  • Scan Thing
  • Daisy Disk
  • Amphetamine
  • Horo
  • Good Notes

enable 3 finger drag

System Preferences > Accessibility > Pointer Control > Mouse & Trackpad > Trackpad Options > Enable Dragging > Three Finger Drag

iTerm2 Settings

defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true
defaults write com.googlecode.iterm2 PrefsCustomFolder -string "$HOME/.dotfiles/iterm2"
defaults write com.googlecode.iterm2 NoSyncNeverRemindPrefsChangesLostForFile -bool true

install jetbrains mono manually (or just use homebrew)


  • open Font Book and press +
  • select the whole folder and add it


Size: 13 Line spacing: 1.2

install logi options

set up the guesture button

logi options image

monitor control

monitor control general settings monitor control app menu settings monitor control keyboard settings

set up key board repeat

Keyboard > Keyboard > Key Repeat

set fast

Keyboard > Keyboard > Delay Until Repeat

set short

update finder settings

Finder > Preferences > [do stuff here]

Finder > View > Show Path Bar

Finder > View > Show Status Bar


enable document sync on icloud

System Preferences > Apple ID > iCloud Drive > Options > Desktop & Documents Folders

disable icloud optimization

System Preferences > Apple ID > iCloud and disable Optimize Mac Storage

misc settings

  1. enable icloud on messages
  2. enable control zoom
  3. enable tts
  4. put bluetooth in menu bar
  5. put sound in menu bar
  6. play feedback when volume is changed


  • use Brew to install the quicklook plugins into ~/Library/QuickLook

ql color code on m1 fix


ql stephen fix

xattr -Cr ~/Library/QuickLook/QLStephen.qlgenerator
qlmanage -r
qlmanage -r cache
killall Finder

ipynb quicklook

  1. unzip
  2. move to /Library/QuickLook
qlmanage -r
killall Finder


This one is a bit controversial. If you do not install software which allows network access of any kind, skip it. If you run potentially vulnerable software you don't want to be accessed from other machines, consider turning the built-in firewall on. This particularly applies if you develop network software.

  1. Choose Apple menu () > System Preferences, then click Security & Privacy.
  2. Click the Firewall tab.
  3. Click the Lock button, then enter an administrator name and password.
  4. Click Turn On Firewall.
  5. Click Firewall Options.
  6. Uncheck Automatically allow signed software to receive incoming connections.

The last step disables automatic access for software from the App Store. From now on you can either add (dis)allowed programs to the list within the Firewall Options or just click on Allow/Deny, if you get a popup asking you if a specific software may be accessed.


  1. System Preferences > Keyboard > Shortcuts > App Shortcuts > Google
  2. Enter Full Screen ^⌘F
  3. Exit Full Screen ^⌘F

do not disturb

  1. System Preferences > Keyboard > Shortcuts > Mission Control
  2. Turn Do Not Disturb On/Off ⌃⌥⌘D


Visually cluster your emails by sender, domain, and more to identify waste


KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform,...

Homebrew riscv

homebrew (macOS) packages for RISC-V toolchain


This script automates installing a terminal setup on macOS.

Oc little-translated

ACPI Hotpatches and Guides for the OpenCore Bootloader. Enhance and fine-tune your system by adding devices and...

Nativeextensions documentation

Source for the Native Extensions Documentation Website