Skip to content

Instantly share code, notes, and snippets.

for(let i = 0; i < 3; i++) {
console.log(i)
}
@carbide-public
carbide-public / App.jsx
Created November 28, 2023 22:10
Chatterbase
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",

Smiley Face

@carbide-public
carbide-public / App.jsx
Last active September 14, 2023 23:43
Chatterbase
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",

Three.JS Cubes

TodoMVC React

@carbide-public
carbide-public / cell0.js
Created February 11, 2023 03:34
untitled
console.log(123)
@carbide-public
carbide-public / cell0.js
Last active January 31, 2023 07:21
untitled
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) {