I hereby claim:
- I am balasubramanim on github.
- I am balasubramanim (https://keybase.io/balasubramanim) on keybase.
- I have a public key ASDqeMtllgOPTgQwAp8CjmD5XNCE4eCViG09M-rgwsnXigo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| function chunk(arr, chunkSize) { | |
| let result = []; | |
| function getChunkedArr(arrToChunk) { | |
| let res = []; | |
| for(let i = 0; i < arrToChunk.length; i++) { | |
| res.push(arrToChunk[i]); | |
| } | |
| return res; | |
| } |
| Array.prototype.myFlat = function (depth) { | |
| function getFlattenedArr(arr) { | |
| let res = []; | |
| let isSpreaded = false; | |
| for (let value of arr) { | |
| if (Array.isArray(value)) { | |
| isSpreaded = true; | |
| res.push(...value); | |
| } else { | |
| res.push(value); |
| import React, { Component } from 'react'; | |
| import DevTools from 'mobx-react-devtools'; | |
| import Konva from 'konva'; | |
| import {Stage, Layer, Rect, Line, Image} from 'react-konva'; | |
| import Img from './Img/Img.js'; | |
| import './App.css'; | |
| import pg from '../assets/scribo-doc-dia-00008061.json' | |
| console.log(pg); |
| { | |
| "data": [ | |
| { | |
| "s_no": "1", | |
| "district": "Thiruvallur", | |
| "village_panchayat": "Thiruvallur", | |
| "school_name": "MUNICIPAL MIDDLE SCHOOL", | |
| "school_id": "33010105701", | |
| "category_of_school": "Secondary School", | |
| "yearof_establishment": "1940", |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
| [ | |
| { | |
| "movie_title": "Avatar ", | |
| "director_name": "James Cameron", | |
| "actor_1_name": "CCH Pounder", | |
| "actor_2_name": "Joel David Moore", | |
| "genres": "Action|Adventure|Fantasy|Sci-Fi", | |
| "language": "English", | |
| "country": "USA", | |
| "content_rating": "PG-13", |
| [ | |
| { | |
| "movie_title": "Avatar ", | |
| "director_name": "James Cameron", | |
| "actor_1_name": "CCH Pounder", | |
| "actor_2_name": "Joel David Moore", | |
| "genres": "Action|Adventure|Fantasy|Sci-Fi", | |
| "language": "English", | |
| "country": "USA", | |
| "content_rating": "PG-13", |
| var called = 0; | |
| var hash = string => { | |
| called++; | |
| var hash = 0; | |
| for (var i = 0; i < string.length; i++) { | |
| hash += string.charCodeAt(i); | |
| } | |
| return hash; | |
| }; | |
| var HashTable = function() { |
| { | |
| "quotes": [ | |
| { | |
| "quote": "Life isn’t about getting and having, it’s about giving and being.", | |
| "author": "Kevin Kruse", | |
| "url": "life-isnt-about-getting-and-having-its-about-giving-and-being" | |
| }, | |
| { | |
| "quote": "Whatever the mind of man can conceive and believe, it can achieve.", | |
| "author": "Napoleon Hill", |