hello.js

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

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


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


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, 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


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


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


Monday, 24 April, 2017 UTC

typescript: Bubble sort using TypeScript

typescript: Bubble sort using TypeScript

Bubble sort is considered the simplest sorting algorithm to implement. In this lesson we cover the bubble sort algorithm, how it gets its name, and how to implement it using TypeScript / JavaScript. ... more


Friday, 21 April, 2017 UTC

typescript: Algorithm to determine if a string is a palindrome

typescript: Algorithm to determine if a string is a palindrome

A palindrome is a string that reads the same forward and backward, for example, radar, toot, and madam. In this lesson we discuss how to approach the palindrome problem using TypeScript / JavaScript. We also discuss a more complex algorithmic challenge ... more


Tuesday, 18 April, 2017 UTC

typescript: Deep Copy aka Clone objects using TypeScript

typescript: Deep Copy aka Clone objects using TypeScript

You can create copies of JavaScript objects by coping around properties e.g. `const x = {foo: 123}; const y = { foo: x.foo }`. However doing this manually for deep objects can be time consuming. In this lesson we cover one way of deep copying simple objects ... more


Tuesday, 18 April, 2017 UTC

typescript: Create high quality npm packages using TypeScript

typescript: Create high quality npm packages using TypeScript

The TypeScript compiler makes it super easy to create high quality NodeJS packages that can be used with compile time safety in other TypeScript packages. Using JavaScript packages written in TypeScript can save you a lot of time digging around docs and ... more


Friday, 14 April, 2017 UTC

js: Access Webpack Dev Server from Mobile Safari on an iPhone

js: Access Webpack Dev Server from Mobile Safari on an iPhone

Testing your sites on mobile devices is a critical part of the development process. Webpack dev server enables you to visit the server from any device using the `host` option. This lesson walks you through accessing webpack dev server using an iPhone. ... more


Thursday, 13 April, 2017 UTC

[Course] vue: Build a Server Rendered Vue.js App with Nuxt and Vuex

[Course] vue: Build a Server Rendered Vue.js App with Nuxt and Vuex

Vue.js has a first-class ecosystem to help construct Vue.js apps. This includes Nuxt.js which enables server-rendered applications and a page-based approach. This course will start with an empty app and walk through how to use Vue.js for building the ... more


Tuesday, 4 April, 2017 UTC

js: Understand Function Composition By Building Compose and ComposeAll Utility Functions

js: Understand Function Composition By Building Compose and ComposeAll Utility Functions

Function composition allows us to build up powerful functions from smaller, more focused functions. In this lesson we'll demystify how function composition works by building our own `compose` and `composeAll` functions. ... more


Thursday, 30 March, 2017 UTC

node: Setup Nodemon to automatically restart the server

node: Setup Nodemon to automatically restart the server

Soon or later, we get tired of having to manually restart our Node.js application. We will install and configure [Nodemon](https://github.com/remy/nodemon) to help us with that headache. Remember to install it as a development dependency with `yarn add ... more


Thursday, 30 March, 2017 UTC

js: Add a Google OAuth 2.0 Login Button to Your Site

js: Add a Google OAuth 2.0 Login Button to Your Site

Many sites rely on Google's login functionality for creating accounts. This lesson walks you through using the Google OAuth 2.0 api to login to Google and access the basic profile information for your own site. ... more


Wednesday, 29 March, 2017 UTC

[Course] js: Publish JavaScript packages on npm

[Course] js: Publish JavaScript packages on npm

npm is like a giant library of code building blocks. There are tons of these “blocks”, aka “packages” that we can compose together to build cool things. We can use packages by other developers, but we can also write and publish our own. In this course ... more


Friday, 24 March, 2017 UTC

typescript: Getting started with Jest using TypeScript

typescript: Getting started with Jest using TypeScript

Jest is a painless JavaScript unit testing framework from Facebook. It is designed to be super easy to setup and is packed full of powerful features. In this lesson we see how easy it is to add to your TypeScript project. This will be followed by a quick ... more


Thursday, 23 March, 2017 UTC

node: Persist in-memory data to a file when developing Node.js LoopBack API's

node: Persist in-memory data to a file when developing Node.js LoopBack API's

In this lesson you will learn how to persist the data from the memory connector. As the name suggests, the memory connector stores the data in memory. This means that if you restart the server, the data is gone. In development mode it can be useful to ... more


Wednesday, 22 March, 2017 UTC

node: Create a model to persist data in a Node.js LoopBack API

node: Create a model to persist data in a Node.js LoopBack API

In this lesson you will learn what a LoopBack model is, you will create a Product model using the LoopbBack CLI. The product model will be based off the built-in PersistedModel which gives it basic functionality like Create, Ready, Update, Delete and ... more


Tuesday, 21 March, 2017 UTC

[Course] angular2: Use Objective C, Swift and Java api’s in NativeScript for Angular iOS and Android apps

[Course] angular2: Use Objective C, Swift and Java api’s in NativeScript for Angular iOS and Android apps

One of the really exciting aspects of NativeScript is the ability to write Objective C, Swift and Java apis directly from JavaScript and of course TypeScript. In this course, we will learn how to code directly against these powerful native api’s with ... more


Tuesday, 21 March, 2017 UTC

typescript: Serialize objects to JSON

typescript: Serialize objects to JSON

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. Doing JSON serialization and deserialization in JavaScript and TypeScript is super easy ... more