Skip to content

Instantly share code, notes, and snippets.

View TiagoJMartins's full-sized avatar
:shipit:

Tiago Martins TiagoJMartins

:shipit:
View GitHub Profile
@TiagoJMartins
TiagoJMartins / jira-ticket-frequency.sh
Created October 17, 2023 10:52
Get count of JIRA ticket prefixes in the current Git branch
git log --oneline | grep -o '[A-Z]\{1,\}-' | sort | uniq -c | sort -nr
____
/___/\_
_\ \/_/\__
__\ \/_/\
\ __ __ \ \
__\ \_\ \_\ \ \ __
/_/\\ __ __ \ \_/_/\
\_\/_\__\/\__\/\__\/_\_\/
\_\/_/\ /_\_\/
\_\/ \_\/
@TiagoJMartins
TiagoJMartins / super-tip.txt
Created April 17, 2019 08:28 — forked from ericdouglas/super-tip.txt
Change 4 spaces to 2 spaces indentation and change tab to spaces - Vim tip
// 4 spaces to 2 spaces
%s;^\(\s\+\);\=repeat(' ', len(submatch(0))/2);g
// Tab to 2 spaces
:%s/\t/ /g
@TiagoJMartins
TiagoJMartins / retropie-welcome.sh
Created October 8, 2017 23:01
The RetroPie bash welcome function.
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md