Skip to content

Instantly share code, notes, and snippets.


Nels Nelson nelsnelson

View GitHub Profile
premek /
Last active Dec 24, 2021
Rename files in linux / bash using mv command without typing the full name two times
# Put this function to your .bashrc file.
# Usage: mv oldfilename
# If you call mv without the second parameter it will prompt you to edit the filename on command line.
# Original mv is called when it's called with more than one argument.
# It's useful when you want to change just a few letters in a long name.
# Also see:
# - imv from renameutils
# - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste)
nelsnelson / support_chat_transcript.txt
Created Nov 29, 2018
Google Fi cell phone plan privacy
View support_chat_transcript.txt
9:40 AM
Thanks for contacting Google Support. My name is Stephen.
9:40 AM
Hi Nels!
9:40 AM
How may we help you today?
Nels Nelson
a7madgamal /
Last active Oct 20, 2021
Dark mode for Slack on MacOS
#! /usr/bin/env python
import logging
import sys
log_format = "%(asctime)s %(levelname)s [%(name)s] %(message)s"
formatter = logging.Formatter(log_format)
handler = logging.StreamHandler()
marktheunissen / pedantically_commented_playbook.yml
Last active Dec 30, 2021 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
This playbook has been removed as it is now very outdated.