- Ctrl+P Up / Previous (
!!
) - Ctrl+N Down / Next
- Ctrl+B Left / Back
- Ctrl+F Right / Forward
- Ctrl+A Home. Sometimes used by tmux/byobu.
- Ctrl+E End
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -euo pipefail # unofficial bash strict mode: http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
IFS=$'\n\t' | |
# By Pablo Bianchi (pablo.bianchi@gmail.com) | |
# 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 |
- Also see here
Of course Ctrl+s should be replaced with your preffix shortcut.
Shortcut | Description |
---|
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/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
format: | |
marcxml: | |
metadataPrefix: marxml | |
metadataNamespace: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim | |
schema: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd | |
include_items: 1 | |
oai_dc: | |
metadataPrefix: oai_dc | |
metadataNamespace: http://www.openarchives.org/OAI/2.0/oai_dc/ | |
schema: http://www.openarchives.org/OAI/2.0/oai_dc.xsd |
- Back in history: Without changing the default setup Alt + Y and Alt + U go to previous and next directory in history, which may be enough on most cases. If not, [you always have Home, Enter][1].
- Sort: Sort: alt + ! SortReverse: alt + @ SortByName: alt + # SortByExt: alt + $ SortBySize: alt + % SortByMTime: alt + ^
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check which version you're using | |
echo | |
echo "---------------------------------------------------------------------------" | |
cd ~ || exit | |
upower --version | |
UPOWER_ORIG_VER=$(upower --version) | |
# Check Debian / Ubuntu vs. Arch Linux / Manjaro |
OlderNewer