Skip to content

Instantly share code, notes, and snippets.

View sunilmurali's full-sized avatar
🎯
Focusing

sunilmurali

🎯
Focusing
View GitHub Profile
@sunilmurali
sunilmurali / grid add pager on top
Last active February 3, 2017 00:58
KendoGrid test
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Kendo UI Snippet</title>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.common.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.rtl.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.silver.min.css"/>
<link rel="stylesheet" href="http://kendo.cdn.telerik.com/2017.1.118/styles/kendo.mobile.all.min.css"/>
<script src="http://code.jquery.com/jquery-1.12.4.min.js"></script>
@sunilmurali
sunilmurali / gist:42e2a03d64ceb4ebe2a746c560fdfcc0
Last active March 31, 2017 22:15
Git commit get JIRA numbers
var a=document.getElementsByClassName('commit-message');var textSet=new Set(); for (i=0;i<a.length;i++) { var res=a[i].innerText.match(/KNDY-\d{4,}/g); if ( res) res.forEach(function(a) { textSet.add(a);}) } console.log([...textSet].join(','));