{"id":16972373,"url":"https://github.com/bhupesh-v/.varshney","last_synced_at":"2025-03-22T14:31:29.448Z","repository":{"id":47731272,"uuid":"273667922","full_name":"Bhupesh-V/.Varshney","owner":"Bhupesh-V","description":"My config and dotfiles infrastructure ⚒️","archived":false,"fork":false,"pushed_at":"2024-03-28T20:24:09.000Z","size":299,"stargazers_count":28,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T00:59:15.793Z","etag":null,"topics":["aliases","automation","bash","bash-completion","bash-prompt","bashrc","dotfiles","neovim","scripts","scripts-collection","shell","tools","vim","vimrc","vimrc-configuration","xmodmap"],"latest_commit_sha":null,"homepage":"https://bhupesh.me/.Varshney/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bhupesh-V.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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},"funding":{"github":null,"patreon":"bhupesh","open_collective":null,"ko_fi":"bhupesh","tidelift":null,"community_bridge":null,"liberapay":"bhupesh","issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-06-20T08:22:54.000Z","updated_at":"2024-03-28T18:34:18.000Z","dependencies_parsed_at":"2023-01-31T00:46:09.323Z","dependency_job_id":"4414085d-64ae-403e-a1a5-5acdb948bcaa","html_url":"https://github.com/Bhupesh-V/.Varshney","commit_stats":{"total_commits":242,"total_committers":4,"mean_commits":60.5,"dds":"0.016528925619834656","last_synced_commit":"abd0da1c163e2f54f90b96bcf4348c5256625939"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhupesh-V%2F.Varshney","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhupesh-V%2F.Varshney/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhupesh-V%2F.Varshney/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhupesh-V%2F.Varshney/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bhupesh-V","download_url":"https://codeload.github.com/Bhupesh-V/.Varshney/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244972002,"owners_count":20540906,"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":["aliases","automation","bash","bash-completion","bash-prompt","bashrc","dotfiles","neovim","scripts","scripts-collection","shell","tools","vim","vimrc","vimrc-configuration","xmodmap"],"created_at":"2024-10-14T00:59:04.519Z","updated_at":"2025-03-22T14:31:29.112Z","avatar_url":"https://github.com/Bhupesh-V.png","language":"Shell","funding_links":["https://patreon.com/bhupesh","https://ko-fi.com/bhupesh","https://liberapay.com/bhupesh"],"categories":[],"sub_categories":[],"readme":"# .Varshney\n\nMy config \u0026amp; .dotfiles managed by \u003ca title=\"dotman is a simple, elegant \u0026 easy to use dotfiles manager\" href=\"https://github.com/Bhupesh-V/dotman\"\u003e\u003cb\u003edotman 🖖\u003c/b\u003e\u003c/a\u003e\n\n\u003ca href=\"https://github.com/Bhupesh-V/.Varshney/blob/master/LICENSE\"\u003e\n\t\u003cimg alt=\"License: GPLv3\" src=\"https://img.shields.io/github/license/Bhupesh-V/.Varshney\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/ellerbrock/open-source-badges\"\u003e\n\t\u003cimg alt=\"bashit\" src=\"https://badges.frapsoft.com/bash/v1/bash.png?v=103\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://twitter.com/bhupeshimself\"\u003e\n\t\u003cimg alt=\"Twitter: bhupeshimself\" src=\"https://img.shields.io/twitter/follow/bhupeshimself.svg?style=social\" target=\"_blank\" /\u003e\n\u003c/a\u003e\n\n\n## My setup 🖥\n\n- **OS**: Ubuntu 20.04\n- **DE**: Mate\n- **SHELL**: bash\n- **Editor**: NeoVim\n- **TERM**: xterm-256color\n\n\n## What's Inside 👀\n\n\u003e ~~I am pretty new to this stuff~~ (not anymore), so you won't find any scripts that hack NASA. Anyways, hope you find something useful, Good luck 👍\n\n- [`scripts`](#scripts)\n- [`bash_functions`](#bash_functions)\n- [`bash_aliases`](#bash_aliases)\n- [`bashrc`](#bashrc)\n- [`init.vim` or `.vimrc`](#initvim-or-vimrc)\n\n\n### [`.bash_functions`](https://github.com/Bhupesh-V/.Varshney/blob/master/.bash_functions)\n\n\u003ctable\u003e\n\t\u003ctr\u003e\n\t\t\u003cth\u003eFunction Name\u003c/th\u003e\n\t\t\u003cth width=\"70%\"\u003eDescription \u0026 Demo\u003c/th\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd rowspan=\"2\" align=\"center\"\u003e\u003ccode\u003e\u003cb\u003enetu\u003c/b\u003e\u003c/code\u003e🌐\u003c/td\u003e\n\t\t\u003ctd\u003eAnalyze network data usage\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd\u003e\u003cdetails\u003e\u003csummary\u003eDemo\u003c/summary\u003e\n\t\t\t\u003cimg title=\"netu: check network usage stats\" alt=\"demo of netu gif\" src=\"https://user-images.githubusercontent.com/34342551/90170484-c280cd80-ddbd-11ea-9d38-71821250989c.png\"\u003e\n\t\t\u003c/details\u003e\n\t\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd align=\"center\"\u003e\u003ccode\u003e\u003cb\u003evcd\u003c/b\u003e\u003c/code\u003e🐍\u003c/td\u003e\n\t\t\u003ctd\u003eAutomatically activate python virtual environments on cd\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd rowspan=\"2\" align=\"center\"\u003e\u003ccode\u003e\u003cb\u003escd\u003c/b\u003e\u003c/code\u003e💡\u003c/td\u003e\n\t\t\u003ctd\u003e\u003cp\u003e[s]mart cd searches absolute path names of directories inside your system and switches to them automatically. No need to remember any locations !!. \n\t\t\u003ca href=\"https://bhupesh-v.github.io/creating-a-smart-alternative-to-cd/\"\u003eRead More\u003c/a\u003e\u003c/p\u003e\n\t\tAlso see \u003ca href=\"https://github.com/Bhupesh-V/.Varshney/blob/master/scd-completions.bash\"\u003e\u003csamp\u003escd-completions.bash\u003c/samp\u003e\u003c/a\u003e for automatic tab suggestions.\n\t\t\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\u003ctd\u003e\u003cdetails\u003e\u003csummary\u003eDemo\u003c/summary\u003e\n\t\t\u003cimg title=\"scd : switch directories from anywhere to anywhere\" alt=\"scd demo gif\" src=\"https://user-images.githubusercontent.com/34342551/90309212-1eee0500-df04-11ea-9695-490103823164.gif\"\u003e\n\t\u003c/details\u003e\n\t\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd align=\"center\"\u003e\u003ccode\u003e\u003cb\u003ealarm\u003c/b\u003e\u003c/code\u003e⏰\u003c/td\u003e\n\t\t\u003ctd\u003eA single line utility for a timer/alarm\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd align=\"center\"\u003e\u003ccode\u003e\u003cb\u003emyip\u003c/b\u003e\u003c/code\u003e🌐\u003c/td\u003e\n\t\t\u003ctd\u003eA single line utility for showing my IP address\u003c/td\u003e\n\t\u003c/tr\u003e\n\t\u003ctr\u003e\n\t\t\u003ctd align=\"center\"\u003e\u003ccode\u003e\u003cb\u003eextract\u003c/b\u003e\u003c/code\u003e📦\u003c/td\u003e\n\t\t\u003ctd\u003eA utility for extracting different archives in an easy way\u003c/td\u003e\n\t\u003c/tr\u003e\n\u003c/table\u003e\n\n\n### [`scripts`](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/)\n\n\n1. [**sys**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/sys)\n   \u003e A realtime update of your system using common shell commands\n   \u003cdetails\u003e\u003csummary\u003eDemo\u003c/summary\u003e\n   \u003cimg title=\"sys: get realtime update of your linux system\" alt=\"sys.sh demo gif\" src=\"https://user-images.githubusercontent.com/34342551/96346219-5cb00b00-10b8-11eb-90fb-d21f6ffa7c12.gif\"\u003e\n   \u003c/details\u003e\n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/sys \u0026\u0026 chmod +x sys \u0026\u0026 mv sys $HOME/.local/bin/\n   ```\n   \n   install lm-sensors for detecting cpu-temps\n   ```\n   sudo apt install lm-sensors \u0026\u0026 sudo sensors-detect\n   ```\n\n\n2. [**md**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/md)\n   \u003e A utility to watch a Markdown file \u0026 build its HTML preview using commonmarker\n   \u003cdetails\u003e\u003csummary\u003eDemo\u003c/summary\u003e\n   \u003cimg title=\"md: utility to watch a Markdown file \u0026 build its HTML preview using commonmarker\" alt=\"md.sh demo gif\" src=\"https://user-images.githubusercontent.com/34342551/97805510-a4b85b80-1c7c-11eb-9efe-3eedbb76a70b.gif\"\u003e\n   \u003c/details\u003e\n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/md \u0026\u0026 chmod +x md \u0026\u0026 mv md $HOME/.local/bin/\n   ```\n\n3. [**colors**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/colors)\n   \u003e A utility to check color capability of your terminal\n   \u003cdetails\u003e\u003csummary\u003eDemo\u003c/summary\u003e\n   \u003cimg title=\"colors: utility to check color capabilities of your terminal\" alt=\"colors.sh demo png\" src=\"https://user-images.githubusercontent.com/34342551/97805252-f2cc5f80-1c7a-11eb-92be-31ac80ec0719.png\"\u003e\n   \u003c/details\u003e\n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/colors \u0026\u0026 chmod +x colors \u0026\u0026 mv colors $HOME/.local/bin/\n   ```\n\n4. [**myprs**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/myprs)\n   \u003e A python utility to list a github user's pull requests in a nicely readable markdown file with 0 external dependencies.\n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/myprs \u0026\u0026 chmod +x myprs \u0026\u0026 mv myprs $HOME/.local/bin/\n   ```\n5. [**bkp**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/bkp)\n   \u003e A python utility to backup files on Github as a Secret Gist (0 dependency)\n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/bkp \u0026\u0026 chmod +x bkp \u0026\u0026 mv bkp $HOME/.local/bin/\n   ```\n6. [**contributors**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/contributors)\n   \u003e A python utility to list all the contributors on your github repositories \n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/contributors \u0026\u0026 chmod +x contributors \u0026\u0026 mv contributors $HOME/.local/bin/\n   ```\n7. [**gif**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/gif)\n   \u003e A shell utility to convert videos to high-quality GIFs using ffmpeg\n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/gif \u0026\u0026 chmod +x gif \u0026\u0026 mv gif $HOME/.local/bin/\n   ```\n8. [**surf**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/surf)\n   \u003e A python script to surf the web from command line, powered by searx (0 external dependencies)\n   \u003cdetails\u003e\u003csummary\u003eDemo\u003c/summary\u003e\n   \u003cimg title=\"surf.py surf internet in terminal\" alt=\"surf.py demo png\" src=\"https://user-images.githubusercontent.com/34342551/108616880-9e223f80-7437-11eb-988d-8b048fb39af2.gif\"\u003e\n   \u003c/details\u003e\n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/surf \u0026\u0026 chmod +x surf \u0026\u0026 mv surf $HOME/.local/bin/\n   ```\n9. [**oib (open in browser)**](https://github.com/Bhupesh-V/.Varshney/blob/master/scripts/oib)\n   \u003e A utility to open a text-file as a HTML page so that I can use grammarly web extension `-_-`\n\n   Install\n   ```\n   wget -q https://raw.githubusercontent.com/Bhupesh-V/.Varshney/master/scripts/oib \u0026\u0026 chmod +x oib \u0026\u0026 mv oib $HOME/.local/bin/\n   ```\n\n#### Keyboard Shortcuts\n\n|    Shortcut    |    Purpose    |\n|:-------------:|:-------------|\n|  `F3` |    Open **:term**   |\n|  `F4` |    Insert Current Date (dd mm, yyyy)   |\n|  `F5` |    Source **$MYVIMRC**   |\n|  `F6` |    **:NERDToggle**   |\n|  `F7` |    Edit **$MYVIMRC**   |\n|  `F8` |    Switch to Transparent Mode   |\n|  `F9` |    Write and Quit on all buffers (Kill Switch)   |\n|  `F10` |    Indent based on FileType   |\n|  `Alt` + `m` |  Build \u0026 Run code using **:make**  |\n|  `Alt` + `h` |  Vertical resize +3  |\n|  `Alt` + `l` |  Vertical resize -3  |\n|  `Alt` + `k` |  Horizontal resize +3  |\n|  `Alt` + `j` |  Horizontal resize +3  |\n|  `Alt` + `\u003cCR\u003e` |  Switch to **:Goyo** Mode  |\n|  `Shift` + `k` |  Move line(s) up  |\n|  `Shift` + `j` |  Move line(s) down  |\n|  `Shift` + `r` |  Run linux Command at current line  |\n|  `Shift` + `l` |  Open hyperlink at current line  |\n|  `Shift` + `t` |  Switch buffer in current window |\n|  `Ctrl` + `c` |   Copy in Visual Mode  |\n|  `Ctrl` + `v` |   Paste in Insert Mode |\n|  `t` |    Toggle Comment in Current line (Normal Mode)  |\n|  `\u003cspace\u003e` |    Toggle Fold at Current line |\n|  `\u003cTab\u003e` |  Switch Windows |\n\n\n## Author [![bhupesh-twitter-image](https://kutt.it/bhupeshimself)](https://twitter.com/bhupeshimself)\n**🤓 [Bhupesh Varshney](https://bhupesh.me)** \n\n\u003cimg height=\"200px\" src=\"https://user-images.githubusercontent.com/34342551/101245824-8e973280-3735-11eb-982e-17d59d74891a.png\"\u003e\n\n## ☺️ Show your support\n\nSupport me by giving a ⭐️ if this project helped you! or just [![Twitter URL](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2FBhupesh-V%2F.Varshney%2F)](https://twitter.com/intent/tweet?url=https://github.com/Bhupesh-V/.Varshney\u0026text=.Varshney%20via%20@bhupeshimself)\n\n## 📝 License\n\nCopyright © 2020 [Bhupesh Varshney](https://github.com/Bhupesh-V).\u003cbr /\u003e\nThis project is [GPLv3](https://github.com/Bhupesh-V/.Varshney/blob/master/LICENSE) licensed.\n\n![GPLv3-logo](https://www.gnu.org/graphics/gplv3-with-text-136x68.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhupesh-v%2F.varshney","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhupesh-v%2F.varshney","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhupesh-v%2F.varshney/lists"}