Skip to content

Instantly share code, notes, and snippets.

View olo95's full-sized avatar

Alexander Stolar olo95

View GitHub Profile
{
"appTitle": [
{
"key": "pl",
"value": "Potrzebuję"
},
{
"key": "ua",
"value": "Потреба"
}
@olo95
olo95 / i_need_needs_db.json
Last active March 18, 2022 08:42
I Need DB
{
"data": [
{
"need": [
{
"key": "pl",
"value": "Nocleg"
},
{
"key": "ua",
#!/bin/sh
#
# Automatically adds branch name and branch description to every commit message,
# omitting adding branch name if already exists in commit message.
#
NAME=$(git branch | grep '*' | sed 's/* .*\///')
DESCRIPTION=$(git config branch."$NAME".description)
if [[ ! $(cat "$1") =~ $NAME ]];
then