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.
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.
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.
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. …
Hello World! Apart from adding, committing and pushing files to the repository, here are some common git operations, in a flash!
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
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#…
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]
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…
Copying existing configuration from current Zoho account to a new one is termed as Copying Customization in Zoho. According to Zoho’s knowledge base:
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.
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.
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…
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”.
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:
If you want to show errors for only a single FormControl, then you can just use Angular’s JsonPipe that converts…