Skip to content

Instantly share code, notes, and snippets.

View evoxtorm's full-sized avatar
🎯
Focusing

Hitesh Joshi evoxtorm

🎯
Focusing
View GitHub Profile
@evoxtorm
evoxtorm / neo4j_cypher_cheatsheet.md
Created May 28, 2018 20:00 — forked from DaniSancas/neo4j_cypher_cheatsheet.md
Neo4j's Cypher queries cheatsheet

Neo4j Tutorial

Fundamentals

Store any kind of data using the following graph concepts:

  • Node: Graph data records
  • Relationship: Connect nodes (has direction and a type)
  • Property: Stores data in key-value pair in nodes and relationships
  • Label: Groups nodes and relationships (optional)
@evoxtorm
evoxtorm / rAF.js
Created July 3, 2017 06:52 — forked from paulirish/rAF.js
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
@evoxtorm
evoxtorm / Test.java
Created April 9, 2017 06:54
code for reading a text file and returning it's length.
import java.io.*;
public class Test {
public static void main(String [] args) {
String fileName = "abc.txt";
String line = null;