Become a member
Sign in
Dhaval Patel
Dhaval Patel

Dhaval Patel

16 Following
13 Followers
  • Profile
  • Claps
  • Highlights
  • Responses

Latest

Dhaval Patel
Dhaval Patel
Apr 30 · 1 min read

Recognise pinch without HammerJs

All you need are the two methods implemented here and you should be able to identify when its pinching in or pinching out.

Dhaval Patel
Dhaval Patel
Dec 3, 2018 · 1 min read

Suppress any maven plugin (java)

If you need to skip a plugin because you need to build quickly just for testing then you can try the following:

<plugin>
<groupId>com.test.common</groupId>
<artifactId>generic-plugin</artifactId>
<executions>
<execution>…
Dhaval Patel
Dhaval Patel
Nov 21, 2018 · 1 min read

How can you get diff between your rebased changes and your original code (GIT workflow)

Scenario

You got BRANCH A with one single commit.

You are 8 behind master.

Dhaval Patel
Dhaval Patel
Nov 16, 2018 · 1 min read

Beginner at Java’s ExecutorCompletionService and ExecutorService

Simplified:

ExecutorService waits for the tasks to be finished in a particular order.

ExecutorCompletionService returns results in the order of completion.

Dhaval Patel
Dhaval Patel
Jan 23, 2018 · 1 min read

Test DST using Jest / Moment / JS Dates

If you are using a Javascript dates in your code and are using Jest snapshots for testing and you work in a team across timezones, then this may be helpful.

1