Skip to content

Instantly share code, notes, and snippets.

View gusano's full-sized avatar
👾
React.js, Remix.run, frontend

Yvan Volochine gusano

👾
React.js, Remix.run, frontend
View GitHub Profile
@gusano
gusano / init.vim
Created December 1, 2019 22:04 — forked from danmikita/init.vim
File preview with FZF, RG, Bat, and Devicons
nnoremap <silent> <leader>e :call Fzf_dev()<CR>
" ripgrep
if executable('rg')
let $FZF_DEFAULT_COMMAND = 'rg --files --hidden --follow --glob "!.git/*"'
set grepprg=rg\ --vimgrep
command! -bang -nargs=* Find call fzf#vim#grep('rg --column --line-number --no-heading --fixed-strings --ignore-case --hidden --follow --glob "!.git/*" --color "always" '.shellescape(<q-args>).'| tr -d "\017"', 1, <bang>0)
endif
" Files + devicons
@gusano
gusano / readme.md
Created April 6, 2017 20:15
Making archlinux use DNS Masq for whatever reason

Login and become root:

sudo su -

Update your stuff (maybe? I dunno whatevs)

pacman -Syu
@gusano
gusano / SonaGraph.schelp
Created March 10, 2017 02:40
SuperCollider SonaGraph-like implementation, with help file
TITLE:: SonaGraph
summary:: A piano-tuned spectrum analyzer/visualizer, inspired by Kay Sonagraph
categories:: Analysis
related:: Classes
DESCRIPTION::
The classic Kay Sonagraph was based on a bank of filters used to plot on paper spectral information, widely used in phonetics and acoustic analysis (bird singing). SonaGraph works in two steps. First, a sound is analized by passing it through a 88 band pass filter, tuned on piano keys. Amps in dB and pitch are collected and data are then available to manipulation/visualization. Second, data can be explored interactively by the included GUI.
CLASSMETHODS::

It All Starts With Templates

An Ember application starts with its main template. Put your header, footer, and any other decorative content in application.handlebars.

<header>
  <img src="masthead">
</header>

<footer>