I hereby claim:
- I am prashnts on github.
- I am prashnts (https://keybase.io/prashnts) on keybase.
- I have a public key whose fingerprint is 1FE8 3C8F 39BF 06FE 8C06 2E2B 2AD4 EFE5 6AB0 6289
To claim this, I am signing this object:
| <?php | |
| /** | |
| * Returns a Pretty Time Ago string from given Timestamp. Returns bare date if | |
| * timestamp is way back in past. | |
| * @example "posted".timeAgo(xx): "posted just now". | |
| * "posted a few minutes ago" | |
| * "posted 14 minutes ago" | |
| * "posted today at 7:00PM" | |
| * "posted yesterday at 7:00PM" | |
| * "posted 7:00PM, Friday 29 August 2014" |
| { | |
| "_description: Name of City, or Town": { | |
| "State": "The Indian State under which this City/Town exists.", | |
| "GeoCode": [ | |
| "Latitude", | |
| "Longitude" | |
| ], | |
| "PinCodes": [ | |
| "All", | |
| "The", |
| $.scrollWindowTo = function(pos, duration, cb) { | |
| if (duration == null) { | |
| duration = 0; | |
| } | |
| if (pos === $(window).scrollTop()) { | |
| $(window).trigger('scroll'); | |
| if (typeof cb === "function") { | |
| cb(); | |
| } | |
| return; |
| (function() { | |
| var arrays, basicObjects, deepClone, deepExtend, deepExtendCouple, isBasicObject, | |
| __slice = [].slice; | |
| deepClone = function(obj) { | |
| var func, isArr; | |
| if (!_.isObject(obj || _.isFunction(obj))) { | |
| return obj; | |
| } | |
| if (_.isDate(obj)) { |
| var Node = Node || { | |
| ELEMENT_NODE: 1, | |
| ATTRIBUTE_NODE: 2, | |
| TEXT_NODE: 3 | |
| }; |
| /** | |
| * @license | |
| * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/> | |
| * Build: `lodash exports="commonjs" include="assign,clone,filter,each,map,random,reduce,some"` | |
| * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/> | |
| * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE> | |
| * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors | |
| * Available under MIT license <http://lodash.com/license> | |
| */ | |
| ;(function() { |
I hereby claim:
To claim this, I am signing this object:
| function init() { | |
| var e, t = 100, | |
| n = 50, | |
| r = 50, | |
| i, s; | |
| camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, | |
| 1, 1e4); | |
| camera.position.z = 100; | |
| scene = new THREE.Scene; | |
| renderer = new THREE.CanvasRenderer; |
| import pandas as pd | |
| import numpy as np | |
| LIM = 100000 | |
| df_i = pd.DataFrame(np.random.randint(0, 100, size=(LIM, 4)), columns=list('ABCD'), index=list(range(0, LIM))) | |
| df_s = pd.DataFrame(np.random.randint(0, 100, size=(LIM, 4)), columns=list('ABCD'), index=list(map(hex, range(0, LIM)))) | |
| ## used in ipython | |
| >>> %timeit -n 100 df.sort_values('A') |