Skip to content

Instantly share code, notes, and snippets.

View ronalson's full-sized avatar

Ronalson Filho ronalson

View GitHub Profile
@ronalson
ronalson / gulpfile.js
Last active August 22, 2017 19:53
Add Browser-sync to Rails
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
var setupWatchers = function() {
gulp.watch(['./app/views/**/*.erb',
'./app/assets/javascripts/**/*.js',
'./app/assets/stylesheets/**/*.scss'], ['reload']);
};
gulp.task('reload', function(){
@ronalson
ronalson / DS-reading-list.md
Last active September 3, 2020 13:08
Design System / Tokens - Reading List
@ronalson
ronalson / keybindings.js
Created August 12, 2018 02:06
Autoclosing Quotes and Backticks on VSCode
[
{
// wrap a selection with double quotes (")
"key": "shift+'",
"command": "editor.action.insertSnippet",
"when": "editorHasSelection && editorTextFocus",
"args": {
"snippet": "\"${TM_SELECTED_TEXT}$1"
}
},