Image Image Image Image Image
Scroll to Top

To Top

Articles - Web design, web development, technology, mobile dev

09

Feb
2017

In Design

By Manny

indent design studio, typography, branding

On 09, Feb 2017 | In Design | By Manny

Hello there fellow designers, developers and internet travellers. I would like to introduce you to dear friend of mine. Denton, he runs a design studio in Cape Town specialising in custom typography and branding you should total check him out. Its not often you come across such dedicated craftsmanship these days, every detail matters and you can see it in the work.

Here are some samples of his work =>

indent design

Want to see more go to www.indent.design

01

Jan
2017

In JavaScript

By Manny

What is a forEach method

On 01, Jan 2017 | In JavaScript | By Manny

The forEach method is a special kind helper method available to us on an array.  It helps us loop/iterate over an array. It is an alternative method to iterating over an array using a for loop.

for loop

var cars = [ 'Lambourgini', 'Porsche', 'Ferrari', 'Mazarati'];

for (var i = 0; i < cars.length; i++) {
  console.log(cars[i]);
}

forEach

var cars = [ 'Lambourgini', 'Porsche', 'Ferrari', 'Mazarati'];

cars.forEach(function(car){
  console.log(car);
});

When we call the forEach method we pass it an anonymous function, this is that internal argument. This function gets called one time for element in the cars array. This function can also be called the iterator function. In this example it will get called four times.

We can also extract the anonymous function to a listCars function that will later be passed in as an argument to the forEach method.

var cars = [ 'Lambourgini', 'Porsche', 'Ferrari', 'Mazarati'];

function listCars(car){
  console.log(car);
}

cars.forEach(listCars);

26

Dec
2016

In Devops
Web Development

By Manny

What is Kubernetes?

On 26, Dec 2016 | In Devops, Web Development | By Manny

Kubernetes is a very powerful system used for managing containerised software applications in a clustered environment.

It is a command line driven orchestration system developed by Google to manage containerised applications across a cluster of nodes in a cloud architecture environment like Google Cloud Platform.

Pods

A pod is unit managed by kubernetes and you. It is made up of one ore more containers that make up your application.

Services

Services act as a load balancer for other containers.

Services are an interface to a group of containers they provide a single access point.

By deploying a service, you easily get discover-ability and simplify your container design.

Replication controllers

A replication controller helps you manage your containers by allowing you to kill and bring to life new and existing containers.

Horizontally scaled. If a container temporarily dies the replication controller kicks into action a replacement container automatically.

Labels

Is tag that is used for managing your pods by naming them with key value pairs. Its for keeping organised, mostly meta data in file.