Open in app
Home
Notifications
Lists
Stories

Write
Salihan Zaol-kefli
Salihan Zaol-kefli

Home

Published in Government Digital Services, Singapore

·Mar 19

Using Terragrunt’s generate block to make your Terraform DRY

As you write more Terraform modules for your Infrastructure as Code (IaC), you will notice some repetitions across all your modules. An example of this is the providerblock. Terragrunt’s generate block can be used to eliminate this repetition and keep your Terraform DRY. Example Time Let’s say you have the following directory…

Terraform

2 min read


Published in Government Digital Services, Singapore

·Sep 7, 2019

You Can And Should Write Tests For Your Shell Scripts

As a Software Engineer implementing features for an application, it’s common practice to write tests that verify the logic behind it. But how about when you are writing shell scripts? I rarely see tests written for shell scripts and I think that is something that can be improved. Why I started writing tests for shell scripts As a…

Testing

4 min read

You Can And Should Write Tests For Your Shell Scripts
You Can And Should Write Tests For Your Shell Scripts

Aug 12, 2017

Running A JScript Script With Node.JS

If you find yourself needing to execute a JScript script with Node.js then this post is for you. Why would you want to do this? Well, read on. JScript vs JavaScript JScript and JavaScript are different dialects of the ECMAScript standard. With JScript you can do things with WMI, use ActiveXObject constructors and…

Nodejs

2 min read


Jan 29, 2017

Deleting Folders or Files That Have Long Paths

Ever wanted to delete a folder or a file only for Windows to complain that the path is too long? Robocopy to the rescue! Below are the steps: Create an empty folder (eg. temp_empty) in a directory of your choice. Open the the Command Prompt (search "cmd" for Windows 10…

Windows 10

1 min read

Salihan Zaol-kefli

Salihan Zaol-kefli

Software Engineer, Amateur Writer, Casual Gamer

Following
  • Muzli

    Muzli

  • Serverless

    Serverless

  • Sau Sheong

    Sau Sheong

  • Teo Yu Siang (he/him)

    Teo Yu Siang (he/him)

  • Pinterest Engineering

    Pinterest Engineering

See all (182)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable