I hereby claim:
- I am amitkumar on github.
- I am amitkumar101 (https://keybase.io/amitkumar101) on keybase.
- I have a public key ASDUTsgzb0rFJMrzbkSKe4s6g9PwO-TyrIc0eJ_JEHZECAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json", | |
"meta": { | |
"version": "v1.0.0", | |
"canonical": "https://github.com/jsonresume/resume-schema/blob/v1.0.0/schema.json" | |
}, | |
"basics": { | |
"name": "Amit Kumar", | |
"label": "Software Engineering Leader", | |
"image": "", |
const ObjectID = require('mongodb').ObjectID; | |
/** | |
* Returns the ObjectId of the object, taking into account | |
* whether the object is a populated Model, an ObjectId, or | |
* a string representation of an ObjectID. | |
* | |
* @param {MongooseModel|Object|String} input | |
* @return ObjectId | |
*/ |
{"lastUpload":"2021-11-24T16:47:18.411Z","extensionVersion":"v3.4.3"} |
/** | |
* Disable or enable focus on all focusable elements. Useful for proper keyboard navigation | |
* of slide-based interfaces where certain slides are hidden/shown based on user interaction. | |
* Assumes jQuery. | |
* | |
* @param {jQuery object} $el - jQuery object whose children will be toggled | |
* @param {bool} enable | |
* / | |
var toggleFocusableElements = function($el, enable){ | |
if (enable){ |
function joinWithCommas (array){ | |
var result = ''; | |
$.each(array, function(index, label){ | |
if (index === 0){ | |
} else if (index < (array.length - 1)){ | |
result += ', '; | |
} else { | |
result += ' and '; | |
} | |
result += label; |
<script id="if_equals_example" type="text/x-handlebars-template"> | |
{{#if_equals objectType 'message'}} | |
<div class="message"> | |
Message | |
</div> | |
{{else}} | |
{{/if_equals}} | |
</script> |
CMD+Shift+P
to launch Sublime's Command Palette. Type Install
, select Install Package
, then install the following:
// Assumes jQuery | |
var handlebarsTemplates = {}; | |
$(function(){ | |
// Compile all templates | |
$('script[type="text/x-handlebars-template"]').each(function(index, element) { | |
var $element = $(element), |