hello.js

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

Thursday, 20 September, 2018 UTC

Destructuring Assignment In JavaScript

Destructuring Assignment In JavaScript

I’m not so sure, but I think JavaScript might be the only web technology where you can destructure objects and assign the individual units in one take. It is also one great feature that allows you can get straight to the point with what you have to do ... more


Thursday, 20 September, 2018 UTC

​All My JavaScript is Broken and I Don't Know Why

​All My JavaScript is Broken and I Don't Know Why

There are few things in life that I enjoy more than good, healthy, broken code. It’s inevitable that things are going to break, it’s inevitable that I'm going to need to debug those things, and it’s inevitable that I'll need do whatever is necessary ... more


Tuesday, 18 September, 2018 UTC

5 Tips to Write Better Conditionals in JavaScript

5 Tips to Write Better Conditionals in JavaScript

When working with JavaScript, we deal a lot with conditionals, here are the 5 tips for you to write better / cleaner conditionals. 1. Use Array.includes for Multiple Criteria Let's take a look at the example below: // condition function test(fruit) { ... more


Tuesday, 11 September, 2018 UTC

Going From ES5 to ES6 (Solution to Code Challenge #13)

Going From ES5 to ES6 (Solution to Code Challenge #13)

Last week on the code challenge #13 we looked at converting sample code in ES5 to even simpler and more readable code in ES6. Yet to take the challenge? You can check it out here. In this post, we shall solve the challenge. Awesome entries for the challenge ... more


Monday, 10 September, 2018 UTC

Build A Chat Widget with Python and JavaScript

Build A Chat Widget with Python and JavaScript

Building quality digital products is a requirement toward acquiring long-term customers, but inefficient communication is an efficient way to lose them just as quickly as you gain them. The internet is currently the world’s largest marketplace and everyone ... more


Monday, 10 September, 2018 UTC

RxJS Operators for Dummies: forkJoin, zip, combineLatest, withLatestFrom

RxJS Operators for Dummies: forkJoin, zip, combineLatest, withLatestFrom

If you are confused about the differences between forkJoin , zip , combineLatest and withLatestFrom , you are not alone! :) These 4 operators are what we know as combination operators - we use them when we need to join information from multiple observables ... more


Thursday, 6 September, 2018 UTC

Using Font Awesome 5 with React

Using Font Awesome 5 with React

Font Awesome is an... awesome (sorry I had to) product. React is a brilliant coding library. It would only make sense to use them together. I've been using Font Awesome for a long time and was stoked when their Kickstarter for the new version went live. ... more


Thursday, 6 September, 2018 UTC

Building the New Scotch.io Animated SVG Logo

Building the New Scotch.io Animated SVG Logo

In this article we will be looking at how we implemented the new animated logo of Scotch.io, a visual detail to complement all the improvements that the site has experienced. Something like the icing on the cake :) For those who have not yet played a ... more


Tuesday, 4 September, 2018 UTC

Integrating MongoDB and Amazon Kinesis for Intelligent, Durable Streams

Integrating MongoDB and Amazon Kinesis for Intelligent, Durable Streams

You can build your online, operational workloads atop MongoDB and still respond to events in real time by kicking off Amazon Kinesis stream processing actions, using MongoDB Stitch Triggers. Let’s look at an example scenario in which a stream of data ... more


Tuesday, 4 September, 2018 UTC

Code Challenge #13: Going From ES5 to ES6

Code Challenge #13: Going From ES5 to ES6

Previously on the Scotch Code Challenge, we have solved challenges involving String, Object and Array Manipulation with functional programming patterns. How about we touch up the script in ES6! This week on the Code Challenge we will convert ES5 code ... more


Tuesday, 4 September, 2018 UTC

Debugging Create React App Applications in Visual Studio Code

Debugging Create React App Applications in Visual Studio Code

In this post, we are going to create an Create React App application, then add configuration to debug it in Visual Studio Code. Watch on YouTube TLDR - For an Create React App application, install the Debugger for Chrome extension, create a debug configuration ... more


Friday, 31 August, 2018 UTC

Build Your First App with React's Context API

Build Your First App with React's Context API

One of React's latest features is the Context API. Up until now, Context within React has been somewhat experimental, but still used in quite a few popular libraries, like Redux and React Router. There are plenty of ways to avoid using Context, but sometimes ... more


Tuesday, 28 August, 2018 UTC

Announcing Scotch v8! Our Biggest Upgrade Ever

Announcing Scotch v8! Our Biggest Upgrade Ever

I've been waiting to write this post for a very very very long time. Work on this v8 site started in February of this year. This is version 8 in the 4.5 years we've been in existence. Rebuilding Scotch has always been a fun project for me. Getting to ... more


Monday, 27 August, 2018 UTC

Building a React Native app as a Designer using BuilderX

Building a React Native app as a Designer using BuilderX

BuilderX is a screen design tool that codes React Native* for you. It generates beautiful, readable and editable code for the designs. Just design the components in your app, or import your Sketch file and it generates the corresponding code. You can ... more


Tuesday, 21 August, 2018 UTC

Testing Angular with Jasmine and Karma (Part 1)

Testing Angular with Jasmine and Karma (Part 1)

