Skip to content

Instantly share code, notes, and snippets.

var filename = "write.xlsx";
var data = [[1,2,3],[true, false, null, "sheetjs"],["foo","bar",new Date("2014-02-19T14:30Z"), "0.3"], ["baz", null, "qux"]]
var ws_name = "Missed Calls";
var wb = XLSX.utils.book_new(), ws = XLSX.utils.aoa_to_sheet(data);
XLSX.utils.book_append_sheet(wb, ws, ws_name);
XLSX.writeFile(wb, filename);
pragma solidity ^0.4.21;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
/**
0xb200e766626C6B6Dd5C9b95BEe41bf76b3586b34
0xEc057A6698DA53874d5D6E871eCa2AF43CF6aF6d
https://gist.github.com/Nedudi/70a898c8d7f6205bc241ef3606ce890f
0xEc057A6698DA53874d5D6E871eCa2AF43CF6aF6d
<!-- Hotjar Tracking Code for https://ganttpro.com -->
<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:673025,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
pragma solidity ^0.4.15;
/**
* @title SafeMath
* @dev Math operations with safety checks that throw on error
*/
library SafeMath {
function mul(uint256 a, uint256 b) internal constant returns (uint256) {
uint256 c = a * b;
assert(a == 0 || c / a == b);
0x53c915C618FDEFafb3b9C94215B9eFD53E3BAb04
0x637F92b37D2f45aa7B8265400B06CBd57BF1260c