Skip to content

Instantly share code, notes, and snippets.

View vinaynb's full-sized avatar

Vinay Bhinde vinaynb

View GitHub Profile
@vinaynb
vinaynb / education-boards-comparision-ai-research.md
Last active August 19, 2025 07:35
A Parent's Guide to Choosing the Right School Board in India: CBSE vs. ICSE vs. IB vs. Cambridge

A Parent's Guide to Choosing the Right School Board in India: CBSE vs. ICSE vs. IB vs. Cambridge

Note - This research was done using an AI Tool.

Executive Summary: Key Differences at a Glance

The Indian educational landscape offers four primary boards, each with a distinct philosophy and target student profile [executive_summary[0]][1]. The Central Board of Secondary Education (CBSE), a government board and the most popular in India, follows a structured curriculum with a strong emphasis on Maths and Sciences, making it ideal for students preparing for national competitive exams like JEE and NEET [executive_summary[0]][1]. Its pedagogy is traditionally knowledge-based, though it is now evolving under the National Education Policy (NEP) 2020 to incorporate more critical thinking [executive_summary[0]][1] [executive_summary[1]][2]. The Council for the Indian School Certificate Examinations (CISCE), a private national board, champions a more balanced and comprehensive approach, giving equal weigh

function submitForm() {
var productInfo = "hello";
var form = document.getElementById('myForm');
var productInfoInput = document.getElementById('productInfo');
var amt = getParameterByName('amt');
var name = getParameterByName('name');
var mobileNo = getParameterByName('mobileNo');
var email = getParameterByName('email');
var bookingId = getParameterByName('bookingId');
var salt = "xxxxx";
@vinaynb
vinaynb / email-address-syntax-validation-let-the-browser-do-it.md
Created December 9, 2016 05:34 — forked from nepsilon/email-address-syntax-validation-let-the-browser-do-it.md
Email address syntax validation? Let the browser do it (without regexp) — First published in fullweb.io issue #77

Email address syntax validation? Let the browser do it (without regexp)

Here is a simple and robust way to check for the validity of an email address syntax directly in the browser. No need for crazy regular expressions.

e = document.createElement('input')
e.type = 'email'
// check some email addresses
e.value = 'hi@'
@vinaynb
vinaynb / jsxFormatST3.md
Last active September 27, 2016 10:08
A brief steps by which you can enable jsx formatting in Sublime Text 3

JSX Formatting in Sublime Text 3

NOTE - First and foremost there is no direct single package utpill now that does >the job for you. If you think installing babel-sublime will do then this then you are wrong, it enables syntax highlighting but does not format the code for you.

Follow these steps on ST3

  • Install jsfmt package
  • jsfmt is used for javascript formatting in sublime text. But as we have jsx files with different syntax we will need additional plugins that will help jsfmt format jsx files as well. These additional plugins are esformatter-jsx and esformatter
  • Open up the Packages folder by selecting Browse Packages option from Preferences menu and navigate to jsfmt package folder
  • run below command which installs the 2 plugins we listed above
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<!-- <meta http-equiv="refresh" content="5; URL='paymentSuccess.html'" /> -->
</head>
<body>
<h1></h1>
<form action="https://secure.payu.in/_payment" method="post" id="myForm" name="payuForm">
startPaymentProcess: function(bookingId) {
//gets the data required by Payumoney
var pgData = this.getDataForPaymentGateway();
//create a Url with query parameters containing our data
var url = "pgLoader.html?amt=" + pgData.amt + "&name=" +
pgData.name + "&mobileNo=" + pgData.mobileNo + "&email=" + pgData.email + "&bookingId=" + bookingId;
//open a webview instance using inappbrowser plugin
var w = window.open(url, '_blank', 'location=no,hardwareback=no');
ActivityIndicator.show("Processing...Please wait..");
var me = this;
# Change url to your domain. Leave localhost server or blank when working locally.
# or use the hint from http://jekyllrb.com/docs/github-pages/ to keep this the same
# whether working locally or remotely. Start Jekyll with: jekyll serve --baseurl ''
# Local
baseurl: "0.0.0.0"
# Live
# baseurl: "http://vinaynb.github.io/"
@vinaynb
vinaynb / chromeAutocompleteOverride.css
Created January 5, 2016 10:44
CSS Snippet to override chrome autocomplete styling of input text
/* used to override pale yellow color that chrome uses when user chooses an item from
its autocomplete list */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
transition: background-color 5000s ease-in-out 0s;
}
input:-webkit-autofill {