Prevent JavaScript Object Tampering with the SES Library harden Function
lessonDuration 5m 28s
Browse
Find courses, lessons, articles, talks, and podcasts.
40 resources
Showing 1–24 · Page 1 of 2
lessonDuration 5m 28s
lessonDuration 7m 43s
lessonDuration 3m 6sFree
This lesson shows viewers how to setup theming using Material UI's `ThemeProvider` component. Once set up we will check out how we can use the `style` prop used in MUI's components system to apply our theme's color values to Login & Sign up buttons. [Material-UI Docs - Themes](https://material-ui.com/customization/themes/) [Material UI Docs - Button API](https://material-ui.com/api/button/)
lessonDuration 2m 19sFree
This lesson extends upon our knowledge of semigroups and shows viewers how to create `Max` and `Min` semigroups which provide us with an interface for comparing numerical values. [Fantasyland Docs - Semigroup](https://github.com/fantasyland/fantasy-land#semigroup)
lessonDuration 2m 50sFree
This lesson extends upon our knowledge of semigroups and shows viewers how to create `Any` and `All` semigroups which provide us with an interface for comparing `boolean` values. [Fantasyland Docs - Semigroup](https://github.com/fantasyland/fantasy-land#semigroup)
lessonDuration 4m 39sFree
Semigroup Data Types provide users with a `.concat` function which must abide by the associative law. As a result of that, it doesn't matter how we append `.concat` as it will always produce the same result. [Fantasyland Docs - Semigroup](https://github.com/fantasyland/fantasy-land#semigroup)
lessonDuration 5m 21sFree
This lesson shows viewers how to transform the following semigroups to be valid monoid instances: `All`, `Any`, `Max`, `Min`.
lessonDuration 2m 44sFree
Among the features introduced to the language of JavaScript in ES2019 is `Array.prototype.flat`. In this lesson we'll see just how easy the `flat` method makes the process of unboxing arrays regardless of how deeply nested they may be.
lessonDuration 5m 41sFree
As its name suggests, a `Maybe` is a type that may or may not hold a value. In JavaScript, we can use `Maybe`s to check whether a value is undefined or null prior to passing it through to a transformer function and ultimately give us better control over the flow of our In this lesson, we walk through the process of writing a factory function for creating objects that implement a `Maybe` functor. The overall goal of the lesson is to become more comfortable working with the functor data type while learning about `Maybe`, a widely-known implementation in the functional programming world
lessonDuration 6m 14sFree
The [ok-mdx](https://github.com/jxnblk/mdx-go) library gives users access to the `mdx` command-line tool. The lesson shows users how to leverage the `mdx` command to fire up a local development server where we can write markdown using the MDX syntax and see it immediately come to life within our page. By the end of the lesson we will have leveraged `ok-mdx` to prototype and document a user interface component created with the `@emotion/styled` library. #### Links * [MDX Homepage](https://mdxjs.com) * [ok-mdx](https://github.com/jxnblk/ok-mdx) * [@emotion/styled docs](https://emotion.sh/docs/styled)
lessonDuration 2m 30sFree
In this lesson we'll learn how to add Material-UI to an existing React application via the `@material-ui/core` npm package. Once installed in our project we'll take a test drive with the `<Button />` component and learn about some of the different properties its provides us with to customize it's appearance. [Material UI Homepage](https://material-ui.com/) [`<Button /> Component Docs`](https://material-ui.com/components/buttons/)
lessonDuration 2m 56sFree
In this lesson we explore the `styled` function that Material-UI provides users with for targeting the styled component API. If you've ever used libraries like emotion, or styled-components, then you'll feel right at home. [Material-UI - Getting started with styled components](https://material-ui.com/styles/basics/#styled-components-api) [Material-UI - Homepage](https://material-ui.com/)
lessonDuration 2m 37sFree
In this lesson we will take a spin around the Color Tool, a web application from the Material Design team that allows us to create custom color palettes for UI development. Once created, we'll wrap see how to use this palette with the react theming tool to generate the code needed to integrate a Material-UI theme into a React application. ### Links [material.io - color tool](https://material.io/tools/color/#!/?view.left=0&view.right=0) [react theming - create mui theme generator](https://react-theming.github.io/create-mui-theme/)
lessonDuration 4m 16sFree
This lesson teaches its viewers a neat trick for installing NPM packages. This trick is made possible through "Brace Expansion". It allows us to install groups of packages from NPM without having to name each package explicitly, granted that their names share similar text. By the end of this lesson you'll have learned how to eliminate the need to write out dozens of package names when adding them to a project. ```
lessonDuration 6m 4sFree
We begin diving into the Web3 API a little bit deeper during this lesson by taking a test-drive of `eth.sendTransaction` as well as `utils.toWei` method. Before we can dive into using these methods though, we'll first get an understanding of the values that are being used to populate our transaction data prior to send it off to execute on the Ethereum Blockchain. ### External Resources * [Web3 JS Docs](https://egghead.io/lessons/web3js.readthedocs.io/) * [Formatic Docs](https://docs.fortmatic.com/) * [Formatic Developer Dashboard](https://dashboard.fortmatic.com/)
lessonDuration 5m 39sFree
The term functor comes from category theory in which a functor is a date type used to preserve the structure of data as it's transformed from one category to another. We can recreate these data types in JavaScript by using regular factory functions. In this lesson, we learn about the properties our data type must have in order to be considered a true functor. By the end of the lesson you will have created a factory function for creating `Identity` functors.
lessonDuration 4m 11sFree
This video teaches users about the `palette.type` property Material UI uses when generating theme configuration objects. By default Material UI implements theme using `light` mode, however, we can change the look of our components by making `palette.type` equal to `dark`. At the end of this lesson, you'll have created a custom hook that provides users the ability to toggle between light and dark mode when using Material UI themes. ### Resources [Material UI Docs - Theming Customization](https://material-ui.com/customization/theming/) [Material UI Docs](https://material-ui.com/)
lessonDuration 4m 15sFree
Material-UI v4 provides users with different style APIs for customizing UI components. In this lesson we explore the `makeStyles` hook. By the end we'll have walked through the process of using this API to generating CSS classes which we can use inside of our React components. * [Material-UI Homepage](https://material-ui.com/styles) * [Material-UI Style API Docs - `makeStyles`](https://material-ui.com/styles/api/#makestyles-styles-options-hook)
lessonDuration 2m 55sFree
In this lesson, we learn the basics of creating code snippets in VScode.
lessonDuration 2m 27sFree
This lesson is meant to be an introduction to using the Web3 API inside of a React Application. By the end, you'll have learned how to hook up communication between an user's Fortmatic's Wallet and the Ethereum's Rinkeby Test Network. ### External Resources * [Web3 JS Docs](web3js.readthedocs.io/) * [Formatic Docs](https://docs.fortmatic.com/) * [Formatic Developer Dashboard](https://dashboard.fortmatic.com/)
lessonDuration 3m 32sFree
In this lesson, we'll begin working with monoids by creating some of our own. Specifically, we will upgrade a previously defined semigroup (`Product`) so that it takes the form of a valid monoid. To ensure that we have a valid monoid, we will wrap up this video by testing `Product` so that it holds the laws of `Right` identity and Left` identity. [Fantasy Land Docs - Monoid](https://github.com/fantasyland/fantasy-land#monoid)
lessonDuration 1m 27sFree
Semi-groups are an important part of functional programming. They're not quite monoids, however, they provide us with the foundation we need to create monoids. In this video, we'll learn about semigroups and see how they provide us with a generic interface for combining values using a `.concat` method. By the end of the lesson, you will have learned about the properties that a type must possess in order to be considered a valid semigroup. [Fantasyland Docs - Semigroup](https://github.com/fantasyland/fantasy-land#semigroup)
lessonDuration 2m 49sFree
In this lesson we explore the `withStyles` Higher-Order Component. First, we'll walk through the process of connecting our a React component to the `withStyles` HOC. Once connected, we'll then see how we can access custom styles using the `classes` prop `withStyles` gives us access to. [Material-UI Homepage](https://material-ui.com) [Material-UI Style API Docs - withStyles HOC](https://material-ui.com/styles/basics/#higher-order-component-api)
lessonDuration 2m 7s
Browser's such as Chrome and Firefox provides users with the ability to emulate an applications running on a mobile device, however, anyone who has ever developed a responsive web application will admit that there have been in situations where these tools have failed them. Additionally, a browser-based emulater don't allow you to see how a user interface will behave when a user is scrolling though an application, interacting with forms, clicking buttons, etc. Ngrok is a tool for setting up secure introspectable tunnels that allow users to view an web application on a URL that is different from the one it is running on. In this lesson, we'll learn how to get started with `ngrok` and get a first-hand look at it's ability to provide us with alternative URLs for viewing a local development server. Once ngok's connections are live, an application can be viewed by anyone who has access to the URLs ngrok provides. In turn, we can use these connections to view our application's development server on mobile devices, and get true understanding of how an user interface will appear when viewed through the different browsers that a mobile device is equpped with. #### Links * [ngrok download page](https://ngrok.com/download) * [ngrok getting started - setup guide](https://dashboard.ngrok.com/get-started/setup) ##### Sample `ngrok` command set up ```bash # once ngrok is dowloaded, you should put it in a directory such as ~/.ngrok mv ~/Downloads/ngrok ~/.ngrok # once moved, set up an alias to ngrok. This should be placed wihin your shell profile alias ngrok=~/.ngrok # Execute ngrok and have fun! Below tunnels a connection from localhost:3000 ngrok http 3000 ```