Abhishek's public fiddles
-
Date Differentiator
It calculates the difference in the 2 given dates
-
fthjzamn
jQuery (edge), HTML, CSS, JavaScript
-
yho83aax
jQuery (edge), HTML, CSS, JavaScript
-
q3ngr54q
jQuery (edge), HTML, CSS, JavaScript
-
2avcxLu7
No-Library (pure JS), HTML, CSS, JavaScript
-
m09po0cn
No-Library (pure JS), HTML, CSS, JavaScript
-
0nc4yso8
No-Library (pure JS), HTML, CSS, JavaScript
-
5y24sc23
No-Library (pure JS), HTML, CSS, JavaScript
-
txo8zx29
No-Library (pure JS), HTML, CSS, JavaScript
-
2wue646g
jQuery (edge), HTML, CSS, JavaScript
-
14n799mf
No-Library (pure JS), HTML, CSS, JavaScript
-
kna2fg75
No-Library (pure JS), HTML, CSS, JavaScript
-
bvrur56q
No-Library (pure JS), HTML, CSS, JavaScript
-
mm9nr1Lb
No-Library (pure JS), HTML, CSS, JavaScript
-
japyzk2x
No-Library (pure JS), HTML, CSS, JavaScript
-
Responder
Object that holds 'status' & 'response'
-
Factorial
Recursive & non-recursive methods
-
http://hashids.org/
http://codepen.io/ivanakimov/pen/bNmExm
-
Javascript implementation of Java’s String.hashCode() method
Here is a direct replacement for Java’s String.hashCode() method implemented in Javascript. I wrote this function to fulfill a requirement at work. Apparently, the back-end engineers thought hashCode() was a standard function. One of the hurdles for this project was not only figuring out how to translate the mathematical formula used in Java to generate hashCode()’s but also how to force Javascript to use 32bit integer math (no small feat). Fortunately, I discovered that Java supports bitwise operators which are constrained to 32bit integer math. So here’s the resulting String prototype in Javascript. With this prototype you can simply call .hashCode() on any string, ie. “some string”.hashCode(), and receive a numerical hash code (more specifically, a Java equivalent) such as 1395333309.
-
Fibonacci sequence
To print Fibonacci sequence