Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mike325 committed Dec 4, 2023
1 parent bcbff05 commit 55ee70d
Show file tree
Hide file tree
Showing 24 changed files with 90 additions and 462 deletions.
2 changes: 1 addition & 1 deletion bin/automount.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Usage:
$NAME [OPTIONAL]
Optional Flags
--nolog Disable log writting
--nolog Disable log writing
--nocolor Disable color output
-v, --verbose Enable debug messages
-h, --help Display this help message
Expand Down
10 changes: 5 additions & 5 deletions bin/converter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ reset_color="\033[39m"

function help_user() {
cat <<EOF
Script to automate video convertion to h265/HEVC with 320k aac
Script to automate video conversion to h265/HEVC with 320k aac
Usage:
$NAME [OPTIONAL]
Optional Flags
--nolog Disable log writting
--nolog Disable log writing
--nocolor Disable color output
-v, --verbose Enable debug messages
-o PATH , --output PATH Set output path
Expand Down Expand Up @@ -470,7 +470,7 @@ function convert_files() {
converter="ffmpeg -map_metadata 0 -map 0:v -map 0:a -map 0:d -hwaccel ${hwaccel} -hwaccel_output_format ${hwaccel} -init_hw_device vaapi=encoder:/dev/dri/renderD128 -rc_mode CQP -filter_hw_device encoder -hide_banner"
vconverter="-c:v ${hevc_encoder} -q:v ${quality} -profile:v main -tier high -level 186 "
elif [[ $hwaccel == 'videotoolbox' ]]; then
# Since we are in a mac we can use the audiotoolkit to accelerate audio convertion
# Since we are in a mac we can use the audiotoolkit to accelerate audio conversion
converter="ffmpeg -hwaccel ${hwaccel} -hide_banner -map 0:v -map 0:a -map 0:d -map_metadata 0 "
vconverter="-c:v ${hevc_encoder} -vtag hvc1 -q:v ${quality} -profile:v main "
aconverter="-c:a aac_at -b:a 320k -ac 2"
Expand Down Expand Up @@ -581,7 +581,7 @@ function media_archive() {
return 0
}

function start_convertion() {
function start_conversion() {
local _cmd='find'

if hash fd 2>/dev/null; then
Expand Down Expand Up @@ -627,7 +627,7 @@ function clean_up() {
verbose_msg "Using media path at ${MEDIA_PATH}"
verbose_msg "Using archive path at ${ARCHIVE}"

start_convertion
start_conversion

if [[ $ERR_COUNT -gt 0 ]]; then
exit 1
Expand Down
2 changes: 1 addition & 1 deletion bin/fsend.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _createLogger(
filename: str = "dummy.log",
name: str = "MainLogger",
):
"""Creaters logging obj
"""Creators logging obj
stdout_level: int: logging level displayed into the terminal
file_level: int: logging level saved into the logging file
Expand Down
4 changes: 2 additions & 2 deletions bin/get_nvim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Usage:
Just few systems are supported, Debian's family, Fedora's family and
ArchLinux's family
--dev Use developement builds/portables instead of stable
--dev Use development builds/portables instead of stable
--stable Use stable builds/portables instead of stable
Expand Down Expand Up @@ -574,7 +574,7 @@ fi

status_msg "Building neovim"
verbose_msg "Building $BUILD_TYPE on $BRANCH"
if make CMAKE_BUILD_TYPE="$BUILD_TYPE"; then
if make CMAKE_BUILD_TYPE="$BUILD_TYPE" -j; then
INSTALL_DIR="${INSTALL_DIR:-$HOME/.local}"
status_msg "Installing neovim into $INSTALL_DIR"
if ! make CMAKE_BUILD_TYPE="$BUILD_TYPE" CMAKE_INSTALL_PREFIX="$INSTALL_DIR" install; then
Expand Down
2 changes: 1 addition & 1 deletion bin/get_shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Usage:
-f, --force Force installation, remove all previous conflict files before installing
This flag is always disable by default
-s, --shell Force a shell install. Available: bash/bash-it and zsh/oh-my-zsh
--nolog Disable log writting
--nolog Disable log writing
--nocolor Disable color output
-v, --verbose Enable debug messages
-h, --help Display this help message
Expand Down
2 changes: 1 addition & 1 deletion bin/grp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ else
error_msg "The given path doesn't exist"
fi

# Retrun to the original dir
# Return to the original dir
popd 1>/dev/null || exit 1

else
Expand Down
2 changes: 1 addition & 1 deletion bin/oscclip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ Usage:
-h, --help Display help, if you are seeing this, that means that you already know it (nice)
-v, --verbose Enable debug messages
--nolog Disable log writting
--nolog Disable log writing
--nocolor Disable color output
-i [TEXT] Add TEXT to the clipboard using OSC52
- Read from the stdin and copy the content to the clipboard
Expand Down
1 change: 0 additions & 1 deletion config/wezterm/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ end

function M.get_active_window()
local windows = wezterm.gui.gui_windows()
local win
for _, win in ipairs(windows) do
if win:is_focused() then
return win
Expand Down
2 changes: 1 addition & 1 deletion config/wezterm/patch_runtime.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ else
neovim_path = sys.home .. '/.config/nvim/lua/'
end

-- TODO: Find version "dinamically"
-- TODO: Find version "dynamically"
for _, complement in ipairs { 'lib', 'share' } do
for _, base in ipairs(bases) do
table.insert(paths, ('%s/%s/%s'):format(base, complement, 'lua/5.4/'))
Expand Down
15 changes: 4 additions & 11 deletions git/bin/git-co
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,10 @@ Usage:
Optional Flags
--nolog
Disable log writting
--nocolor
Disable color output
-v, --verbose
Enable debug messages
-h, --help
Display help, if you are seeing this, that means that you already know it (nice)
--nolog Disable log writing
--nocolor Disable color output
-v, --verbose Enable debug messages
-h, --help Display help, if you are seeing this, that means that you already know it (nice)
EOF
}

Expand Down
15 changes: 4 additions & 11 deletions git/bin/git-dev
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,10 @@ Usage:
Optional Flags
--nolog
Disable log writting
--nocolor
Disable color output
-v, --verbose
Enable debug messages
-h, --help
Display help, if you are seeing this, that means that you already know it (nice)
--nolog Disable log writing
--nocolor Disable color output
-v, --verbose Enable debug messages
-h, --help Display help, if you are seeing this, that means that you already know it (nice)
EOF
}

Expand Down
2 changes: 1 addition & 1 deletion git/bin/git-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# Create useful gitignore files
# Usage: gi [param]
# param is a comma separated list of ignore profiles.
# If param is ommited choose interactively.
# If param is omitted choose interactively.
function help_user() {
cat <<EOF
Expand Down
15 changes: 4 additions & 11 deletions git/bin/git-pla
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,10 @@ Usage:
Optional Flags
--nolog
Disable log writting
--nocolor
Disable color output
-v, --verbose
Enable debug messages
-h, --help
Display help, if you are seeing this, that means that you already know it (nice)
--nolog Disable log writing
--nocolor Disable color output
-v, --verbose Enable debug messages
-h, --help Display help, if you are seeing this, that means that you already know it (nice)
EOF
}

Expand Down
Loading

0 comments on commit 55ee70d

Please sign in to comment.