i've found this useful for debugging ansible modules and syntax without having to use VMs or test in dev environments.
pip install ansible
# install: | |
# pip3 install python-gnupg | |
# note - gpg needs to be installed first: | |
# brew install gpg | |
# apt install gpg | |
# you may need to also: | |
# export GPG_TTY=$(tty) |
"an intellect that is much smarter than the best human brains in practically every field, including scientific creativity, general wisdom and social skills."
from pydantic import BaseModel | |
from typing import List | |
class InputItem(BaseModel): | |
song_id: str | |
audio_filename: str | |
class OutputItem(BaseModel): | |
song_id: str | |
audio_filenames: list # of strs |
git branch --merged | grep -v master | xargs -I % git branch -D % |
chrome://settings/searchEngines?search=search | |
Search engine: Jira | |
keyword: jira | |
URL: https://MYCORP.atlassian.net/secure/QuickSearch.jspa?searchString=%s |
class RecursiveNamespace(SimpleNamespace): | |
""" | |
Recursive instantiation of SimpleNamespace for supporting nested dicts. | |
Literally copied from the internet: https://dev.to/taqkarim/extending-simplenamespace-for-nested-dictionaries-58e8 | |
""" | |
@staticmethod | |
def map_entry(entry): | |
if isinstance(entry, dict): |
I would love to have the @tuck username and it looks very inactive! |
Download and install 1Password before doing anything else.
Download karabiner-elements: https://pqrs.org/osx/karabiner/