Skip to content

Instantly share code, notes, and snippets.

View Angluca's full-sized avatar
〰️

Pixeller Angluca

〰️
View GitHub Profile
@Angluca
Angluca / cdto.md
Last active March 15, 2024 09:48
Open terminal or app in Finder
@Angluca
Angluca / python_install_errors.md
Last active March 7, 2024 17:27
Solve some python problems
# pyenv install ModuleNotFoundError: No module named '_tkinter'
brew install tcl-tk 
# next close terminal and reinstall python
# pip install display Missing dependencies for SOCKS support
unset all_proxy && unset ALL_PROXY
python3 -m install pysocks
@Angluca
Angluca / macvim_terminal_vim.md
Last active March 7, 2024 08:24
use macvim terminal vim
alias gvim="/Applications/MacVim.app/Contents/MacOS/MacVim"
alias vim="/Applications/MacVim.app/Contents/bin/vim"
alias vimdiff="/Applications/MacVim.app/Contents/bin/vimdiff"
alias vi="/Applications/MacVim.app/Contents/bin/vi"
alias view="/Applications/MacVim.app/Contents/bin/view"
alias vimdiff="/Applications/MacVim.app/Contents/bin/vimdiff"
alias vimtutor="/Applications/MacVim.app/Contents/bin/vimtutor"
@Angluca
Angluca / bake-sokol-project.json
Last active February 23, 2024 06:22
bake sokol project cfg: project.json
{
"id": "sokol_app",
"type": "application",
"value": {
"public": false
},
"lang.c": {
"include": [
"/Users/hehe/SDK/Sokols/sokol",
"/Users/hehe/SDK/Sokols/sokol/util"
@Angluca
Angluca / vi.tigrc
Last active January 11, 2024 17:29
tig - simple vi cfg: gg/G | ~/.tigrc
bind generic g none
bind generic gg move-first-line
bind main G move-last-line
bind generic G move-last-line
bind generic V view-grep
@Angluca
Angluca / lsp_clangd_setting.md
Last active February 23, 2024 06:26
Easy setting lsp complete include path

Not need compile_commands.jsonor.clangd

Create compile_flags.txt file in curdir, ok :)

-I./include
-I/xxx/xxx/include
@Angluca
Angluca / zsh_autocomple.md
Last active February 23, 2024 06:33
zsh autocomple
# install zi and add plugin to your.zshrc
zi light marlonrichert/zsh-autocomplete

Or

# to ~/.zshrc
if type brew &>/dev/null
then
 FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"