It was my first time to try Gitlab CI with docker runner configuration. The problem occurred when I tried to build an web application. I finally found the solution for it.
JavaScript ES6: The Different Between Let vs Const
In upcoming JavaScript ES6 (EcmaScript 2015), they introduce new way to define variables by using let and const. As you may be know as JavaScript developer, we are already familiar with var. Let’s inspect them more.
Continue reading
Send Emails using Amazon SES and Node.js
Amazon SES (Simple Email Service) is a solution that Amazon provides for sending emails. This service encourages you to pay Amazon what you use, so you can use as much or as little email you like. The coding example below shows how to configure Amazon SES in Node.js.
Continue reading
Ruby: The Different Between Each, Map and Collect
When I was learning Ruby, I found that each
, map
and collect
look alike but they aren’t. Let’s see what the different between them is. I will use irb to demonstrate it.
Continue reading
How to Configure Postfix to Mandrill SMTP on Mac OSX
In my previous post, I talked about how to install postfix mail server on mac OSX. At that time, I used Gmail SMTP for sending the emails. This article will show you how to configure Mandrill SMTP for postfix.
Continue reading
How to Connect Amazon SNS to Amazon SQS Queues
In this article, I want to share how to make SNS and SQS get along. Before we move further, we have a main question. What is the difference between SNS and SQS? I took the description from Amazon documentation below.
How to Install PHP intl extension on OS X
Some PHP libraries that support internationalization depends on PHP intl extension. Somehow, intl extension is not installed by default. This article will show you how to install the intl extension. It has been tested well on OS X Yosemite with PHP 5.5.
An Introduction to Sinatra
Sinatra is a micro framework for Ruby. Different to Ruby on Rails, Sinatra has simplistic approach to develop web application. In this post, we will get started with Sinatra by learning about how to create routes and access URL parameters.
iOS: How to Play Sound in Swift
Playing sound in your iOS app is essential because it can add betterĀ user experience. This article will guide you how to play sound in Swift. In this case, we will use a class AVAudioPlayer from AVFoundation package. This class provides playback of audio data from a file or memory.
Continue reading
AngularJS: How to Use Filter in Controller
In this article, I’m going to share about how to use filter in controller in Angular JS. It is common to see filter used in view but apparently I found that in some conditions we need to use filter in controller.
You have to know that in order to inject a filter, you need to use format yourFilterNameFilter
.