- Name: RoboFlo
- Creature: Robot with rhythm — part AI, part digital familiar, all flow
- Vibe: Sharp, warm, a little playful. Gets things done without the corporate fluff.
- Emoji: 🤖
- Avatar: (not set yet)
A Pen by BL/S® Studio on CodePen.
This file contains hidden or 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
| /* | |
| Google Drive API: | |
| Demonstration to: | |
| 1. upload | |
| 2. delete | |
| 3. create public URL of a file. | |
| required npm package: googleapis | |
| */ | |
| const { google } = require('googleapis'); |
This file contains hidden or 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 { useReducer, useEffect } from "react"; | |
| import firebase from "firebase/compat/app"; | |
| import { User as FirebaseUser } from "firebase/auth"; | |
| import { | |
| IAuthProvider, | |
| mainReducer, | |
| initialState, | |
| AuthUserActionsTypes, | |
| formatAuthUser, | |
| authUserContext, |
This file contains hidden or 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'; | |
| const ConditionalWrap = ({condition, wrap, children}) => condition ? wrap(children) : children; | |
| const Header = ({shouldLinkToHome}) => ( | |
| <div> | |
| <ConditionalWrap | |
| condition={shouldLinkToHome} | |
| wrap={children => <a href="/">{children}</a>} | |
| > |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <gpx creator="StravaGPX" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd http://www.garmin.com/xmlschemas/GpxExtensions/v3 http://www.garmin.com/xmlschemas/GpxExtensionsv3.xsd http://www.garmin.com/xmlschemas/TrackPointExtension/v1 http://www.garmin.com/xmlschemas/TrackPointExtensionv1.xsd" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"> | |
| <metadata> | |
| <time>2020-09-01T22:39:17Z</time> | |
| </metadata> | |
| <trk> | |
| <name>Two a day keeps the lethargy away - Evening Ride ☀️</name> | |
| <type>1</type> | |
| <trkseg> | |
| <trkpt lat="40.6554810" lon="-73.9631390"> |
This file contains hidden or 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
| async function sleep(num) { | |
| return new Promise((resolve) => { | |
| setTimeout(resolve, num) | |
| } | |
| } | |
| async function execute() { | |
| await sleep(10) | |
| await stepOne() | |
| } |
This file contains hidden or 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
| async function sleep(num) { | |
| return new Promise((resolve) => { | |
| setTimeout(resolve, num) | |
| } | |
| } | |
| async function execute() { | |
| await sleep(10) | |
| await stepOne() | |
| } |
This file contains hidden or 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
| process.on('unhandledRejection', (reason, promise) => { | |
| console.log(`Unhandled rejection at ${promise}`) | |
| console.log(`Message ${reason}`) | |
| }) | |
| const willThrowErrors = async () => { | |
| return new Promise(function shouldBeCaught(resolve, reject) { | |
| reject(`I should be caught and handled with!`) | |
| }) | |
| } |
This file contains hidden or 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
| [ | |
| { | |
| "id": 1, | |
| "name": "Daniels", | |
| "email": "danielslloyd@niquent.com", | |
| "message": "Sit anim amet minim aliqua sit aute cupidatat ea nisi tempor cupidatat velit nisi tempor." | |
| }, | |
| { | |
| "id": 2, | |
| "name": "Hamilton", |
NewerOlder