Skip to content

Instantly share code, notes, and snippets.

Avatar

Kirill Gusyatin kikill95

View GitHub Profile
@kikill95
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);
@kikill95
kikill95 / install.md
Created Oct 8, 2015 — forked from galulex/install.md
Ruby On Rails Ubuntu 15.04 install
View install.md

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

Ruby

sudo apt-get install python-software-properties

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