This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(',')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page > | |
<style> | |
.k-task { | |
background: rgba(247,198,52,1) | |
} | |
.k-task-overlap { | |
z-index:2; | |
background: rgba(247,198,52,1); | |
/* IE6-9 */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Word cloud layout by Jason Davies, http://www.jasondavies.com/word-cloud/ | |
// Algorithm due to Jonathan Feinberg, http://static.mrfeinberg.com/bv_ch03.pdf | |
(function(exports) { | |
function cloud() { | |
var size = [256, 256], | |
text = cloudText, | |
font = cloudFont, | |
fontSize = cloudFontSize, | |
fontStyle = cloudFontNormal, | |
fontWeight = cloudFontNormal, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": [ | |
{ "id": "com1" , "sequence":0, "fixed": true, "x":100,"y":100 }, | |
{ "id": "com2" , "sequence":1, "fixed": true, "x":100,"y":100 }, | |
{ "id": "com3" , "sequence":1, "fixed": true, "x":100,"y":100 }, | |
{ "id": "com4" , "sequence":2, "fixed": true, "x":100,"y":100 }, | |
{ "id": "com5" , "sequence":2, "fixed": true, "x":100,"y":100 }, | |
{ "id": "com6" , "sequence":2, "fixed": true, "x":100,"y":100 } | |
], | |
"links": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# login in the jenkins server with: | |
# | |
# heroku login | |
# heroku keys:add | |
# | |
# Doing so, jenkins will have permission to deploy to | |
# the heroku remote. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================ WIP ============= | |
/** | |
* Express router needs to be defined and each file module.exports should return the router | |
*/ | |
var fs = require ('fs' ) ; | |
var _ = require ('lodash'); | |
var routes = {}; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File upload from Visual force page = 10 MB limit | |
File uplaod via SOAP API = 25MB Limit | |
SOAP API File Upload: | |
1. jquery/kendo | |
2. connection.js | |
3. FileReader [ readAsBinaryString ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************************************** | |
* @description Kendo UI plugin for Drag Drop list | |
* @author Sunil Murali | |
* @extends Kendo UI | |
* @usage $(selector).kendoDragDropList({ | |
* options | |
* }); | |
*********************************************************************************/ | |
(function($) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//sign(), download(), processCommand() part of AsposeService.cls | |
public static String generateJunkDataXML (Integer rows, Integer columns) { | |
//String xmlString = '<ImportStringArrayOption><DestinationWorksheet>Sheet1</DestinationWorksheet><FirstRow>1</FirstRow><FirstColumn>1</FirstColumn><IsInsert>true</IsInsert><IsVertical>true</IsVertical><Data>'; | |
String xmlString = '<ImportBatchDataOption><DestinationWorksheet>Sheet1</DestinationWorksheet><ArrayOfCellValue>' ; | |
for ( Integer row =1;row< rows; row++) { | |
//xmlString += '<ImportStringArrayOption><DestinationWorksheet>Sheet1</DestinationWorksheet><FirstRow>1</FirstRow><FirstColumn>'+row+'</FirstColumn><IsInsert>false</IsInsert><IsVertical>true</IsVertical><Data>' ; | |
for ( Integer column=1;column<columns; column++) { | |
//xmlString += '<string>something</string>' ; | |
xmlString += '<CellValue> <rowIndex>'+row+'</rowIndex> <columnIndex>'+column+'</columnIndex> |
NewerOlder