Skip to content

Instantly share code, notes, and snippets.

View PrasannaC's full-sized avatar

Prasann Choudhari PrasannaC

View GitHub Profile
@PrasannaC
PrasannaC / Watcher.java
Last active September 20, 2019 06:21
Basic Watcher class in JAVA for reference.
/*
This class is a mere template and can be modified for better methods of access of lists and can be written in a more elegant manner.
It is to demonstrate the basics of writing your own watcher, since the JAVA API was causing issues regarding locking of
files in a directory when multiple events are generated.
*/
import java.io.IOException;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;

Keybase proof

I hereby claim:

  • I am prasannac on github.
  • I am xylesonic (https://keybase.io/xylesonic) on keybase.
  • I have a public key ASBMDFgG6gd92XOO6bEJQtEGJa3jv-Ts0-SOL9S-asMgHwo

To claim this, I am signing this object:

@PrasannaC
PrasannaC / Commands.md
Last active January 27, 2018 10:34
Commands

To run only once

npm install -g typescript
npm install -g simplehttpserver

To run for every project

npm init
npm install --save @types/angular