wakame
https://gyazo.com/f3ac96771200050ded7a3ed5d267e564
お仕事で最近話題のDeepLearningを取り扱っています
最近は機械学習・DeepLearning関連に熱が入っています
MOOC、資格勉強が終わったらKaggleに挑戦してみたいなと思っています
そうなったらパソコン新調しないと・・・(#^.^#)
https://qiita.com/wakamezake
https://teratail.com/users/wakame
https://github.com/wakamezake
https://wakamezake.github.io/blog/
wakame.icontanabeさんより
code:script.js
scrapbox.PageMenu.addItem({
title: '日報作成',
image: 'https://i.gyazo.com/00c6ce2d4659ab83b80b899ce52c204d.png',
onClick: () => {
const prj = "kimaben";
const userName = "wakame";
let toDoubleDigits = function(num) {
num += "";
if (num.length === 1) {
num = "0" + num;
}
return num;
};
let date = new Date();
let yyyy = date.getFullYear();
let mm = toDoubleDigits(date.getMonth() + 1);
let dd = toDoubleDigits(date.getDate());
let hh = toDoubleDigits(date.getHours());
let MM = toDoubleDigits(date.getMinutes());
let content = "+ yyyy + "-" + mm + "-" + dd + " "+ "+ userName + "" + "日報";
let title = yyyy + "-" + mm + "-" + dd + "-" + userName;
window.open("https://scrapbox.io/" + prj + "/" + title + "?body=" + content);
}
})