Skip to content

Instantly share code, notes, and snippets.


Kirill Gusyatin kikill95

View GitHub Profile
kikill95 /
Created Oct 8, 2015 — forked from galulex/
Ruby On Rails Ubuntu 15.04 install

Developer libs

mysql, rmagic, curl, git, vim, sqlite, nodejs nokogiri...

sudo apt-get install libxslt1-dev libxml2-dev libmagickwand-dev imagemagick libsqlite3-dev libcurl4-openssl-dev curl git git-gui vim-gtk exuberant-ctags nodejs nodejs-legacy rar


sudo apt-get install python-software-properties

sudo apt-add-repository ppa:brightbox/ruby-ng

kikill95 / ExcelToJsDate.js
Last active Apr 25, 2018 — forked from christopherscott/ExcelToJsDate.js
Convert Excel date values to JavaScript date objects
View ExcelToJsDate.js
// Convert Excel dates into JS date objects
// @param excelDate {Number}
// @return {Date}
function getJsDateFromExcel(excelDate) {
// JavaScript dates can be constructed by passing milliseconds
// since the Unix epoch (January 1, 1970) example: new Date(12312512312);