hello.js

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

Friday, 22 September, 2017 UTC

[Course] vue: Vue.js State Management with Vuex and TypeScript

[Course] vue: Vue.js State Management with Vuex and TypeScript

In [Use TypeScript to Develop Vue.js Web Applications](https://egghead.io/courses/use-typescript-to-develop-vue-js-web-applications) we’ve seen how TypeScript Vue apps development by creating class based components and using decorators. This course will ... more


Wednesday, 20 September, 2017 UTC

react: Process Images in React with react-imgpro

react: Process Images in React with react-imgpro

In this lesson, we will cover a popular image processing component in the react eco-system for image processing. The Library is react-imgpro. **Installation:** > npm install --save react-imgpro **Include it as a module :** > import ProcessImage ... more


Tuesday, 19 September, 2017 UTC

js: Use Native JavaScript Array Methods instead of Dependency Library

js: Use Native JavaScript Array Methods instead of Dependency Library

We are so tied to libraries that we use things like underscore or JQuery whenever we want to do any simple operation, we'll see how to get rid of this practice by knowing a little better JavaScript's native array methods and, along the way, remove those ... more


Monday, 18 September, 2017 UTC

node: Serve Static Files with Express

node: Serve Static Files with Express

In this lesson we will find out how to serve static assets (images, css, stylesheets, etc.) with Express. We will go over writing initial boilerplate for a simple Express app, and using Express's built-in middleware to serve these assets through a web ... more


Monday, 18 September, 2017 UTC

node: Serve Static Files with Express

node: Serve Static Files with Express

In this lesson we will find out how to serve static assets (images, css, stylesheets, etc.) with Express. We will go over writing initial boilerplate for a simple Express app, and using Express's built-in middleware to serve these assets through a web ... more


Thursday, 14 September, 2017 UTC

js: Iterate Over Items with JavaScript's for-of Loop

js: Iterate Over Items with JavaScript's for-of Loop

In this lesson we will understand the For Of loop in Javascript which was introduced in ES6. The for-of loop lets you iterate of an itterable object (array, string, set, or map) and returns each objects value in a specified variable. This excludes plain ... more


Thursday, 14 September, 2017 UTC

react: Render Markdown using React with React-Remarkable

react: Render Markdown using React with React-Remarkable

We will use the React-Remarkable library to render markdown onto our React DOM. This library uses the Remarkable library to render markdown. **Installation Guide** npm install --save react-remarkable **Importing Guide** import Markdown from 'react-remarkable' ... more


Monday, 11 September, 2017 UTC

css: Build a Carousel Control using Bootstrap

css: Build a Carousel Control using Bootstrap

Bootstrap makes building a carousel control a breeze. For Bootstrap carousel to work, we should include Jquery and Bootstrap's javascript module. Carousel has 3 parts: 1. Slider 2. Slider Controls 3. Indicators **To setup Bootstrap:** http://getbootstrap.com/docs/3.3/getting-started/#download ... more


Saturday, 9 September, 2017 UTC

typescript: Type check JavaScript files using JSDoc and Typescript 2.5

typescript: Type check JavaScript files using JSDoc and Typescript 2.5

Typescript 2.5 adds JSDoc type assertion support for javascript file via ts-check service. ... more


Thursday, 7 September, 2017 UTC

typescript: Type assertion in Javascript using Typescript 2.5

typescript: Type assertion in Javascript using Typescript 2.5

Typescript 2.5 adds JSDoc type assertion support for javascript file via ts-check service. ... more


Thursday, 7 September, 2017 UTC

typescript: Avoid Catching Errors with TypeScript 2.5 Optional Catch Clauses

typescript: Avoid Catching Errors with TypeScript 2.5 Optional Catch Clauses

Typescript 2.5 has brought a couple of interesting changes to the table. let's take a look at these new features and how to take advantage of these features. Optional catch clauses: TypeScript 2.5 brings a new ECMAScript-bound feature for making catch ... more


Friday, 1 September, 2017 UTC

d3: Use D3 with any Framework

d3: Use D3 with any Framework

In this lesson you will learn how to use a D3 line graph with any framework. The video shows the examples of Angular, React and Cycle.js, but you can transfer the knowledge to other frameworks easily. ... more


Friday, 1 September, 2017 UTC

node: Running your server forever using forever in Node.js

node: Running your server forever using forever in Node.js

Previously to tackle manual restarts due to server crashes , process management tools were used. Forever is one such module that is runs on the node ecosystem. So, we need not move away from the rich ecosystem of Node.js. Use ``` npm install --global ... more


Thursday, 31 August, 2017 UTC

node: Running your server forever using forever in Node.js

node: Running your server forever using forever in Node.js

Previously to tackle manual restarts due to server crashes , process management tools were used. Forever is one such module that is runs on the node ecosystem. So, we need not move away from the rich ecosystem of Node.js. Use ``` npm install --global ... more


Wednesday, 30 August, 2017 UTC

[Course] vue: Use TypeScript to Develop Vue.js Web Applications

[Course] vue: Use TypeScript to Develop Vue.js Web Applications

TypeScript is a powerful JavaScript superset which brings you first-class static type-checking along with latest ECMA Script features. Vue is one of the most modern libraries for managing the view layer. Angular has fully adopted TypeScript as its language, ... more


Wednesday, 30 August, 2017 UTC

js: Array Includes method in ES2016 - ES7

js: Array Includes method in ES2016 - ES7

Introduction to the new includes method included in the ES2016 specification for the Array data structure. Review of the previous methods followed, also some complicated examples to get out heads around the new functionalities provided using the includes ... more


Wednesday, 30 August, 2017 UTC

js: Array Includes method in ES2016 - ES7

js: Array Includes method in ES2016 - ES7

Introduction to the new includes method included in the ES2016 specification for the Array data structure. Review of the previous methods followed, also some complicated examples to get out heads around the new functionalities provided using the includes ... more


Tuesday, 29 August, 2017 UTC

node: Create a Hello bot using Microsoft Botbuilder SDK in Node.js

node: Create a Hello bot using Microsoft Botbuilder SDK in Node.js

Understanding the basics of botbuilder sdk by microsoft, and exploring the basic bot setup to run and respond to messages on any command line client. The botframework provides two connector classes ConsoleConnector, ChatConnector. 1. To setup connection ... more


Tuesday, 29 August, 2017 UTC

node: Run JavaScript in the Terminal with the Node REPL

node: Run JavaScript in the Terminal with the Node REPL

With Node installed, you can begin running JavaScript directly in the terminal. The Node REPL allows you to execute any JavaScript expression to check the output. You can even install packages from npm and load you local JavaScript files to test how libraries ... more


Sunday, 27 August, 2017 UTC

js: Exponent operator in ES2016 - ES7

js: Exponent operator in ES2016 - ES7

A brief introduction and review of the exponent operator in ES2016 and review previous methods being followed. We will also look at some examples that demonstrate the behaviour of the exponent operator. ... more


Friday, 11 August, 2017 UTC

elm: Create records in Elm

elm: Create records in Elm

Records in Elm are similar to objects in JavaScript, and are useful to represent domain entities and other program data. ... more


Thursday, 10 August, 2017 UTC

react: Error Handling using Error Boundaries in React 16

react: Error Handling using Error Boundaries in React 16

A JavaScript error in the UI shouldn’t break the whole application. To solve this problem for React 16 introduced a new concept of an “error boundary”. Such error boundaries are React components that catch JavaScript errors anywhere in their child component ... more


Tuesday, 1 August, 2017 UTC

react: Style a React component with styled-components

react: Style a React component with styled-components

In this lesson, we remove the mapping between a React component and the styles applied to it via classnames. We write our styles directly within the component, in a real CSS syntax, with the full power of JavaScript. ... more


Tuesday, 1 August, 2017 UTC

js: Use Traverse & the Maybe Monad to Safely Process Lists of Data with Sanctuary

js: Use Traverse & the Maybe Monad to Safely Process Lists of Data with Sanctuary

Sanctuary.js is a functional programming library for JavaScript. It's similar to Ramda, but more strict and includes extra features, like the error handling monads Maybe & Either. It's also similar to Folktale, but primarily takes influence from Haskell ... more


Friday, 21 July, 2017 UTC

[Course] typescript: Build Algorithms using Typescript

[Course] typescript: Build Algorithms using Typescript

Algorithms are the basic construction of the computer programs that you are writing every day. They take language syntax and the machine uses that information to carry out our commands. While "everything is an algorithm!" is basically a true ... more


Friday, 21 July, 2017 UTC

node: Run Local DevDependencies from the Command Line with npx

node: Run Local DevDependencies from the Command Line with npx

In the past, you've needed to either write a package.json script or use the `node_modules/.bin` directory to access binaries installed in your node_modules. npx enables you to access the binaries much more easily and try out options before you settle ... more


Tuesday, 18 July, 2017 UTC

js: Create an Observable-Based Fetch Wrapper Using Ramda & Most

js: Create an Observable-Based Fetch Wrapper Using Ramda & Most

Unlike RxJS, Most does not include an observable-based AJAX helper utility. However, it can be very convenient to have one, because it allows you to use streams to do things like declaratively handling errors & setting up cancellation. In this lesson, ... more


Tuesday, 11 July, 2017 UTC

node: Setup an Nginx Proxy for a Node.js App

node: Setup an Nginx Proxy for a Node.js App

Learn how to setup an Nginx proxy server that sits in front of a Node.js app. You can use a proxy to control the flow of frontend requests hitting your app, as well as to achieve better performance and scalability. We'll create a sample Node.js app and ... more


Friday, 7 July, 2017 UTC

[Course] js: Build a desktop application with Electron

[Course] js: Build a desktop application with Electron

Electron is a framework that makes it easy to create cross-platform desktop apps with JavaScript, HTML, and CSS. Electron and open-source tools give you everything you need to create a compelling desktop app--native user interface elements like menus ... more


Tuesday, 4 July, 2017 UTC

react: Create Animated Map Markers Linked to Scrolling Content in React Native

react: Create Animated Map Markers Linked to Scrolling Content in React Native

We'll construct a map using `react-native-maps` and custom animated map makers. We'll build a scroll view that when scrolled horizontally it will animate the marker that it is associated with. Once an item is scrolled to the map will automatically animate ... more