Skip to content

Instantly share code, notes, and snippets.

View melicarls's full-sized avatar

Melissa (Carlson) Hearst melicarls

View GitHub Profile
@melicarls
melicarls / StringMethods.md
Last active July 15, 2016 17:04
Collection of String Methods researched by WDI-30

String Methods - Thursday, July 14th

.length

Syntax

str.length;

Return Value

Returns the number of characters in the string

@melicarls
melicarls / About.md
Last active August 11, 2021 07:01
React.js Lightning Talk

React.js

What is React.js?

React is a "declarative, efficient, and flexible Javascript library for building user interfaces." It was created by Facebook, first deployed in 2011, and was open-sourced in 2013. It is one of many answers to everyone's favorite question: "how should we structure Javascript applications on the web?"

Goal:

Minimize the amount of mutation that developers have to deal with by totally redoing the view every time that the data on a page changes. The developer writes the code for the page's first load but never has to account for modifications since every change to the page is treated like that initial render!

@melicarls
melicarls / 0_reuse_code.js
Created May 19, 2016 20:09
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@melicarls
melicarls / About.md
Last active May 11, 2016 16:59
OmniAuth Lightning Talk

OmniAuth

What problem does the Gem solve?

This Gem solves the issue of user authentication by allowing users to register for and sign into an application using exisiting social media profiles. There is an enormous list of supported 'strategies' (types of 3rd party profile) [here] (https://github.com/intridea/omniauth/wiki/List-of-Strategies).

How do you use it in a Rails app?