{"id":17486569,"url":"https://github.com/noah-huppert/scripts","last_synced_at":"2025-04-22T15:26:27.708Z","repository":{"id":151657145,"uuid":"107825884","full_name":"Noah-Huppert/scripts","owner":"Noah-Huppert","description":"A collection of useful Bash scripts","archived":false,"fork":false,"pushed_at":"2021-03-02T04:14:57.000Z","size":155,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T16:34:00.491Z","etag":null,"topics":["bash","helpers","scripting","scripts","utilities"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Noah-Huppert.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,"publiccode":null,"codemeta":null}},"created_at":"2017-10-22T00:25:22.000Z","updated_at":"2023-06-13T14:47:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7a8e6c4-9861-4170-b224-f25a460eae96","html_url":"https://github.com/Noah-Huppert/scripts","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/Noah-Huppert%2Fscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noah-Huppert%2Fscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noah-Huppert%2Fscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noah-Huppert%2Fscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Noah-Huppert","download_url":"https://codeload.github.com/Noah-Huppert/scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250266309,"owners_count":21402267,"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":["bash","helpers","scripting","scripts","utilities"],"created_at":"2024-10-19T02:11:01.984Z","updated_at":"2025-04-22T15:26:27.699Z","avatar_url":"https://github.com/Noah-Huppert.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scripts\nA collection of useful Bash scripts. \n\n# Table Of Contents\n- [Overview](#overview)\n- [Install](#install)\n- [Commands](#commands)\n\t- [show-help](#show-help)\n\t- [sslinfo](#sslinfo)\n\t- [xcopy and xpaste](#xcopy-and-xpaste)\n\t- [nvim-swap](#nvim-swap)\n\t- [fterm](#fterm)\n\t- [local-dns](#local-dns)\n\t- [fix](#fix)\n\t- [todo](#todo)\n\t- [x](#x)\n\t- [m](#m)\n\t- [bkground](#bkground)\n\t- [touchx](#touchx)\n\t- [cgrep](#cgrep)\n\t- [sx](#sx)\n\t- [urlcode](#urlcode)\n\t- [onchanges](#onchanges)\n\t- [open-pr](#open-pr)\n\t- [serve](#serve)\n\t- [snip](#snip)\n\t- [bloop](#bloop)\n\t- [pylab](#pylab)\n\t- [mode](#mode)\n\t- [xrename](#xrename)\n\t- [read-out](#read-out)\n\t- [edit](#edit)\n\t- [editx](#editx)\n\t- [md2pdf](#md2pdf)\n\t- [logs](#logs)\n\t- [xtend](#xtend)\n    - [gh-open](#gh-open)\n\t- [git-branches-rm](#git-branches-rm)\n\t- [emacs-clean](#emacs-clean)\n\t- [utf8codepoint](#utf8codepoint)\n\t- [mvself](#mvself)\n\t- [mvext](#mvext)\n\t- [wgrep](#wgrep)\n\t- [record-screen-gif](#record-screen-gif)\n\t- [pagerr](#pagerr)\n\t- [kill-window](#kill-window)\n\t- [tabs-to-spaces](#tabs-to-spaces)\n\t- [m3u8dl](#m3u8dl)\n- [Functions](#functions)\n    - [mcdir](#mcdir)\n\t- [gcd](#gcd)\n\n# Overview\nThis repository provides numerous helpful bash scripts and functions.  \n\nThe README contains a brief description of each script and function. For more \ndetailed usage information run a script or function with the `-h` option.\n\n# Install\nPlace this repository in your `$PATH`.\n\nSource the `load-functions.sh` file in your shell profile. This will load \nthe custom bash functions into your shell.\n\n# Commands\n## show-help\nPrints the help text in the top comment of a script.\n\n## sslinfo\nPrints the ssl certificate for the provided URL.\n\n## xcopy and xpaste\nThe xcopy and xpaste scripts emulate the ctrl+{c,v} behavior in the shell.\n\n## nvim-swap\nA script which clears any swap files nvim has made.\n\n## fterm\nA script which opens a terminal in a floating window using bspwm. \n\n## virtual-dns\nA tool which modifies your `/etc/hosts` file to give you local domains for \nquick development.\n\n## fix\nFixes terminal after outputting binary garbage.\n\n## todo\nShows todo notes in source files.\n\n## x\nKills current terminal.\n\n## m\nMake shortcut.\n\n## bkground\nSets the desktop background with feh.\n\n## Touchx\nCreates a file with execution privileges.\n\n## cgrep\nGrep with color argument.\n\n## sx\nStartX shortcut.\n\n## urlcode\nURL encoding utility.\n\n## onchanges\nRuns a command when files change.\n\n## open-pr\nOpens a GitHub pull request.\n\n## serve\nLocal HTTP server using Python 3's `http.server` module.\n\n## snip\nSelect an area of the screen and take a screen shot.\n\n## bloop\nPlay bloop noise\n\n## pylab\nStart Jupyter Lab without a password.\n\n## mode\nShow file mode.\n\n## xrename\nRename X window.\n\n## read-out\nRead text out letter by letter.\n\n## edit\nEdit file with `$EDITOR`.\n\n## editx\nGive file execute permissions and edit with `$EDITOR`.\n\n## md2pdf\nConvert markdown to PDF.\n\n## logs\nView socklog system logs.\n\n## xtend\nManage displays with xrandr.\n\n## gh-open\nOpen GitHub repository from terminal.\n\n## git-branches-rm\nRemove all branches except the one which is currently checked out.\n\n## emacs-clean\nUse the `trash` command to remove emacs auto save files.  \nThese files can be restored with the `trash-restore` command.\n\n## utf8codepoint\nPrints the UTF-8 code point for glyph from stdin.\n\n## mvself\nMove current working directory.\n\n## mvext\nChanges extension of files.\n\n## wgrep\nWait until input matches pattern and exit.\n\n## record-screen-gif\nRecords the screen as a GIF.\n\n## pagerr\nPage standard error.\n\n## kill-window\nKill an X window.\n\n## tabs-to-spaces\nConverts tabs in a file to spaces.\n\n## m3u8dl\nDownloads a video stream specified by a m3u8 file into an mp4 file.\n\n# Functions\n## mcdir\nCreate and cd into directory.\n\n## gcd\nGit clone and cd into directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoah-huppert%2Fscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoah-huppert%2Fscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoah-huppert%2Fscripts/lists"}