hello.js

var please = require('share');
console.log('thank you');

Tuesday, 6 June, 2017 UTC

otherjs: Create a VSCode Snippet with Tab Stops and Named Variables

otherjs: Create a VSCode Snippet with Tab Stops and Named Variables

In this lesson we'll create a VSCode snippet for quickly reusing code. We'll show how to setup tab stops orders to move the cursor in a specific order when tab is pressed. Then we'll show how to create named variables with default values. ... more


Friday, 2 June, 2017 UTC

react: Disable and Ignore Yellow Box Warnings in React Native

react: Disable and Ignore Yellow Box Warnings in React Native

Yellow box warnings in react native can be intrusive. We will use `console.disableYellowBox` to disable the yellow box entirely. We'll also use `console.ignoredYellowBox` to selectively disabled warnings. ... more


Thursday, 1 June, 2017 UTC

[Course] js: Ember 2 Fundamentals

[Course] js: Ember 2 Fundamentals

Ember is a javascript framework that provides a rich set of tools for building modern web applications. Unlike many frameworks, Ember comes with opinions and a way of doing things so you aren't left with a ton of decisions to make about problems that ... more


Thursday, 1 June, 2017 UTC

otherjs: Use licensee.js to Check Dependencies for Accepted Library Licenses

otherjs: Use licensee.js to Check Dependencies for Accepted Library Licenses

In this lesson we'll use licensee.js to see how to configure accepted license types for our project. We'll also explore how to use whitelist overrides to allow specific libraries that may not match our license configuration. We'll also setup an npm script ... more


Thursday, 1 June, 2017 UTC

otherjs: Create Circles and Rects in the SVG DOM

otherjs: Create Circles and Rects in the SVG DOM

In this lesson we go over how to draw basic shapes in SVG using the coordinate system: circles, ellipses, squares and rectangles, and rounded rectangles. ... more


Thursday, 1 June, 2017 UTC

otherjs: Create Polygons and Polylines in the SVG DOM

otherjs: Create Polygons and Polylines in the SVG DOM

In this lesson, we go over how to draw any polygon element, as well as how to convert it to a polyline ... more


Friday, 26 May, 2017 UTC

[Course] css: Maintainable CSS using TypeStyle

[Course] css: Maintainable CSS using TypeStyle

Having your CSS co-located with your UI code provides the same sort of advantages in refactor ability and maintainability that React provides for the DOM using JSX. TypeStyle allows you to do that with the additional safety of TypeScript. In this course ... more


Thursday, 25 May, 2017 UTC

vue: Load components when needed with Vue async components

vue: Load components when needed with Vue async components

