Skip to content

Instantly share code, notes, and snippets.

View mayank's full-sized avatar
🎹
Playing Code!

Mayank mayank

🎹
Playing Code!
View GitHub Profile
@mayank
mayank / 1.mongodb-aws-setup-guide.md
Created June 25, 2019 09:21 — forked from calvinh8/1.mongodb-aws-setup-guide.md
MongoDB Setup Guide for AWS EC2 Instances with Auth Enabled
@mayank
mayank / form.js
Last active September 8, 2015 07:56 — forked from mazjs/form.js
//the whole thing is wrapped in an anonymous function
$(document).on('change', '#id_tel_no', function() {
var tel_no = $('#id_tel_no').val();
var state_code = $('select[name=state_code]').val();
var customer_id = '<?php echo $customer->id;?>';
if (state_code != '' && tel_no != '') {