{"id":28001150,"url":"https://github.com/sanand0/scripts","last_synced_at":"2025-05-08T23:57:41.495Z","repository":{"id":286129386,"uuid":"960317861","full_name":"sanand0/scripts","owner":"sanand0","description":"Setup instructions for my Windows / Linux machines, as well as a collection of my dotfiles and productivity scripts","archived":false,"fork":false,"pushed_at":"2025-05-03T15:18:53.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T23:57:36.346Z","etag":null,"topics":["tool"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/sanand0.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,"zenodo":null}},"created_at":"2025-04-04T08:20:22.000Z","updated_at":"2025-05-03T15:18:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"957c5102-2820-484f-8110-0ff22246aff8","html_url":"https://github.com/sanand0/scripts","commit_stats":null,"previous_names":["sanand0/scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanand0%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanand0%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanand0%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanand0%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanand0","download_url":"https://codeload.github.com/sanand0/scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166502,"owners_count":21864475,"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":["tool"],"created_at":"2025-05-08T23:57:39.250Z","updated_at":"2025-05-08T23:57:41.469Z","avatar_url":"https://github.com/sanand0.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup\n\nThese are personal productivity utilities that simplify my workflow on Windows (Cygwin) and Linux. These are in 2 places:\n\n| Type    | Location                                         | Windows Path          | Linux Path            |\n| ------- | ------------------------------------------------ | --------------------- | --------------------- |\n| Public  | [GitHub](https://github.com/sanand0/scripts)     | `C:\\code\\scripts\\`    | `~/code/scripts/`     |\n| Private | [Dropbox](https://www.dropbox.com/home/scripts/) | `C:\\Dropbox\\scripts\\` | `/c/Dropbox/scripts/` |\n\n**Note**: I use `/c/Dropbox` as a symlink to `C:\\Dropbox` in Cygwin to standardize scripts.\n\n## Common Setup\n\n```bash\necho 'source ~/code/scripts/setup.fish' \u003e\u003e ~/.config/fish/config.fish\necho 'source ~/code/scripts/setup.bash' \u003e\u003e ~/.bashrc\n```\n\nAdd [`ai-code-rules.md`](ai-code-rules.md) to VS code's `github.copilot.chat.codeGeneration.instructions` or Cursor or other AI code editor settings.\n\n## Linux Setup\n\n```bash\nln -s ~/code/scripts/.gitconfig ~/.gitconfig\nln -s ~/code/scripts/.tmux.conf ~/.tmux.conf\nln -s /c/Dropbox/scripts/.ssh ~/.ssh\nchmod og-r .ssh/*\nln -s /c/Dropbox/scripts/llm.keys.json ~/.config/io.datasette.llm/keys.json\n```\n\n## Windows Setup\n\nOn an **Admin** command prompt, run:\n\n```\nCD /D C:\\cygwin\\home\\Anand\\\nMKLINK /H .gitconfig C:\\code\\scripts\\.gitconfig\nMKLINK /D .ssh C:\\Dropbox\\scripts\\.ssh\nREM TODO: Set up `llm` keys.json on Windows\n```\n\n[Disable inherited permissions](https://stackoverflow.com/a/58275268/100904), remove all permissions,\nand only add yourself with full permissions.\n\n## System setup\n\nHere are the setup details for my laptops.\n\n- [Linux](setup/linux.md)\n- [Windows](setup/windows.md)\n- [Android](setup/android.md)\n- [Online tools](setup/online.md) replacing installed software\n\n# Scripts\n\n- [chars](chars) lists non-ASCII characters in files.\n- [git-uncommitted](git-uncommitted) lists directories not git-synced with remote\n- [rgb](rgb) converts RGB to hex and vice versa.\n- [viz.py](viz.py) embeds CSV files a HTML templates. This is the script that started [Gramener](http://gramener.com/) in 2011.\n- [rofi-files.sh](rofi-files.sh) and [rofi-chrome-tabs.sh](rofi-chrome-tabs.sh) are used by rofi to get recent files.\n- [generate/](generate/) has scripts to generate data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanand0%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanand0%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanand0%2Fscripts/lists"}