- Also see here
Of course Ctrl+s should be replaced with your preffix shortcut.
Shortcut | Description |
---|
#!/usr/bin/perl | |
use Modern::Perl; | |
use MARC::Record; | |
@ARGV == 2 or die "usage: $0 auths.txt auths.mrc\n"; | |
my $inf = shift(); | |
my $ouf = shift(); |
#!/bin/bash | |
# Before used xmacrorec2 > test.macro, capturing from 0,0 to different points on screen. | |
# $ cat test-1000-1000.macro | |
# KeyStrPress Control_L | |
# KeyStrPress Shift_L | |
# KeyStrPress Print | |
# KeyStrRelease Print | |
# KeyStrRelease Shift_L | |
# KeyStrRelease Control_L |
Of course Ctrl+s should be replaced with your preffix shortcut.
Shortcut | Description |
---|
#!/bin/bash | |
set -euo pipefail # unofficial bash strict mode: http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
IFS=$'\n\t' | |
# By Pablo Bianchi ([email protected]) | |
# Infinit loop testing if we are onliene. When we are start beeping. | |
# (based on http://www.linuxscrew.com/2009/04/02/tiny-bash-scripts-check-internet-connection-availability/ ) | |
#~ USAGE: Just: ./testInternet.sh | |
#~ NOTES |
#!/bin/bash | |
# Simple motd script for any systemd Linux (tested on Debian) | |
# Inspiration: https://superuser.com/questions/919962/landscape-sysinfo-for-centos | |
# Inspiration 2: https://github.com/thusoy/headsup/blob/master/headsup.py | |
os-name=$() | |
os-kernel=$() | |
date-today=$() | |
system-load=$() | |
processes=$(cat /proc/loadavg | cut -d"/" -f2| cut -d" " -f1) |
#!/bin/bash | |
# set -euo pipefail # unofficial bash strict mode | |
# IFS=$'\n\t' | |
echo "This script bulk export patron images from a Koha instance and generate DATALINK.TXT to import into another instance." | |
# @TODO | |
# - | |
# [PARAMS] |
#!/usr/bin/env bash | |
# Little script to play a music/sound on pomodoros through headphones and call to come back to work through HDMI speakers. | |
# set -euo pipefail # Unofficial bash strict mode | |
# Prerequsitres: gtts (`pip install --user --upgrade gtts`, mpv (`flatpak install io.mpv.Mpv`), vlc, libsox-fmt-mp3 and retry. | |
# Also use yt-dlp instead of yt-dl https://hund.tty1.se/2021/10/12/how-to-use-yt-dlp-instead-of-yt-dl-with-mpv.html | |
# TODO/Known bugs: | |
# - Fix issue with PipeWire: pacmd stat No PulseAudio daemon running, or not running as session daemon. https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/357 |
Inspired from this Twitter post.
tig
# text-mode interface for Gitdiff-so-fancy
# 11.5kncdu
# Disk usage analyzerbat
# cat alternativefzf
# 20.4k A command-line fuzzy finder. Probably there is a oh-my-zsh pluginhttpie
# 40.3k CLI, cURL-like tool for humans. See https://httpie.org/%YAML 1.2 | |
--- | |
# By Pablo Bianchi | |
name: MARC line mode (yaz-marcdump) | |
file_extensions: | |
- line | |
scope: string | |
uuid: 222f19a4-f491-4e71-a391-00b138add2a0 | |
contexts: |