Skip to content

Instantly share code, notes, and snippets.

View fervic's full-sized avatar

Roberto Fernandez fervic

View GitHub Profile
@fervic
fervic / embracing_neovim.md
Last active October 23, 2024 13:33
Embracing Neovim (Progressively)

Embracing Neovim (Progressively)

The idea about this document is to take each section one at a time to learn and memorize the key combinations. Stay on the section until each command becomes muscle memory (1 day, 1 week, ...), then move onto the next section.

1. Use Vim Like Other Editors

Key(s) Action
i Switch to INSERT mode, in which it does what you expect it to do when you type
@fervic
fervic / keybase.md
Created July 3, 2019 15:35
Keybase Verification

Keybase proof

I hereby claim:

  • I am fervic on github.
  • I am fervic (https://keybase.io/fervic) on keybase.
  • I have a public key ASDRGmZb2-On9dT3SIS63b668rwTTOiUpXm5Bpy1J9eH6Qo

To claim this, I am signing this object:

@fervic
fervic / bq_expenses.sh
Created May 28, 2020 06:11
My rough Big Query jobs expenses calculator
#!/usr/bin/env sh
bq ls -j -n 10000 | grep SUCCESS | awk '{print $1}' | \
xargs -n 1 bq --format prettyjson show -j | \
jq .statistics.query.totalBytesBilled | \
sed s/\"//g | \
awk '{ sum += $1 } END { print sum/1024/1024/1024 }'