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
| " Enable type file detection. Vim will be able to try to detect the type of file in use. | |
| filetype on | |
| " Enable plugins and load plugin for the detected file type. | |
| filetype plugin on | |
| " Load an indent file for the detected file type. | |
| filetype indent on | |
| " Turn syntax highlighting on. |
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
| # set command prefix for tmux | |
| set-option -g prefix C-a | |
| unbind C-a | |
| # set default shell to zsh | |
| set-option -g default-shell /usr/bin/bash | |
| set -g default-terminal screen-256color | |
| # 0 is too far from ` ;) | |
| set -g base-index 1 |
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
| #!/bin/sh | |
| # git version 2.29.3 | |
| GIT_VER=2.29.3 | |
| if [ -z $1 ]; then | |
| echo "Last tested version: ${GIT_VER}" | |
| echo "Please check for help -h|--help" | |
| exit 0 | |
| fi | |
| #__________Arguments Check___________________ |
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
| #!/bin/bash | |
| # Does not work with file name spacing | |
| find . -not -type d -exec file "{}" ";" | grep CRLF > $PWD/dos.txt | |
| if [ -s $PWD/dos.txt ] | |
| then | |
| echo -n "Converting files..." | |
| dos2unix $(cut -f 1 -d ':' $PWD/dos.txt) | |
| else | |
| echo -n "Dos file empty" | |
| fi |
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
| #!/bin/bash | |
| openssl req -newkey rsa:2048 -nodes -sha256 -keyout ca.key -x509 -days 3650 -out ca.crt |