Skip to content

Instantly share code, notes, and snippets.

Avatar

Charles Hawley crh0831

View GitHub Profile
View bash-challenges.md

BASH Challenges


  1. Check for the presence of a directory and create it if it doesn't exist

    Example Solution

    devdir="/mnt/sqlback1/LSQLSHARE01DEV"
    if [[ ! -d "${devdir}" ]]; then
@crh0831
crh0831 / Problem with home, end and del keys under zsh.md
Created May 2, 2019
zshrc keybindings for <HOME> <END> cluster
View Problem with home, end and del keys under zsh.md

from Problem with home, end and del keys under zsh

bindkey "\e[1~" beginning-of-line
bindkey "\e[4~" end-of-line
bindkey "\e[5~" beginning-of-history
bindkey "\e[6~" end-of-history
bindkey "\e[3~" delete-char
bindkey "\e[2~" quoted-insert
bindkey "\e[5C" forward-word
bindkey "\eOc" emacs-forward-word
View config.yaml
directory: /mnt/chawley/Music
library: /home/chawley/musiclibrary.blb
import:
# write metadata to music files
write: yes
# move imported files from source to the music directory
move: yes
copy: no
View keybase.md

Keybase proof

I hereby claim:

  • I am crh0831 on github.
  • I am chawley (https://keybase.io/chawley) on keybase.
  • I have a public key ASBtlfHbu5bxrIM2dwud_vA1z8xVqlSlJlO1Ia8_eUUreAo

To claim this, I am signing this object: