Skip to content

Instantly share code, notes, and snippets.

View fzero's full-sized avatar

Fabio Neves fzero

View GitHub Profile
@fzero
fzero / keymap.cson
Created January 24, 2017 20:26
Fix atom keymap with vim-mode-plus
'atom-text-editor.vim-mode-plus':
'ctrl-c': 'core:copy'
'ctrl-x': 'core:cut'
'ctrl-v': 'core:paste'
'atom-text-editor.vim-mode-plus.insert-mode':
'ctrl-c': 'core:copy'
'ctrl-x': 'core:cut'
'ctrl-v': 'core:paste'
@fzero
fzero / voice-recog.js
Last active January 9, 2023 16:25
Google Voice Recognition API example
// We've followed documentation links and played with the example code a bit:
// Start here: https://cloud.google.com/speech
// If you need an audio editor, try Audacity:
// https://www.audacityteam.org
//
// usage: node voice-recog.js soundfile.flac en-US
//
// The second argument is the language code (e.g. en-US, pt-BR, fr-CA...)
@fzero
fzero / 1 tmux.conf
Last active February 7, 2024 15:00
Some tmux configurations, scripts and aliases I use.
# I prefer ctrl-a - helps when dealing with machines that only have Screen
unbind C-b
set -g prefix C-a
# Making windows purrty
set-window-option -g status-bg cyan
set-window-option -g status-fg black
set-window-option -g window-status-current-bg black
set-window-option -g window-status-current-fg white