Skip to content

Instantly share code, notes, and snippets.

@Fran-Rg
Fran-Rg / main.js
Created August 21, 2018 19:14
OnsenUi Lifting state up not cascading
import React from 'react';
import ReactDOM from 'react-dom';
import ons from 'onsenui';
import {
Navigator,
Page,
BackButton,
Button,
@Fran-Rg
Fran-Rg / sync.sh
Last active August 17, 2016 17:40
EMF Badge 2016 - Sync local to Badge and unmount
#!/bin/bash
# HOW TO USE: make this script next to a src directory that contains all files on the Badge (~190.5 kB)
# /Badge
# -sync.sh
# -src/
# ----<ALL Badge files: wifi.json, etc>
# Make your changes locally and the script will copy them to the badge and unplug safely the badge. Restart and test your changes
#!/bin/bash
cd "$(dirname "$0")"