Skip to content

Instantly share code, notes, and snippets.

View rmnbrd's full-sized avatar

Romain Billard rmnbrd

  • Lyon, France
View GitHub Profile
@rmnbrd
rmnbrd / machine.js
Created September 14, 2020 15:05
Generated by XState Viz: https://xstate.js.org/viz
const fetchMachine = Machine({
id: 'call',
initial: 'idle',
context: {
direction: undefined,
path: '/history',
lastAllowedLocation: '/history',
mandatoryTagging: false,
communication: undefined
},
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d
RewriteRule ^ - [L]
RewriteRule ^ /index.html [L]
@rmnbrd
rmnbrd / sublime-settings
Created May 28, 2016 20:21
Current Sublime Settings
{
"auto_complete_commit_on_tab": true,
"auto_indent": true,
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"caret_extra_width": 2,
"color_scheme": "Packages/User/SublimeLinter/Material-Theme-Darker-OceanicNext (SL).tmTheme",
"draw_indent_guides": false,
"enable_tab_scrolling": false,
{
"private": true,
"engines": {
"node": ">=0.12.0"
},
"devDependencies": {
"browser-sync": "^2.8.0",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^2.3.1",
"gulp-load-plugins": "^0.10.0",
var gulp = require('gulp');
var gulpLoadPlugins = require('gulp-load-plugins');
var browserSync = require('browser-sync').create();
var config = {
reload: {
src: ['./*/*.html', './*/*.js']
},
sass: {
src: "./styles/*.scss",