This file contains hidden or 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=); |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| # Other aliases | |
| alias la='ls -alh' | |
| alias hosts='cat ~/.ssh/config' # я храню хосты в этом файле. это позволяет подключаться к ним вот так ssh 47 | |
| alias passgen='openssl rand -base64 6' #сгенерировать пароль | |
| alias genpass='passgen' # я тупой | |
| alias b='m ~/.bashrc' | |
| alias m='micro' | |
| alias atom='atom -a' | |
| alias code='code -a' | |
| alias p='pstorm' |
This file contains hidden or 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
| export EDITOR='micro' | |
| export CHEAT_EDITOR='micro' | |
| export PATH="$HOME/.composer/vendor/bin:$PATH" | |
| export PATH="vendor/bin:$PATH" | |
| export PATH="/usr/local/bin:$PATH" | |
| export CLICOLOR=1 | |
| export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
| export HISTTIMEFORMAT="%d/%m/%y %T " |
This file contains hidden or 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
| #!/usr/bin/make | |
| # Makefile readme (ru): <http://linux.yaroslavl.ru/docs/prog/gnu_make_3-79_russian_manual.html> | |
| # Makefile readme (en): <https://www.gnu.org/software/make/manual/html_node/index.html#SEC_Contents> | |
| SHELL = /bin/sh | |
| REGISTRY_HOST = registry.gitlab.com | |
| REGISTRY_PATH = tarampampam/laravel-in-docker/ | |
| IMAGES_PREFIX := $(shell basename $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))) |
This file contains hidden or 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
| mkdir -p public/svg; \ | |
| cd public/svg; \ | |
| curl -O https://raw.githubusercontent.com/laravel-shift/laravel-5.7/master/public/svg/403.svg; \ | |
| curl -O https://raw.githubusercontent.com/laravel-shift/laravel-5.7/master/public/svg/404.svg; \ | |
| curl -O https://raw.githubusercontent.com/laravel-shift/laravel-5.7/master/public/svg/500.svg; \ | |
| curl -O https://raw.githubusercontent.com/laravel-shift/laravel-5.7/master/public/svg/503.svg; \ | |
| cd ../..; |
This file contains hidden or 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
| # Repo | |
| apt-get update; | |
| apt-get install -y \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| gnupg-agent \ | |
| software-properties-common; | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -; | |
| apt-key fingerprint 0EBFCD88; |
OlderNewer