Skip to content

Instantly share code, notes, and snippets.

View francorisso's full-sized avatar

Franco Risso francorisso

View GitHub Profile

This is an example of using a Collection view with Backbone.

@francorisso
francorisso / ConvertJsxToSass.php
Last active December 3, 2015 18:17
Small script to convert jsx styles into sass.
<?php
define ('DEBUG', false);
define ('DEST_PATH', 'sass/react-components/');
define ('SRC', 'src');
function getStylesheetsDirectories($dir)
{
$avoidFilenames = [
'..' => 1,
@francorisso
francorisso / vscode
Created September 18, 2017 15:48
vscode
asdasdasd
const jwt = require('jsonwebtoken');
const SECRET_KEY = process.env.JWT_SECRET;
const PERMISSION = {
principalId: 'user',
policyDocument: {
Version: '2012-10-17',
Statement: [
{