Photo by Alessio Lin on Unsplash

To progress from a learner driver licence to a P1 licence, you need to pass the Hazard Perception Test before you can sit the driving test.

About the Hazard Perception Test

The HPT is a computer-based touch screen test. It measures your ability to recognise potentially dangerous situations on the road and respond appropriately.

It aims to ensure you have enough hazard perception skills to prepare you for solo driving and progress to a P1 licence.

There are 15 film clips in the test. You’ll be given two clips to practice before the test begins.

The test questions and situations focus on the common crash…

The Driver Knowledge Test* (DKT) is the first stage in the licensing process for Australian driving license. You must pass the DKT to get your learner driver licence or convert your existing overseas license to an Australian driving license.

Here are some tips which will help you pass DKT in one go, which will save you from wasting your precious time and money.

1. Practice using RMS Practice DKT

Without practicing, it is impossible to pass DKT. However, practicing is easy. You can find “RMS Practice DKT” online or download an app for practice questions from official sources.

Practice DKT in Web

Download app in…

Where to do your renewal?

  • Nepalese embassy — Canberra
  • Passport services:
  1. Passport renewal
  2. Damaged/Lost passport
  3. Passport for newborn/minor
  • Listed in their website
  • Takes 2–3 months
I’ve also made a vide about the process which explains everything in detail.

Requirements to apply for renewal of passport (MRP)

  1. Two copies of duly filled-in Passport Application Form
  2. Four identical most recent passport size photographs (35 mm x 45 mm) with white background.
  3. Current original Nepalese passport
  4. One photocopy of passport bio-page
  5. Nepalese original citizenship certificate
  6. Copy of current valid Australian Visa

How to submit your application?

  1. On premises or post
  2. If applying by post, self-addressed paid envelope (preferably signature on delivery post).
  3. Passport fees: A$230.00 for adults and A$115.00

Photo by Aleksandar Cvetanovic on Unsplash

In this blog, I will be demonstrating you how to run Serverless Offline using a serverless plugin that emulates AWS λ and API Gateway on your local machine to speed up your development cycles. It helps us save time as we can see logs and also debug in our local machine rather than on cloud vendors.

Local environment reduces conflict with our team members who might be dependant on using the same function (even though in development) that you are working on and might get confused to why the function is not working whilst it was working before. …

Photo by Yancy Min on Unsplash

Hello World! Apart from adding, committing and pushing files to the repository, here are some common git operations, in a flash!

1. Branching

Branching is necessary when you want to work on a new feature (or for other reasons) and separate your code from master branch.

Create a branch and checkout:

git checkout -b nameOfYourNewBranch

Delete a local branch :

git branch -d branchName

Delete a remote branch:

git push origin -d branchName

2. Merging

Merging a branch is necessary because you might want to merge a feature branch to the master branch.

# Start a new featuregit checkout -b new-feature master#…

Photo by Mohamad Mahdi Abbasi on Unsplash

These are some JavaScript array methods you need to know to make your life a bit easier.

1. Array.map()

The map() method creates a new array populated with the results of calling a provided function on every element in the calling array.

const array1 = [1, 4, 9, 16];// pass a function to map
const map1 = array1.map(x => x * 2);
console.log(map1);
// expected output: Array [2, 8, 18, 32]

2. Array.find()

The find() method returns the value of the first element in the provided array that satisfies the provided testing function.

const array1 = [5, 12, 8, 130, 44];const found…

Photo by Mark Duffel on Unsplash

Copying existing configuration from current Zoho account to a new one is termed as Copying Customization in Zoho. According to Zoho’s knowledge base:

Copying Customization

Larger companies with multiple branches or services may require multiple CRM accounts. However, the core requirements remains the same for each CRM. Hence companies do not want to waste time cutomizing each CRM account individually. Zoho CRM comes with a solution to this problem in the form of Copy Customization. This feature allows users to duplicate the custom settings of one CRM account into another account.

Notes before starting

  1. You can use the Copy Customization feature to copy…

Project setup to git push from my-project repository (repo) to new-project repo

While working with multiple projects, you might have encountered a situation where you need to create a new project from existing project’s (repo) some branch. We can always do it manually by copying and pasting and uploading it to new repo.

However, this is another “better way” to achieve this, with the help of git itself.

Lets start by adding new remote repository into existing git project:

 Go to current project: $ cd my-projectList current remote: $ git remote -v
origin https://github.com/my-org/my-project (fetch)
origin https://github.com/my-org/my-project (push)
Add new origin (origin2): git remote add origin2 <git_url>$ git remote add origin2 https://github.com/my-org/new-project(By default, git uses origin, so lets add new…

Photo by Warren Wong on Unsplash

Tired of teaching your non-IT colleagues how to see what they got as a result from the API? Or are you yourself tired of opening the console?

Try displaying them in HTML using “Renderjson”.

Renderjson is a simple JavaScript package which render JSON into collapsible, themeable HTML. It can be used as debugging tool, however you are the boss and you can use it wherever it is useful.

Angular (logo src: https://bit.ly/2RmhEhV)

Angular form validation provides us an easy to use form validation checks. However, it starts getting complex when the number of field grows and the validation rules become conditional.

One might have no idea why the validation rule failed. Therefore, it would be cool to to click a button and get displayed what were the rules that failed.

First, lets take a simple sign up form with fields firstName, lastName, dob, email and termsCheckbox with validation rules:

Sign Up Form

[Update!]

If you want to show errors for only a single FormControl, then you can just use Angular’s JsonPipe that converts…

Sameer Gurung

A Software Engineer, who also turns to be a JavaScript enthusiast. Currently working with NodeJs, Angular, Ionic and AWS. Catch me: https://sameergurung.com.np

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store