Skip to content

Instantly share code, notes, and snippets.

View bankrupcy's full-sized avatar
:shipit:

Michael bankrupcy

:shipit:
View GitHub Profile
@bankrupcy
bankrupcy / conventional-commits-cheatsheet.md
Created September 19, 2024 21:47 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commits Cheatsheet

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@bankrupcy
bankrupcy / fuz.sh
Created March 13, 2024 22:43 — forked from BaseCase/fuz.sh
#!/usr/bin/env bash
set -e
main() {
previous_file="$1"
file_to_edit=`select_file $previous_file`
if [ -n "$file_to_edit" ] ; then
"$EDITOR" "$file_to_edit"
main "$file_to_edit"
@bankrupcy
bankrupcy / xpath_soup.py
Created October 24, 2019 23:24 — forked from ergoithz/xpath_soup.py
Generate unique XPATH for BeautifulSoup element
#!/usr/bin/python
# -*- coding: utf-8 -*-
def xpath_soup(element):
# type: (typing.Union[bs4.element.Tag, bs4.element.NavigableString]) -> str
"""
Generate xpath from BeautifulSoup4 element.
:param element: BeautifulSoup4 element.
:type element: bs4.element.Tag or bs4.element.NavigableString
@bankrupcy
bankrupcy / .zshrc
Created September 5, 2019 20:53 — forked from jonaslund/.zshrc
zsh config
# Path to your oh-my-zsh configuration.
ZSH=$HOME/v/oh-my-zsh
# Set name of the theme to load.
ZSH_THEME="mgutz"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks