This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
publish () { | |
issues=`git log --pretty=format:"%C(yellow)%h %Cred%ad %Cblue%an%C(auto)%d %Creset%s" --date=short --graph $1 | perl -ne '{ /([A-Z]{1,5})-(\d+)/ && print "$1-$2, " }' | sort | uniq |sed 's/.\{2\}$//'`; | |
open "https://jira.flagstudio.ru/issues/?jql=issuekey in ($issues) "; | |
} | |
alias jo='function _jo(){ open https://jira.flagstudio.ru/browse/$1; };_jo' | |
alias ji='function _ji(){ curl -s -u user:password https://jira.flagstudio.ru/browse/$1 | grep "<title>" | sed -E "s/(<title>|<\/title>)//g" ; };_ji' | |
function gl2() { | |
git log --pretty=format:"%C(yellow)%h %Cred%ad %C(white)%an%C(auto)%d %Creset%s" --color --date=short --graph $1 | \ | |
while read -r i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias passgen='openssl rand -base64 6' # generate 6 symbols random password | |
alias genpass='passgen' # yeah, i'm stupid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ;\ | |
curl https://getmic.ro | bash; \ | |
echo 'alias m="~/micro"' >> .bashrc; \ | |
source ~/.bashrc; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --env-filter 'export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"' | |
rm -fr "$(git rev-parse --git-dir)/refs/original/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.flagsoft_line { | |
font-family: "Trebuchet MS"; | |
width: 100%; | |
position: fixed; | |
bottom: 0; | |
left: 0; | |
display: none; | |
background: rgb(61,31,176); | |
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…IgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=); |
NewerOlder