Skip to content

Instantly share code, notes, and snippets.

Mario Cuba AeroCross

View GitHub Profile
@AeroCross
AeroCross / settings.json
Last active Jun 23, 2019
VS Code Settings
View settings.json
{
// 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 / find.sh
Last active Aug 31, 2018
Recursively and incrementally search a directory and open the file in Visual Studio Code
View find.sh
# 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 / .cvimrc
Last active Oct 8, 2018
cVim Configuration
View .cvimrc
" Basic settings
set smoothscroll
set noautofocus
set noregexp
let scrollduration=200
let mapleader = "<Space>"
let barposition = "bottom"
" Set up search engines
@AeroCross
AeroCross / split_files.rb
Created Jun 6, 2018
Splitting files into multiple, smaller files
View split_files.rb
#!/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
View keybase.md

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:

@AeroCross
AeroCross / AeroCross' Build.md
Last active Mar 13, 2019
All the current pieces that make up a glorious setup.
View AeroCross' Build.md

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]
You can’t perform that action at this time.