Skip to content

jbrubake/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

My Scripts

A collection of scripts that I wrote or modified from someone else

(Files licensed under different terms than GPLv3 have the license embedded in the file.)

  • $ - Run copy-paste commands that accidentally start with '$'
  • 2 - print input in n columns based on command name (default = 2)
  • 3 - print input in n columns based on command name (default = 2)
  • 4 - print input in n columns based on command name (default = 2)
  • 411 - search personal phonebook for a pattern
  • 5 - print input in n columns based on command name (default = 2)
  • addcomma - put commas in numbers
  • addr - list bound IP addresses
  • addsigner - add an SSH public key to an "allowed signers" file
  • adjustcolor - Darken or lighten a color by a percentage
  • anagram - print list of words that contain only a given set of characters
  • ansitest - Test terminal ANSI escape capabilities
  • argv - dump arguments
  • atwork - Return true if WiFi is connected to anything in $WORK_SSID
  • bigbin - print the largest executables in $PATH
  • bosskey - "install" packages forever
  • build-vmware-modules - build patched VMware Workstation modules
  • cal - cal(1) wrapper with a nicer interface
  • change_brightness - change screen brightness
  • change_volume - change volume
  • checkcal - sync calendars
  • checkgen - generate data validation programs
  • checkmail - snd queued emails, sync with remote and refresh notmuch
  • chkcon - check for internet connectivity
  • chksign - verify a SSH-key signed file
  • cloudsync - run 'rclone bisync' with sensible options.
  • colcheck - check consistency of columns
  • colordump - dump 256 ansi colors to the terminal.
  • colortrans - convert values between RGB hex codes and xterm-256 color codes.
  • cols - print input in n columns based on command name (default = 2)
  • diff - pipe diff(1) to diff-so-fancy if it exists
  • dmenu-menu - present a menu based on commands in a config file
  • dmenu-run - use dmenu as a run dialog
  • docs - search multiple documentation databases and show the first one found
  • double - report double words
  • export-key - export and import gpg keys
  • field - print nth field from each input line
  • find-pis - scan local networks for Raspberry Pis
  • flatpak-shims - generate shims to run flatpaks
  • fortune-oneline - print a one-line fortune. Convert two-line fortunes to one-liners if possible
  • geekcode - convert a commented geekcode file into a proper geekcode
  • gethost - extract hostname from an SSH config file by 'Host' entry
  • git-last - print out last commit message for each file in tree
  • git-pager - git pager with fallback options
  • gxpr - like expr(1), but uses Google's calculator to evaluate
  • headers - show HTTP headers for
  • hide - rename to .
  • hostdiscovery - get hardware, software, network, user, etc info from a host
  • import-key - export and import gpg keys
  • launchterm - load a tmuxp session in a tabbed(1) terminal
  • license - print various open source licenses
  • linkpath - print the absolute path of the target of a symbolic link
  • logoutmsg - presents a dialog box to verify that you really want to logout of X
  • lxc-attach - wrap lxc-attach so rootless containers work properly
  • lxc-start - wrap lxc-start so rootless containers work properly
  • maketree - create a Makefile dependency graph
  • man.cx - command line interface to man.cx
  • mkthumbs - create image thumbnails
  • mtutest - determine optimal MTU size
  • my - execute the correct command from a list of alternatives
  • news - print the latest news
  • openurl - open a URL in $BROWSER
  • orig - rename <file(s)> to <file(s)>.orig
  • passgen - generate a password as in XKCD #936
  • passwdchk - check a file in /etc/passwd format for errors
  • pct-enter - remotely connect to a proxmox container by name
  • pf - present a menu of pass(1) entries that match
  • pick - interactively select arguments and print them to stdout
  • pinentry - pinentry wrapper
  • pinentry-dmenu - custom dmenu wrapper for anypinentry
  • pinentry-ssh-askpass - pinentry wrapper to allow it to be used for SSH_ASKPASS and SUDO_ASKPASS
  • pingsweep - hasty pingsweep script when nmap is not available
  • pipx - wrap pipx to allow system-wide installs
  • pkglist - print a listing of manually installed packages
  • portquiz - use portquiz.net to find open ports
  • ports - show processes listening on TCP ports
  • portscan - hasty portscan script when nmap is not available
  • portscan.devtcp - quick and dirty /dev/tcp portscan
  • ppeek - send stdin to stdout and stderr
  • pretty_make - make beautifier
  • prpages - compute number of pages that pr will print
  • raxfr - perform a reverse zone transfer
  • relpath - print the relative path from to
  • rlook - get all IPv4 addresses for a host
  • routines.sh - dmenu shell routines
  • ruler - print a ruler across the screen
  • screenshot - take a screenshot
  • sidetone - enable headset sidetone
  • siggen - generate an email/Usenet signature with an optional fortune cookie
  • sign - digitally sign a file with a SSH key
  • sizeof - print sizes of C data types
  • sound-change.sh - change sound output device
  • stdin2browser - Pass stdin to $BROWSER
  • st-urlhandler - utility used by st(1) to open links from the terminal
  • timer - A simple command-line timer
  • tmux-popup - run a command in a tmux popup
  • truecolor - test terminal true color capability
  • trunc - truncate files
  • update-fingerfarm - upload .plan and .project to finger.farm
  • vim2html - Convert HTML of vim syntax highlighting
  • vis - show non-printing characters as hexadecimal escapes/
  • watchfor - report when someone logs on
  • watchwho - periodically report who has logged on and logged out
  • whichpkg - determine the package and package manager that provides a file
  • winsearch - use dmenu to select from open windows
  • x-face-unicode - view X-Face images in Unicode
  • xfortune - display a fortune cookie in an X dialog
  • xkcd - display the latest xkcd comic, including the alt text
  • xresources2alacritty - Create an alacritty colorscheme config from Xresources
  • ytget - yt-dlp wrapper
  • zap - kill processes by name

