All Blogs / Technology / Programming / Web Development / Popular

Sorting Threads By Number Of Replies

This tutorial will find us tackling a few different topics, however the main goal is to be able to set up sorting threads by popularity according to the number of replies each thread has. To start off, we’ll need to make some changes to the main view which displays all threads. Show More Summary

Getting Started With Vagrant

With Vagrant now installed, let’s have a look at getting started with Vagrant. In this article we’ll have a look at several topics. First off, we’ll explore the concept of Synced Folders and how Vagrant sets up file sharing between the host and guest OS. Show More Summary

Setting Up Vagrant On Ubuntu

This is going to be a fun tutorial in setting up Vagrant on Ubuntu Linux. Vagrant is the excellent software by HashiCorp, created by Mitchell Hashimoto. It’s purpose is to make development environments easy. Vagrant enables the software...Show More Summary

VMware Workstation Snapshots

When you go through the work of getting a virtual machine configured and running to your liking, it might be a good idea to take a snapshot of your newly created VM in it’s pristine state. This is helpful since when you start breaking shit installing more software, you always want to have a clean slate you can revert back to. Show More Summary

Installing VMware Tools on Linux

When creating guest operating systems in your VMware Workstation setup, it’s a good idea to make sure that VMware Tools are installed. To be clear, VMware tools is a software package that installs on the guest OS, not the host. VMware tools does many helpful things. Show More Summary

Create An Ubuntu Desktop 64 Bit Virtual Machine in VMware Workstation

Now that we’ve talked about how awesome VMware Workstation is, let’s build our first virtual machine using an ISO file. First, we need an ISO file to work with, and for this, we can go right to the official Ubuntu website to get what we need. Show More Summary

The Top 7 Uses For VMware Workstation

VMware Workstation is the wildly popular software which facilitates creating and operating virtual machines or VM’s right on your x86 based laptop or desktop computer. At the time of this writing, VMware Workstation is now up to version...Show More Summary

How Does The Filter Function Work In Underscore JS?

In Underscore, the filter function provides the ability to filter out some values based off of a Tester function that you pass it. The Tester function is more formally declared as the predicate. The concept is similar to many of the Underscore functions we have covered so far. Show More Summary

7 Examples of the Every Function in Underscore JS

This tutorial takes a look at the _every() function in Underscore. When you need to apply a truth test to all values in an array, _every() is there to help you out. Because of JavaScript’s loose type checking, making use of _every() and the related _some() function can be helpful. Show More Summary

3 Examples of the Underscore Reduce Function

In Underscore, the _reduce() function is used to transform an array or object properties into one single value. The signature of the reduce function is _.reduce(list, iteratee, [memo], [context]). We can see that both memo, and context are optional parameters. Show More Summary

Underscore JS sortBy Function

This Underscore JS tutorial will focus on the Underscore sortBy function, which works with both JavaScript objects and JavaScript arrays. Like the other tutorials that offer code examples we can run, so too will we offer several examples of the sortBy() function here. Show More Summary

How To Use The Find Function In Underscore JS

The find() function is another very commonly used function in the Underscore JavaScript Library. The signature has a familiar look in _.find(list, predicate, [context]) similar to the some() function we recently covered. The find() function takes an array or object as the first parameter. Show More Summary

Underscore JS Some Function

In this ongoing look at Underscore JS, we’ll take a look at the some function. It bears a close resemblance to the find function. The some function has a signature of _.some(list, [predicate], [context]). What it does is to scan the list parameter for any items that contain a truthy value and return true if this is the case. Show More Summary

Underscore JS Each Function

As we mentioned, the various collection functions in Underscore really help us to navigate our way around JavaScript objects and arrays in a really easy and straightforward way. In this particular tutorial we’ll have a look at the each function and how we can use it with arrays, objects, arrays with context, as well as objects with context. Show More Summary

Underscore JS Map Function

Underscore.js is the widely popular JavaScript library that provides a rich set of utility functions for working with the JavaScript language. Unlike PHP, JavaScript does not have thousands and thousands of built in functions to make working with data easier. Show More Summary

JavaScript Revealing Prototype Pattern

The Revealing Prototype Pattern makes use of two of the patterns we have covered already. It takes the concepts of both the revealing module pattern and the prototype pattern and merges the best of those patterns together. The result...Show More Summary

JavaScript Revealing Module Pattern

Now that we have a good understanding of closure, the prototype pattern, and the module pattern, let us now take a look at the JavaScript Revealing Module Pattern. You know it’s funny, we have all this verbiage to describe these patterns, and you might be scratching your head as to what a module pattern vs a revealing module pattern is. Show More Summary

JavaScript Module Pattern

The JavaScript Module Pattern is another common way to organize code in your JavaScript applications. It was in fact Doug Crockford that first brought widespread attention to this pattern, and to this day, it remains in widespread use in the JavaScript ecosystem. Show More Summary

JavaScript Prototype Pattern

There are many ways to structure JavaScript code using various design patterns in an effort to produce software that is easier to reason about as well as reusable and maintainable. One such pattern is the prototype pattern. As we know, JavaScript itself uses prototyping as a means of augmenting the built in objects. Show More Summary

An Example of JavaScript Closure Using The Date Object

You can never have enough examples of closure in JavaScript. In this quick tutorial, we’ll take a look at a few examples of accessing variables both with and without closure to show how scoping changes in this type of code. The purpose...Show More Summary

Copyright © 2015 Regator, LLC