| @@ -8,8 +8,7 @@ | |||||||
|  '(livedown-open t) |  '(livedown-open t) | ||||||
|  '(livedown-port 1337) |  '(livedown-port 1337) | ||||||
|  '(package-selected-packages |  '(package-selected-packages | ||||||
|    (quote |    '(markdown-mode magit dired-sidebar dracula-theme auto-complete ox-reveal htmlize switch-window use-package))) | ||||||
|     (auto-complete use-package switch-window ox-reveal ox-jira org-jira markdown-mode magit htmlize dracula-theme dired-sidebar confluence)))) |  | ||||||
| (custom-set-faces | (custom-set-faces | ||||||
|  ;; custom-set-faces was added by Custom. |  ;; custom-set-faces was added by Custom. | ||||||
|  ;; If you edit it by hand, you could mess it up, so be careful. |  ;; If you edit it by hand, you could mess it up, so be careful. | ||||||
|   | |||||||
| @@ -65,6 +65,10 @@ | |||||||
|   ([remap other-window] . switch-window) |   ([remap other-window] . switch-window) | ||||||
|   ) |   ) | ||||||
|  |  | ||||||
|  | ;; Enable japanese | ||||||
|  | (require 'mozc) | ||||||
|  | (setq default-input-method "japanese-mozc") | ||||||
|  |  | ||||||
| ;; reveal dependency | ;; reveal dependency | ||||||
| (use-package htmlize | (use-package htmlize | ||||||
|   :ensure t |   :ensure t | ||||||
|   | |||||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -61,6 +61,7 @@ go/ | |||||||
| Documents | Documents | ||||||
| Downloads | Downloads | ||||||
| Linux | Linux | ||||||
|  | mega | ||||||
| MEGA | MEGA | ||||||
| Muzyka | Muzyka | ||||||
| Screenshots | Screenshots | ||||||
|   | |||||||
							
								
								
									
										98
									
								
								.local/bin/checking-repo
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										98
									
								
								.local/bin/checking-repo
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,98 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  |  | ||||||
|  | #################################################### | ||||||
|  | # | ||||||
|  | # SRC_PREPARE | ||||||
|  | # | ||||||
|  | # Marcin Woźniak | ||||||
|  | # y0rune@aol.com | ||||||
|  | # | ||||||
|  | # Last edit: 16-09-2020 | ||||||
|  | # | ||||||
|  | ################################################### | ||||||
|  |  | ||||||
|  | function scanning(){ | ||||||
|  |     EUSCAN=$(euscan --nocolor --quiet "$1") | ||||||
|  |     if [ -n "$EUSCAN" ]; then | ||||||
|  |         echo "=============== NOW: $(find ./* -mindepth 2 -maxdepth 2  -name ''"$1"'*.ebuild' | tail -1) ================= | ||||||
|  |         $(echo -e "$EUSCAN" | tail -1)" | ||||||
|  |     fi | ||||||
|  | } | ||||||
|  |  | ||||||
|  | function folder(){ | ||||||
|  |     cd "$1" || exit | ||||||
|  |  | ||||||
|  |     PACKAGES=() | ||||||
|  |  | ||||||
|  |     for FILE in */* | ||||||
|  |     do | ||||||
|  |         PACKAGE=$(echo "$FILE" | grep -Eo '[A-z0-9_-]+$') | ||||||
|  |         PACKAGES+=("$PACKAGE") | ||||||
|  |     done | ||||||
|  |  | ||||||
|  |     for i in "${PACKAGES[@]}" | ||||||
|  |     do | ||||||
|  |         scanning "$i" & | ||||||
|  |     done | ||||||
|  |  | ||||||
|  |     for j in $(jobs -p) | ||||||
|  |     do | ||||||
|  |         wait "$j" | ||||||
|  |     done | ||||||
|  |  | ||||||
|  |     echo -n ">>> Done scanning $1" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | function nofolder(){ | ||||||
|  |     if [ -z "${1}" ]; then | ||||||
|  |         echo "No overlay names given" | ||||||
|  |         echo "Please give at least one overlay name as a commandline argument" | ||||||
|  |         echo "Exiting" | ||||||
|  |         exit 1 | ||||||
|  |     fi | ||||||
|  |  | ||||||
|  | for overlay in "${@}" | ||||||
|  | do | ||||||
|  |     for ebuild in $(EIX_LIMIT=0 eix --only-names --in-overlay "${overlay}") | ||||||
|  |     do | ||||||
|  |         euscan --nocolor --quiet "${ebuild}" & | ||||||
|  |     done | ||||||
|  |  | ||||||
|  |     for j in $(jobs -p) | ||||||
|  |     do | ||||||
|  |         wait "$j" | ||||||
|  |     done | ||||||
|  |  | ||||||
|  |     echo -n ">>> Done scanning ${overlay}" | ||||||
|  | done | ||||||
|  | } | ||||||
|  |  | ||||||
|  | function help(){ | ||||||
|  |     echo "You can use:" | ||||||
|  |     echo "*   -r or --repo <HERE-REPO-NAME>" | ||||||
|  |     echo "*   -f or --folder <FOLDER-NAME>" | ||||||
|  |     echo | ||||||
|  |     echo "Example of usage" | ||||||
|  |     echo "./logeuscan -r src_prepare-overlay" | ||||||
|  |     echo "./logeuscan -f ~/git/src_prepare-overlay" | ||||||
|  | } | ||||||
|  |  | ||||||
|  | function main(){ | ||||||
|  |     [ "$(whereis eix | wc -w)" -le "1" ] && { echo "The eix is NOT installed"; exit; } | ||||||
|  |     [ "$(whereis euscan | wc -w)" -le "1" ] && { echo "The euscan is NOT installed"; exit; } | ||||||
|  |     case $1 in | ||||||
|  |         -h|--help) | ||||||
|  |             help | ||||||
|  |             ;; | ||||||
|  |         -r|--repo) | ||||||
|  |             nofolder "$2" | tee -a "euscan-$(date -I).log" | ||||||
|  |             ;; | ||||||
|  |         -f|--folder) | ||||||
|  |             folder "$2" | tee -a "euscan-$(date -I).log" | ||||||
|  |             ;; | ||||||
|  |         *) | ||||||
|  |         echo "No found variable"; echo; help | ||||||
|  |     esac | ||||||
|  | } | ||||||
|  |  | ||||||
|  | main "$@" | ||||||
							
								
								
									
										4
									
								
								.local/bin/euscan
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								.local/bin/euscan
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,4 @@ | |||||||
|  | #!/usr/lib/python-exec/python3.7/python | ||||||
|  | # EASY-INSTALL-SCRIPT: 'euscan==9999','euscan' | ||||||
|  | __requires__ = 'euscan==9999' | ||||||
|  | __import__('pkg_resources').run_script('euscan==9999', 'euscan') | ||||||
| @@ -37,7 +37,7 @@ if [ "$agreed" == "y" ] || [ "$agreed" == "Y" ] | |||||||
|         NEW_KERNEL="/tmp/new-kernel-config" |         NEW_KERNEL="/tmp/new-kernel-config" | ||||||
|         sudo cp -r $TMP_KERNEL $DEFAULT_KERNEL |         sudo cp -r $TMP_KERNEL $DEFAULT_KERNEL | ||||||
|         cd /usr/src/linux; sudo make menuconfig; sleep 2; sudo cp -r $DEFAULT_KERNEL $NEW_KERNEL |         cd /usr/src/linux; sudo make menuconfig; sleep 2; sudo cp -r $DEFAULT_KERNEL $NEW_KERNEL | ||||||
|         sudo genkernel all --makeopts=-j$(nproc --all) --kernel-config=$NEW_KERNEL --callback="emerge nvidia-drivers::gentoo" |         sudo genkernel all --makeopts=-j$(nproc --all) --kernel-config=$NEW_KERNEL --callback="emerge nvidia-drivers::gentoo" --lvm --btrfs --luks | ||||||
|     elif [ "$agreed" == "N" ] || [ "$agreed" == "n" ] |     elif [ "$agreed" == "N" ] || [ "$agreed" == "n" ] | ||||||
| 	then | 	then | ||||||
| 	exit | 	exit | ||||||
|   | |||||||
							
								
								
									
										3
									
								
								.vimrc
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								.vimrc
									
									
									
									
									
								
							| @@ -46,7 +46,6 @@ set nocompatible | |||||||
| set hlsearch | set hlsearch | ||||||
| set incsearch | set incsearch | ||||||
| set noshowmode | set noshowmode | ||||||
| set cursorline |  | ||||||
| set cmdheight=1 | set cmdheight=1 | ||||||
| syntax on | syntax on | ||||||
| filetype plugin indent on | filetype plugin indent on | ||||||
| @@ -118,7 +117,7 @@ autocmd BufWritePost *.tex silent! execute "!sudo pkill -HUP mupdf > /dev/null" | |||||||
|  |  | ||||||
| " mutt | " mutt | ||||||
| autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 | autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 | ||||||
| autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo | set bg=light | autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo | ||||||
| autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR> | autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x!<CR> | ||||||
| autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR> | autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR> | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										1
									
								
								.zshrc
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								.zshrc
									
									
									
									
									
								
							| @@ -16,7 +16,6 @@ plugins=(rake ruby vagrant knife knife_ssh kitchen ) | |||||||
|  |  | ||||||
| ZSH_DISABLE_COMPFIX=true | ZSH_DISABLE_COMPFIX=true | ||||||
| source $ZSH/oh-my-zsh.sh | source $ZSH/oh-my-zsh.sh | ||||||
| source $HOME/.sshservers |  | ||||||
| source $HOME/Linux/configs/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh &>> /dev/null | source $HOME/Linux/configs/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh &>> /dev/null | ||||||
| source $HOME/Linux/configs/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh &>> /dev/null | source $HOME/Linux/configs/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh &>> /dev/null | ||||||
| [ ! -d $HOME/.config/fzf ] && git clone https://github.com/junegunn/fzf.git $HOME/.config/fzf | [ ! -d $HOME/.config/fzf ] && git clone https://github.com/junegunn/fzf.git $HOME/.config/fzf | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user