External Files

These files come from external repositories, but are synced here using peru

(Files licensed under different terms than GPLv3 are indicated, along with the name of the license file if necessary.)

  • cht.sh - The only cheat sheet you need
  • curlvim - download and edit a remote file with Vim (MIT [LICENSE.benalman])
  • emojify - Emoji on the command linescream
  • git-current-branch - Show the current branch name (BSD-3 [LICENSE.git-toolbelt])
  • git-jump - replay git commits safely (MIT [LICENSE.benalman])
  • git-remote-tracking-branch - Print remote tracking branch name (BSD-3 [LICENSE.git-toolbelt])
  • git-sha - Show the latest commit SHA (BSD-3 [LICENSE.git-toolbelt])
  • git-spinoff - Spinoff a new branch from current work and reset current branch (BSD-3 [LICENSE.git-toolbelt])
  • git-undo-commit - Undo a commit but keep all the changes staged (BSD-3 [LICENSE.git-toolbelt])
  • image2ascii - Convert images to ASCII (useful for Mutt .mailcap)
  • imagick_type_gen - Generate an ImageMagick font listn
  • MIMEmbellish - Transform text-only email to multipart text+HTML
  • mini_ca - Low security certificate authority for testing
  • mutt_bgrun - View attachments in mutt in the background
  • mutt-trim - unclutter and normalize quoted text in an e-mail
  • octet-filter - Last-resort filter to convert any octet-stream data to ASCII (useful for Mutt .mailcap)
  • passmenu - A dmenu-based interface to pass(1)
  • pid - get PIDs of processes matching pattern (MIT [LICENSE.benalman])
  • pinentry-any - A flexible pinentry script for gpg. Uses dmenu by default (MIT [LICENSE.akshaynair])
  • rename - Rename multiple filesme
  • serve - serve a directory over HTTP (MIT [LICENSE.benalman])
  • sslrsh - SSL Remote Shell
  • vcard-filter - Convert VCards to ASCII (useful for Mutt .mailcap)
  • view-x-face - View X-Face images embedded in emails
  • wttr - The right way to check the weather
  • zdvi2tty - View gzipped DVI, PS and PDF files (useful for Mutt .mailcap)
  • zghostview - View gzipped DVI, PS and PDF files (useful for Mutt .mailcap)
  • zgv - View gzipped DVI, PS and PDF files (useful for Mutt .mailcap)
  • zxdvi - View gzipped DVI, PS and PDF files (useful for Mutt .mailcap)
  • zxpdf - View gzipped DVI, PS and PDF files (useful for Mutt .mailcap)

About

No description, website, or topics provided.

Resources

License

Unknown and 4 other licenses found

Licenses found

Unknown
license
GPL-3.0
COPYING.md
MIT
LICENSE.akshaynair
MIT
LICENSE.benalman
BSD-3-Clause
LICENSE.git-toolbelt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published