jbrubake / scripts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Scripts

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

  • $ - 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)
  • 411 - search personal phonebook for a pattern
  • 4 - print input in n columns based on command name (default = 2)
  • 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
  • bigbin - print the largest executables in $PATH
  • bosskey - "install" packages forever
  • cal - cal(1) wrapper with a nicer interface
  • change_brightness - change screen brightness
  • change_volume - change volume
  • checkgen - generate data validation programs
  • chkcon - check for internet connectivity
  • chksign - verify a SSH-key signed file
  • 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
  • field - print nth field from each input line
  • find-pis - scan local network for Raspberry Pis
  • 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
  • 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 - debian linux based host discovery script that captures info
  • logoutmsg - presents a dialog box to verify that you really want to logout of X
  • 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
  • pf - present a menu of pass(1) entries that match
  • pick - interactively select arguments and print them to stdout
  • pingsweep - hasty pingsweep script when nmap is not available
  • pkglist - print a listing of manually installed packages
  • portscan - hasty portscan script when nmap is not available
  • ports - show processes listening on TCP ports
  • ppeek - send stdin to stdout and stderr
  • prpages - compute number of pages that pr will print
  • relpath - print the relative path from to
  • ruler - print a ruler across the screen
  • screenshot - take a screenshot
  • 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 - change sound output device
  • ssh-pinentry - anypinentry wrapper for SSH_ASKPASS
  • truecolor - test terminal true color capability
  • trunc - truncate files
  • 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
  • zap - kill processes by name

External Files

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

  • anypinentry - A flexible pinentry script for gpg. Uses dmenu by default
  • cht.sh - The only cheat sheet you need
  • curlvim - download and edit a remote file with Vim
  • emojify - Emoji on the command linescream
  • git-jump - replay git commits safely
  • image2ascii - Convert iamges to ASCII (useful for Mutt .mailcap)i
  • imagick_type_gen - Generate an ImageMagick font listn
  • ix - Command line pastebinx
  • MIMEmbellish - Transform text-only email to multipart text+HTML
  • mutt_bgrun - View attachments in mutt in the background
  • mutt-trim - unclutter and normalize quoted text in an e-mail
  • passmenu - A dmenu-based interface to pass(1)
  • pid - get PIDs of processes matching pattern
  • rename - Rename multiple filesme
  • serve - serve a directory over HTTP
  • view-x-face - View X-Face images embedded in emails
  • wttr - The right way to check the weather

About

License:Other


Languages

Language:Shell 75.6%Language:Perl 11.8%Language:Python 8.8%Language:Awk 2.1%Language:C 0.9%Language:Makefile 0.8%