Skip to content

Instantly share code, notes, and snippets.

View AeroCross's full-sized avatar

Mario Cuba AeroCross

View GitHub Profile
@AeroCross
AeroCross / .cvimrc
Last active June 30, 2021 00:43
cVim Configuration
" Basic settings
set smoothscroll
set noautofocus
set noregexp
let scrollduration=200
let mapleader = "<Space>"
let barposition = "bottom"
" Set up search engines
@AeroCross
AeroCross / settings.json
Last active June 23, 2019 21:34
VS Code Settings
{
// editor configuration
"breadcrumbs.enabled": true,
"editor.autoClosingBrackets": "never",
"editor.autoClosingQuotes": "never",
"editor.fontFamily": "SF Mono, Roboto Mono Medium for Powerline, Menlo, monospace",
"editor.fontSize": 14,
"editor.lineHeight": 24,
"editor.occurrencesHighlight": false,
"editor.quickSuggestionsDelay": 0,
@AeroCross
AeroCross / AeroCross' Build.md
Last active March 13, 2019 08:02
All the current pieces that make up a glorious setup.

AeroCross' Build

All the current pieces that make up a glorious setup.

Computer

  • 2x [Samsung 970 EVO NVMe][NVMe] (1TB, 500GB)
  • 2x [Samsung 850 EVO 250GB][SSD]
  • [ZOTAC GAMING GeForce RTX 2080 Ti AMP, 11GB][GPU]
  • [Corsair CS550M Modular 80 Plus Gold][Power]
@AeroCross
AeroCross / find.sh
Last active August 31, 2018 08:55
Recursively and incrementally search a directory and open the file in Visual Studio Code
# depends on fzf and ag
function search_file_contents() {
ag --nobreak --numbers --column --noheading . | \
fzf --exact --delimiter=: --nth=2.. | \
cut -d : -f 1-2 | \
xargs -n 1 code -g $1
}
alias f=search_file_contents
# without leaving fzf (pressing enter)
@AeroCross
AeroCross / split_files.rb
Created June 6, 2018 06:05
Splitting files into multiple, smaller files
#!/usr/bin/env ruby
require 'pathname'
require 'csv'
if ARGV.empty? || ARGV[0].empty? || ARGV[1].empty?
puts 'Usage: split <file> <number-of-files-to-create>'
end
file = begin

Keybase proof

I hereby claim:

  • I am aerocross on github.
  • I am aerocross (https://keybase.io/aerocross) on keybase.
  • I have a public key ASCTAjz-0aJLNAK1MJtJH-AtyCKx6go6xwA7uSIM8va-Uwo

To claim this, I am signing this object: