Appending :after & :hover Pseudo Elements

Just append :after to your #alertlist li:hover selector the same way you do with your #alertlist li.selected selector: :hover can easily be appended to :after or :before in the just the same way it would to any otehr element. li:after { color: red; } li:after:hover { color: blue;…

Git lazy with more aliases

Amending ~/.gitconfig file. [alias] # one-line log 1 mylog = log --pretty=format:'%C(yellow)%h %Cblue%>(12)%ad %Cgreen%<(7)%$ # one-line log 2 l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ $ g = git a = add ap = add -p c = commit --verbose ca = commit…

Optimising Git work flow with functions & aliases

For this example I'm automating elements of work flow in publishing Ghost post updates to github pages. I'm utilising Buster to generate a static version of a ghost blog before pushing to github pages. Located in user home directory, the .bash_profile can have functions added to it to optimise…

Pretty one line Git commits

Editing the .gitconfig file for a more readable git log by adding the following settings. [log] date = relative [format] pretty = format:%C(yellow)%h %Cblue%>(12)%ad %Cgreen%<(7)%aN%Cred%d %Creset%s These settings ensure for ease of reading log lines that they are colour coded…