Skip to content

Instantly share code, notes, and snippets.

View jjaramillo's full-sized avatar

Jaime Jaramillo jjaramillo

  • Globant
  • Bogotá, Colombia
View GitHub Profile
@jjaramillo
jjaramillo / gist:2353948
Created April 10, 2012 19:40
Weird Date behaviour on chrome
currentHoliday.DateTime
"2012-04-06T00:00:00"
new Date(currentHoliday.DateTime)
Thu Apr 05 2012 19:00:00 GMT-0500 (SA Pacific Standard Time)
@jjaramillo
jjaramillo / gist:2354525
Created April 10, 2012 21:06
Deserialize an aspnet serialized (json) datetime
Date(parseInt(/\/Date\((\d+).*/.exec(currentHoliday.DateTime)[1]));
WebserviceCall = function () {
{
var enable = true;
var listId = SP.ListOperation.Selection.getSelectedList();
var items = SP.ListOperation.Selection.getSelectedItems();
if (items.length == 0)
return false;
var selectedIds = new Array();
"{ "selectedIds": [8], "listId":"{77c51b5a-fb48-4228-8c92-ee5834d7fefc}" }"
@jjaramillo
jjaramillo / gist:2828457
Created May 29, 2012 13:45
Nuget update log
29/05/2012 08:44:19 a.m. - Microsoft Visual Studio Extension Installer
29/05/2012 08:44:19 a.m. - -------------------------------------------
29/05/2012 08:44:19 a.m. - Initializing Install...
29/05/2012 08:44:19 a.m. - Extension Details...
29/05/2012 08:44:19 a.m. - Identifier : NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5
29/05/2012 08:44:19 a.m. - Name : NuGet Package Manager
29/05/2012 08:44:19 a.m. - Author : Microsoft Corporation
29/05/2012 08:44:19 a.m. - Version : 1.8.30423.9026
29/05/2012 08:44:19 a.m. - Description : A collection of tools to automate the process of downloading, installing, upgrading, configuring, and removing packages from a VS Project.
29/05/2012 08:44:19 a.m. - Locale : en-US