Skip to content

Instantly share code, notes, and snippets.

@benedictjohannes
benedictjohannes / IonicInput.js
Created May 23, 2020 02:15
An opinionated implementation of Ionic input handling for @ionic/react with Formik
import React from 'react'
import { IonInput, IonItem, IonLabel } from '@ionic/react'
//SCSS
// .validationMessage {
// display: none;
// &.error {
// display: block;
// font-size: 0.8rem;
// color: #ff3333;
// }
@victorbruce
victorbruce / Firebase.md
Last active March 12, 2024 12:07
My journey with Firebase so far. Cheatsheet to serve as a quick reference when developing firebase applications

Firebase

Set up firebase and Deploy

  • Head over to firebase. Sign in and create a project.

  • Copy your project settings under Firebase SDK snippet into your local project (ie your project's api key, auth domain, databaseURL, etc)

  • Create a file (firebase.js or config.js Any name that suits you is fine)

@codediodeio
codediodeio / config.js
Last active May 21, 2024 08:55
Snippets from the Firestore Data Modeling Course
import * as firebase from 'firebase/app';
import 'firebase/firestore';
var firebaseConfig = {
// your firebase credentials
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
require('dotenv').config()
const http = require('http')
const express = require('express')
const session = require('express-session')
const FileStore = require('session-file-store')(session)
const bodyParser = require('body-parser')
const morgan = require('morgan')
const cors = require('cors')
const passport = require('passport')

JavaScript, the weird parts

link to notes https://git.io/vgpKc

about Sher Minn

  • front-end web engineer
  • funemployed, but joining Viki.com in a week
  • recently spent 3 months in NYC at the Recurse Center
    • retreat for programmers
  • where people go to be better at what they do