{"id":22481462,"url":"https://github.com/mlaugharn/dotfiles","last_synced_at":"2025-03-27T18:47:42.005Z","repository":{"id":141744316,"uuid":"439698247","full_name":"mlaugharn/dotfiles","owner":"mlaugharn","description":"dotfile logistics","archived":false,"fork":false,"pushed_at":"2024-11-03T07:13:01.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T21:45:43.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlaugharn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-18T19:28:19.000Z","updated_at":"2024-11-03T07:13:05.000Z","dependencies_parsed_at":"2024-01-24T19:39:06.138Z","dependency_job_id":"b2ddde23-ebe0-4174-b47e-63b269e8afa4","html_url":"https://github.com/mlaugharn/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlaugharn%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlaugharn%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlaugharn%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlaugharn%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlaugharn","download_url":"https://codeload.github.com/mlaugharn/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245905523,"owners_count":20691803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-06T16:13:08.773Z","updated_at":"2025-03-27T18:47:41.971Z","avatar_url":"https://github.com/mlaugharn.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dotfiles\n\n# apt\n```\nzsh\ntmux\nneovim\nripgrep\nfd-find \ntldr\nfzf\nbuild-essential\nexa\ncurl\nvim\nparallel\n```\n\n# pyenv\n`curl https://pyenv.run | bash`\n\n# new pyenv shared venv \n`export PYTHON_CONFIGURE_OPTS='--enable-shared' pyenv virtualenv \u003cprev venv\u003e \u003cnew venv\u003e`\n\n# rustup \n`curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`\n\n# oh-my-zsh\n`sh -c \"$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"`\n\n# oh-my-zsh plugins\n`tmux history-substring-search pyenv fzf vi-mode`\n\n# oh-my-zsh theme\n`aussiegeek`\n\n# cargo install\n```\nbat\n```\n\n# cuda 11.7 (x86_64 ubuntu 22.04)\n```\nwget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin\nsudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600\nwget https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda-repo-ubuntu2204-11-7-local_11.7.0-515.43.04-1_amd64.deb\nsudo dpkg -i cuda-repo-ubuntu2204-11-7-local_11.7.0-515.43.04-1_amd64.deb\nsudo cp /var/cuda-repo-ubuntu2204-11-7-local/cuda-*-keyring.gpg /usr/share/keyrings/\nsudo apt-get update\nsudo apt-get -y install cuda\n```\n# docker\n\n# nvidia-docker\n\n# fzf zsh autocomplete + ctrl-r\n`dpkg -L fzf | grep zsh | parallel 'echo source {}' \u003e\u003e ~/.zshrc`\n\non mac:\n\n`cat /opt/homebrew/Cellar/fzf/**/shell/key-bindings.zsh \u003e\u003e ~/.zshrc`\n\n# [conda zsh autocompletion](https://stackoverflow.com/a/57793510)\n`git clone https://github.com/esc/conda-zsh-completion`\n\nat start (before ohmyzsh):\n`fpath+=/path/to/where/you/installed/conda-zsh-completion`\n\nafter ohmyzsh:\n```zsh\n# negation, so that at least one exits on 0\n[ ! \"$(find ~/.zcompdump -mtime 1)\" ] || compinit conda\ncompinit -C\n```\n\n# faster aussiegeek\n`git config --add oh-my-zsh.hide-dirty 1`\n\n# don't use nvm zsh integration - very slow!!\n\n# windows clip in wsl\n`alias clip=/mnt/c/Windows/System32/clip.exe`\n\n#  default open tmux in interactive shells, attaching to existing main session\n```zsh\nif command -v tmux \u0026\u003e /dev/null \u0026\u0026 [ -n \"$PS1\" ] \u0026\u0026 [[ ! \"$TERM\" =~ screen ]] \u0026\u0026 [[ ! \"$TERM\" =~ tmux ]] \u0026\u0026 [ -z \"$TMUX\" ]; then\n  exec tmux new-session -A -s main\nfi \n```\n\n# streaming chatgpt queries\n`pip install chatblade`\n\n`alias chat=chatblade -s`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlaugharn%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlaugharn%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlaugharn%2Fdotfiles/lists"}