Skip to content

Instantly share code, notes, and snippets.

View mitramejia's full-sized avatar

Mitra Mejia mitramejia

View GitHub Profile
@mitramejia
mitramejia / react-typescript.md
Created April 17, 2018 13:11 — forked from juhaelee/react-typescript.md
React + Typescript Cheatsheet

React + Typescript Cheatsheet

Setup

If you use atom... download & install the following packages:

What are Typescript type definition files? (*.d.ts)

@mitramejia
mitramejia / steps.md
Created March 29, 2018 18:16 — forked from travisvalentine/steps.md
Setup Facebook app to test authentication locally (aka, setting up App Domain)

Note: I had issues with setting up my Facebook app so authentication would work. I'd receive the error at the bottom, and it took me a while to figure out what was wrong

Here are the steps I took:

  • Go to http://developers.facebook.com/, create, and setup your app
  • When inside the dashboard, click "Settings"
  • Click "Add Platform"
  • Choose website (for authentication via the web app)
  • Add http://localhost:3000/ as "Site URL" (and "Mobile URL" if necessary)
  • Add localhost to "App Domains" above
@mitramejia
mitramejia / example.sass
Created March 8, 2018 16:18 — forked from brod-ie/example.sass
respond-to() SASS mixin for Bootstrap 3 grid system.
.profile-pic {
float: left;
width: 250px;
@include respond-to(xs) {
width: 100%;
}
@include respond-to(sm) {
width: 125px;
}