View App.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import firebase from 'firebase' | |
import {liveData, actions} from './storage.js' | |
import GroupsList from './GroupsList.jsx' | |
try { firebase.app() } catch (e){ | |
firebase.initializeApp({ | |
apiKey: "AIzaSyBm9oAcCktnQlaxNS1GvyraDGV7QtA6d78", | |
authDomain: "bastard-183be.firebaseapp.com", | |
databaseURL: "https://bastard-183be.firebaseio.com", |
View App.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import firebase from 'firebase' | |
import {liveData, actions} from './storage.js' | |
import GroupsList from './GroupsList.jsx' | |
try { firebase.app() } catch (e){ | |
firebase.initializeApp({ | |
apiKey: "AIzaSyBm9oAcCktnQlaxNS1GvyraDGV7QtA6d78", | |
authDomain: "bastard-183be.firebaseapp.com", | |
databaseURL: "https://bastard-183be.firebaseio.com", |
View Three.JS Cubes.carbide.md
Three.JS Cubes
View Virtualized++.carbide.md
Virtualized++
This Gist was automatically created by Carbide, a free online programming environment.
You can view a live, interactive version of this Gist here.(http://alpha.trycarbide.com/anonymous/84c26d3fdfe06fddf24108ba528796d6).
View TodoMVC React.carbide.md
TodoMVC React
View cell0.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log(123) |
View cell0.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let word = "cat" | |
let endpoint = 'https://en.wiktionary.org/api/rest_v1/page/definition' | |
let filter = new RegExp('< *\\/? *[a-z]+ *( [a-z]+="[^<>"]+" *)* *\\/? *>', 'ig') | |
let url = `${endpoint}/${word}` | |
let resObj = await fetch(url, {orgin:'test'}) | |
let res = await resObj.json() | |
function cleanString(str) { |
View Smiley Face.carbide.md
Smiley Face
This Gist was automatically created by Carbide, a free online programming environment.
You can view a live, interactive version of this Gist here.(http://alpha.trycarbide.com/anonymous/d688bed45ec355c0e15fe4180dbb22a5).
View Smiley Face.carbide.md
Smiley Face
This Gist was automatically created by Carbide, a free online programming environment.
You can view a live, interactive version of this Gist here.(http://alpha.trycarbide.com/anonymous/2b548062b10370516bca2bb4b3907a00).
NewerOlder