Skip to content

Instantly share code, notes, and snippets.

Carbide Public carbide-public

Block or report user

Report or block carbide-public

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View cell0.js
uniqueValues('file', 'owner') // ['guillermo', 'GUI', 'kevin']
convertLiteralFieldToRelationship(['file', 'owner'], ['user', 'name'], 'files') // users => [{}]
View App.jsx
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 cell0.js
const arr = [];
const arrCopy = arr;
arr === arrCopy
arr.push(1)
arr === arrCopy
View cell0.js
console.log("Hello world!");
let b = 9443;
let c = b+5;
View cell0.js
var jqueryForm = function(val) {
return val || "";
}
var objError = {
"message":"The given data was invalid.",
"errors": {
"name": ["The name field is required."],
"number": ["The number field is required."]
}
You can’t perform that action at this time.