As configured in my dotfiles.
start new:
tmux
start new with session name:
| (require 'cl-lib) | |
| (require 'subr-x) | |
| (defun *-ini-sort () | |
| "Sort an INI buffer by sections and properties. | |
| Combines repeated sections. E.g. | |
| [b] | |
| b1=1 | |
| b3=3 |
| // This script will monitor the Google Music page and skip songs you've already downvoted. | |
| // Google doesn't do this automatically for some weird reason, so this hacks around that. | |
| // Note that you're limited to somewhere around five skips per hour per station, so you | |
| // can pretty quickly run into a scenario where this won't work. In the case that you want | |
| // to stop the script, just run clearInterval(skipper) after this script. | |
| var skipper = setInterval(function() { | |
| // Grab the rating container (first of two with the same class) | |
| var ratingContainer = document.getElementsByClassName('rating-container')[0]; | |
| #!/bin/bash | |
| # Example for the Docker Hub V2 API | |
| # Returns all imagas and tags associated with a Docker Hub user account. | |
| # Requires 'jq': https://stedolan.github.io/jq/ | |
| # set username and password | |
| UNAME="" | |
| UPASS="" |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Carp; | |
| use Getopt::Long; | |
| use Pod::Usage; | |
| use File::Basename qw/fileparse/; | |
| use File::Spec; | |
| use Spreadsheet::ParseExcel; |
| #! /usr/bin/newlisp | |
| ;; ## Multi-Grep ## | |
| ;; | |
| ;; First arg should be a regex, or multiple regexes separated by `||`, | |
| ;; in which case only lines matching both regexes will be printed. | |
| ;; | |
| ;; The second arg can be either a file or a glob. | |
| ;; | |
| ;; Regularize between shell script and executable |
As configured in my dotfiles.
start new:
tmux
start new with session name: