mirror of https://github.com/ericonr/dotfiles.git
Compare commits
5 Commits
157ee0847e
...
b38841d348
Author | SHA1 | Date |
---|---|---|
Érico Nogueira | b38841d348 | |
Érico Nogueira | bfe2d677a5 | |
Érico Nogueira | 73b076293a | |
Érico Nogueira | 99fadabba4 | |
Érico Nogueira | 3b92651892 |
|
@ -19,3 +19,6 @@
|
|||
[submodule "sourcecode/subprojects/ep"]
|
||||
path = sourcecode/subprojects/ep
|
||||
url = https://github.com/ericonr/ep.git
|
||||
[submodule "nvim/.config/nvim/pack/plugins/start/goyo.vim"]
|
||||
path = nvim/.config/nvim/pack/plugins/start/goyo.vim
|
||||
url = https://github.com/junegunn/goyo.vim.git
|
||||
|
|
|
@ -22,6 +22,8 @@ alias cargotmp='env CARGO_TARGET_DIR=/tmp/cargo/(basename (pwd)) cargo'
|
|||
|
||||
alias rebase-up='git pull upstream master --rebase --autostash'
|
||||
|
||||
alias gg='git grep'
|
||||
|
||||
function statusgit --argument show \
|
||||
--description "Show git status for all directories in the current directory. Requires omf."
|
||||
if test -z $show
|
||||
|
|
|
@ -31,7 +31,7 @@ alias weather='curl wttr.in/'
|
|||
|
||||
## Aliases for quick grepping
|
||||
alias rgmod='lsmod | grep -i'
|
||||
alias rug='ug --ignore-files --sort -r'
|
||||
alias rug='ug --ignore-files --sort -nr'
|
||||
|
||||
function watchps --description "Watch process(es)"
|
||||
set _p (pgrep -f "$argv[1]")
|
||||
|
|
|
@ -13,6 +13,10 @@ set smartcase
|
|||
|
||||
" SHORTCUTS
|
||||
|
||||
" Shortcuts for paragraph nagivation
|
||||
:nmap j gj
|
||||
:nmap k gk
|
||||
|
||||
" Shortcuts for quickly going back to normal mode
|
||||
:imap jk <Esc>
|
||||
:imap kj <Esc>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit a865dec7ca7616dbbd69315ad1417b84d0c411f8
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
n="$1"
|
||||
cp ~/.local/share/template.tex "$n"
|
|
@ -0,0 +1,24 @@
|
|||
\documentclass[11pt,a4paper]{article}
|
||||
% https://guides.nyu.edu/c.php?g=601858&p=4168138
|
||||
|
||||
%\title{Title}
|
||||
%\author{Érico Nogueira Rolim}
|
||||
%\date{}
|
||||
|
||||
\usepackage[margin=2cm]{geometry}
|
||||
%\usepackage{amsmath}
|
||||
|
||||
% https://guides.nyu.edu/c.php?g=601858&p=4168138
|
||||
\newcommand{\question}[2][]{\begin{flushleft}
|
||||
\textbf{Questão #1}: #2
|
||||
\end{flushleft}}
|
||||
\newcommand{\sol}{\textbf{Solução}:\newline}
|
||||
|
||||
\begin{document}
|
||||
|
||||
%\maketitle
|
||||
%\tableofcontents
|
||||
|
||||
|
||||
|
||||
\end{document}
|
|
@ -0,0 +1,14 @@
|
|||
# FFmpeg
|
||||
|
||||
## Resize video
|
||||
|
||||
Base command: `ffmpeg -i <input> <output>`
|
||||
|
||||
Intermediary options:
|
||||
|
||||
- `-vcodec libx265|libx264`
|
||||
- `-crf <value>` reasonable range for h265 is 24 to 30, 34 still looks like something
|
||||
- `-b <number>k` bitrate (per second)
|
||||
- `-fs <number>` file size limit
|
||||
- `-vf "scale=trunc(iw/4)*2:trunc(ih/4)*2"` filter to scale by half
|
||||
- `-vf scale=1280:720` filter to scale to 720p
|
|
@ -0,0 +1 @@
|
|||
nameserver 127.0.0.1
|
|
@ -2,6 +2,6 @@
|
|||
# See resolvconf.conf(5) for details
|
||||
|
||||
resolv_conf=/dev/null
|
||||
name_servers="8.8.8.8 1.1.1.1"
|
||||
name_servers="8.8.8.8 1.1.1.1 8.8.4.4 1.0.0.1 8.26.56.26 8.20.247.20"
|
||||
private_interfaces="*"
|
||||
unbound_conf=/etc/unbound/resolvconf.conf
|
||||
|
|
|
@ -31,7 +31,7 @@ assemble_list() {
|
|||
done
|
||||
}
|
||||
|
||||
base="chrony elogind iwd wireguard-tools openresolv vsv socklog-void doas font-spleen"
|
||||
base="chrony elogind iwd wireguard-tools openresolv unbound vsv socklog-void doas font-spleen"
|
||||
base_desc="$(print_item base) Install base system utilities."
|
||||
|
||||
luks="cryptsetup"
|
||||
|
|
Loading…
Reference in New Issue