Fix formatting

This commit is contained in:
Pavle Portic 2020-03-18 14:06:33 +01:00
parent 50980cf7aa
commit 6d9ba8a1d8
Signed by: TheEdgeOfRage
GPG Key ID: 6758ACE46AA2A849
9 changed files with 117 additions and 124 deletions

View File

@ -1,4 +1,3 @@
#!/bin/zsh
ffmpeg -n -i "$1" -acodec libmp3lame -ab 320k -map_metadata 0 -id3v2_version 3 "$2" &> /dev/null

View File

@ -12,16 +12,16 @@ function usage()
Generate random password from /dev/urandom using the character set chosen
Option (pick one character set):"
local help_options=" \-a ,\--all\ all printable characters, not including space
\-lt ,\--limited\ all except special characters [A-Za-z0-9%+,-./:=@^_]
\-an ,\--alphanumeric\ letters and digits
\-al ,\--alpha\ letters
\-u ,\--upper\ upper case letters
\-l ,\--lower\ lower case letters
\-n ,\--numeric\ digits
\-h ,\--hex\ hexadecimal digits
\-c ,\--count <length>\ Length of password to generate
\[SET]\ \ Other character SET compatible with tr
local help_options="\t\-a ,\--all\ all printable characters, not including space
\t\-lt ,\--limited\ all except special characters [A-Za-z0-9%+,-./:=@^_]
\t\-an ,\--alphanumeric\ letters and digits
\t\-al ,\--alpha\ letters
\t\-u ,\--upper\ upper case letters
\t\-l ,\--lower\ lower case letters
\t\-n ,\--numeric\ digits
\t\-h ,\--hex\ hexadecimal digits
\t\-c ,\--count <length>\ Length of password to generate
\t\[SET]\ \ Other character SET compatible with tr
"
if [ "$missing_required" != "" ]
@ -130,4 +130,3 @@ if [ -z $characters ]; then
fi
< /dev/urandom tr -dc $characters | head -c $count

View File

@ -18,4 +18,3 @@ if (( XRES > YRES )); then
else
convert $1 -resize x$2 $1
fi

View File

@ -40,4 +40,3 @@ for ($color = 232; $color < 256; $color++) {
print "\x1b[48;5;${color}m ";
}
print "\x1b[0m\n";

View File

@ -14,4 +14,3 @@ awk -v term_cols="${width:-$(tput cols || echo 80)}" 'BEGIN{
}
printf "\n";
}'

View File

@ -231,7 +231,6 @@ function! UserConfig()
autocmd Filetype php setl et ts=4 sw=4 sts=4 tw=0
autocmd Filetype c,cpp setl noet ts=4 sts=4 sw=4
autocmd Filetype rst setl autoindent& cindent& smartindent& indentexpr& et ts=4 sts=4 sw=4
autocmd Filetype markdown setl et ts=2 sts=2 sw=2
autocmd Filetype tex setl et ts=4 sts=4 sw=4
autocmd Filetype nginx setl noet ts=4 sts=4 sw=4
augroup END
@ -284,9 +283,10 @@ function! UserConfig()
\ 'cpp': ['gcc'],
\ 'vue': ['eslint'],
\ 'javascript': ['eslint'],
\ 'cloudformation': ['cloudformation'],
\ }
let g:ale_lint_on_insert_leave = 1
let g:ale_fix_on_save = 0
let g:ale_fix_on_save = 1
" fzf config
let g:fzf_colors = {
@ -323,4 +323,3 @@ function! UserConfig()
let g:Hexokinase_ftAutoload = ['css', 'scss', 'sass', 'stylus']
endfunction

View File

@ -20,7 +20,7 @@ xhost +localhost
xhost +calcium
xhost +neon
xbindkeys
feh --bg-fill /home/pavle/pictures/wallpapers/arboreal_serenity.jpg
feh --bg-fill /home/pavle/pictures/wallpapers/ltt.png
dunst &
exec i3

View File

@ -152,4 +152,3 @@ export FZF_DEFAULT_OPTS='
'
source ~/.local/bin/start-ssh-agent