Our goal In this tutorial we will be building and testing an employee directory for a fictional company. This directory will have a view to show all of our users along with another view to serve as a profile page for individual users. Within this part ... more


Monday, 20 August, 2018 UTC

Building CLI Applications with NodeJS

Building CLI Applications with NodeJS

As a developer, chances are you spend most of your time in your terminal, typing in commands to help you get around some tasks. Some of these commands come built into your Operating System, while some of them you install through some third party helper ... more


Monday, 20 August, 2018 UTC

Build a Reusable Component with Angular Elements

Build a Reusable Component with Angular Elements

Code reuse can be significant in any software project. By reusing code, developers can drastically cut development and maintenance time for software projects. This is the reason that every framework for developing software has a way to encapsulate functionality ... more


Tuesday, 7 August, 2018 UTC

Debugging Go Code with Visual Studio Code

Debugging Go Code with Visual Studio Code

I recently wrote about My Top VSCode Tips and Tricks and among them was Debugging. In this article, I'll cover how to debug your Go code, so it goes without saying that a prerequisite for this article is that you understand the basics of writing Go. ... more


Tuesday, 7 August, 2018 UTC

Handling Authentication In Vue Using Vuex

Handling Authentication In Vue Using Vuex

Traditionally, many people use local storage to manage tokens generated through client-side authentication. A big concern is always a better way to manage authorization tokens to allow us to store even more information on users. This is where Vuex comes ... more


Thursday, 2 August, 2018 UTC

​Build a Chat Widget with Python and JavaScript

​Build a Chat Widget with Python and JavaScript

Building quality digital products is a requirement toward acquiring long-term customers, but inefficient communication is an efficient way to lose them just as quickly as you gain them. The internet is currently the world’s largest marketplace and everyone ... more


Thursday, 2 August, 2018 UTC

Docker and Visual Studio Code

Docker and Visual Studio Code

I recently wrote about My Top VSCode Tips and Features, and one of the VSCode plugins mentioned was the Docker Plugin. Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications, whether on laptops, data ... more


Thursday, 2 August, 2018 UTC

JavaScript String Manipulation (Solution to Code Challenge #12)

JavaScript String Manipulation (Solution to Code Challenge #12)

Last time on the code challenge #12 we looked at problems involving the use of String Manipulation techniques. Yet to try your hands at the challenge? You can check it out here. You can also see other fantastic submissions in the Spectrum Chat. In this ... more


Thursday, 26 July, 2018 UTC

Create a Typing Speed Effect with VueJS - Part 2: Timer and Score Board

Create a Typing Speed Effect with VueJS - Part 2: Timer and Score Board

Introduction In Part 1 - Create a Typing Speed Effect with VueJS We saw how to create a Typing Speed Effect. We are going to extend what we built previously, and include a timer and a score board, so that users can type and see the times they typed in ... more


Thursday, 26 July, 2018 UTC

Introducing Laravel Nova

Introducing Laravel Nova

Laracon is here again. For those of you that don't know, Laracon is the event where that happens every 6 months where we get a look at the latest and greatest in Laravel. We'll write an article on the latest features in Laravel once we've compiled them. ... more


Wednesday, 25 July, 2018 UTC

My Top 8 Visual Studio Code Tips and Features

My Top 8 Visual Studio Code Tips and Features

Visual Studio Code has become one of the most used and loved Text Editors in recent years. Here are some statistics from the 2018 Stackoverflow Survey:- Most Popular Development Environments. Source: https://insights.stackoverflow.com/survey/2018/ 1. ... more


Wednesday, 25 July, 2018 UTC

Managing User Permissions in Vue using CASL

Managing User Permissions in Vue using CASL

There is one thing we can all agree on, no matter what language or platform we prefer for building applications — there has to be some form of control and access levels in our applications to ensure it runs smoothly. This is why the concept of user permission ... more


Tuesday, 24 July, 2018 UTC

Create Web Notifications Using Laravel and Pusher Channels

Create Web Notifications Using Laravel and Pusher Channels

When building web applications, it is not uncommon to find some sort of in-app notification system that will notify you instantly when someone carries out an action related to you or your account. On Facebook, you will be notified when someone likes ... more


Friday, 20 July, 2018 UTC

6 Tips for Reducing JavaScript Error Noise

6 Tips for Reducing JavaScript Error Noise

If you're trying to build and iterate on your app using JavaScript error tracking, you might be suffering from a common affliction: noisy, low-value errors that make it hard to identify high-priority issues. Browser JavaScript is perhaps the single most ... more


Friday, 20 July, 2018 UTC

Create a Typing Speed Effect with VueJS

Create a Typing Speed Effect with VueJS

VueJS is commonly being adopted as a Javascript framework, and many developers are trying it out to see what it can actually do. In this article, we are going to build a Typing Speed Effect, which is a tiny application small enough to wet your apetite ... more


Friday, 20 July, 2018 UTC

Implementing Authentication in a Nuxt.js App

Implementing Authentication in a Nuxt.js App

In this tutorial, I’ll be showing you to implement authentication in Nuxt.js app using the Auth module. For the purpose of this tutorial we’ll be using JWT for authentication. What we’ll be building Below is a quick demo of what we’ll be building in ... more