This file contains hidden or 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
#coding=utf-8 | |
import sys | |
import json | |
import os | |
import logging | |
import glob | |
logging.basicConfig(level=logging.DEBUG, | |
format="%(asctime)s - %(message)s", |
This file contains hidden or 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
html { | |
font-size: 100px; | |
background: #fff; | |
} | |
body{ | |
font-size: .14rem; | |
position: relative; | |
min-height: 100vh; | |
color: #000; |
This file contains hidden or 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
(function(){ | |
let comments = document.querySelectorAll('.js-minimizable-comment-group'); | |
let list = []; | |
[].slice.call(comments, 0).forEach(comment => { | |
let heads = comment.querySelectorAll('.js-comment h2'); | |
let ref = '#' + comment.getAttribute('id'); | |
if(ref.match(/^#issuecomment/)){ | |
[].slice.call(heads, 0).forEach(head => { | |
list.push(`- [${head.innerHTML}](${ref})`); | |
}); |
This file contains hidden or 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
int CDate::operator-(const CDate d)const{ | |
int days; | |
int nm = (_Month + 9) % 12; // | |
int ny = _Year - nm / 10; | |
int nd = 365 * ny + ny / 4 - ny / 100 + ny / 400 + (nm * 306 + 5) / 10 + (_Day - 1); | |
int nm1 = (d._Month + 9) % 12; | |
int ny1 = d._Year - nm1 / 10; | |
int nd1 = 365 * ny1 + ny1 / 4 - ny1 / 100 + ny1 / 400 + (nm1 * 365 + 5) / 10 + (d._Day - 1); | |