In large applications, dividing the application into smaller chunks is often times necessary. In this lesson, we will look at how vue loads [async components](https://vuejs.org/v2/guide/components.html#Async-Components) into your application. ... more


Wednesday, 24 May, 2017 UTC

react: Cleanly Map Over A Stateless Functional Component with a Higher Order Component

react: Cleanly Map Over A Stateless Functional Component with a Higher Order Component

In this lesson we'll create a Higher Order Component (HOC) that takes care of the `key` property that React looks for when using `map` to create elements from a list. This HOC will allow us to wrap any component and it will take care of placing the `key` ... more


Tuesday, 23 May, 2017 UTC

react: React Playground Styled for Component Docs

react: React Playground Styled for Component Docs

[React Playground Styled](https://ncredinburgh.github.io/react-playground-buble/) is a responsive playground that can be configured with styled-components. It is built for documenting React components in the minimum space possible. You will normally wrap ... more


Tuesday, 23 May, 2017 UTC

js: Refactor Business Logic to Composable Functions with Lodash

js: Refactor Business Logic to Composable Functions with Lodash

Imagine if looking at your business logic read as simple as a story from a children's book. That's exactly what we'll cover by learning how to compose small pieces of business logic and also set them up for further composition in the future. We're showing ... more


Tuesday, 23 May, 2017 UTC

js: Make business logic read like a story with lodash flow

js: Make business logic read like a story with lodash flow

Imagine if looking at your business logic read as simple as a story from a children's book. That's exactly what we'll cover by learning how to compose small pieces of business logic and also set them up for further composition in the future. We're showing ... more


Monday, 22 May, 2017 UTC

typescript: Understand lookup types in TypeScript

typescript: Understand lookup types in TypeScript

Lookup types, introduced in TypeScript 2.1, allow us to dynamically create types based on the property keys of an object. We'll use the function spyOn from Jest to illustrate how lookup types can type-safe function parameters. ... more


Friday, 19 May, 2017 UTC

[Course] angular2: Building apps with Ionic 2

[Course] angular2: Building apps with Ionic 2

Building native mobile applications has traditionally been a completely foreign work flow than web development. Recently frameworks, such as Ionic and React Native, have been come out to create a similar web development workflow in a native environment. ... more


Thursday, 18 May, 2017 UTC

js: Use ASTExplorer.net

js: Use ASTExplorer.net

In this lesson we’ll look at the amazing open source tool [ASTExplorer.net](https://astexplorer.net/). We’ll learn how we can use it to learn about ASTs generated by different tools. We’ll also see how it can be used to help us write plugins for ESLint, ... more


Thursday, 18 May, 2017 UTC

js: Introduction to Abstract Syntax Trees

js: Introduction to Abstract Syntax Trees

In this lesson, we’ll learn about the key technology used by JavaScript engines and tools like ESLint and Babel to run, lint, and modify your source code. The JavaScript Abstract Syntax Tree (or AST for short) is a JSON representation of your code that ... more


Friday, 12 May, 2017 UTC

js: Use Test Driven Development

js: Use Test Driven Development

In this lesson, we'll write a brand new function called `arrayify` using the Test Driven Development workflow of red-green-refactor. Test Driven Development (aka TDD) is great because it helps you focus on one task at a time and when you're all finished, ... more


Friday, 12 May, 2017 UTC

otherjs: Deploy a GraphQL dev playground with graphql-up

otherjs: Deploy a GraphQL dev playground with graphql-up

In this lesson we'll use a simple GraphQL IDL schema to deploy and explore a fully functional GraphQL service in minutes with graphql-up. ... more


Thursday, 11 May, 2017 UTC

css: Design for Mobile First with Tachyons

css: Design for Mobile First with Tachyons

Tachyons provides extensions (-ns, -m, and -l) to many of its classes to help you design for responsive layouts. This lesson walks you through designing for mobile first then adding a design for desktop. ... more


Wednesday, 10 May, 2017 UTC

react: Bootstrap a Zero Configuration React App with Neutrino

react: Bootstrap a Zero Configuration React App with Neutrino

Setting up tooling for a basic React app is typically very hard to do and requires a lot of configuration. In this lesson, we will setup a new React project with Neutrino with zero configuration. Neutrino uses Webpack and Babel behind the scenes, so you ... more


Friday, 5 May, 2017 UTC

[Course] node: Create your own twitter bots

[Course] node: Create your own twitter bots

In this course we’ll learn how to create Twitter bots. We’ll first learn how to interface with the Twitter API using Twit.js, which allows us to post statuses, search tweets, and interact with followers. We’ll create several example bots that show the ... more


Thursday, 4 May, 2017 UTC

node: Configure Prepack with Webpack

node: Configure Prepack with Webpack

Great improvements and optimizations can be made to the output of bundled code. Prepack provides the ability to optimize code at build-time, producing run-time optimizations. In this lesson, we will look at configuring Prepack to use Webpack with the ... more


Wednesday, 3 May, 2017 UTC

[Course] js: Asynchronous JavaScript with async/await

[Course] js: Asynchronous JavaScript with async/await

In this course we will learn how to use the ES2017 async and await keywords to write asynchronous code that is more readable and easier to follow than equivalent code based on long promise chains or deeply nested callbacks. The await operator takes a ... more


Tuesday, 2 May, 2017 UTC

typescript: Quicksort algorithm using TypeScript

typescript: Quicksort algorithm using TypeScript

Quicksort (also called partition sort and pivot sort) is arguably the most used sorting algorithm. It is the one commonly implemented internally in language runtimes. In this lesson we cover the quick sort algorithm, why is it called *quick* and how to ... more


Tuesday, 2 May, 2017 UTC

js: Initialize a project using Glimmer.js

js: Initialize a project using Glimmer.js

[GlimmerJS](https://glimmerjs.com/) is a UI component library built by the Ember.js team. It is fast and lightweight and uses a combination of TypeScript and Handlebars to build the components. In this lesson we will use the Ember CLI to initialize a ... more


Friday, 28 April, 2017 UTC

typescript: Create random integers in a given range

typescript: Create random integers in a given range

Learn how to create random integers using JavaScript / TypeScript. ... more


Thursday, 27 April, 2017 UTC

js: Get items in an ImmutableJS List

js: Get items in an ImmutableJS List

There are lots of techniques for accessing data kept in your Lists. In this lesson, we will compare how data stored in collections can be accessed directly in both standard Arrays and ImmutableJS Lists. We will also look at how to find data inside an ... more


Wednesday, 26 April, 2017 UTC

typescript: Merge sort algorithm using TypeScript

typescript: Merge sort algorithm using TypeScript

MergeSort is a famous example of a divide and conquer algorithm. In this lesson we cover the merge sort algorithm, how it gets its name, and how to implement it using TypeScript / JavaScript. ... more


Wednesday, 26 April, 2017 UTC

js: Create an immutable List using Immutable.js

js: Create an immutable List using Immutable.js

In this lesson we'll look at some of the differences between standard JavaScript Arrays and Immutable Lists. We'll create Immutable.JS Lists from scratch, as well as by converting regular Arrays. We will also compare and contrast the `push` and `concat` ... more


Wednesday, 26 April, 2017 UTC

typescript: Insertion sort algorithm using TypeScript

typescript: Insertion sort algorithm using TypeScript

Insertion sort is a very intutive algorithm as humans use this pattern naturally when sorting cards in our hands. In this lesson we cover the insertion sort algorithm, how it gets its name, and how to implement it using TypeScript / JavaScript. ... more