こんにちは、 JavaScript Robotics Advent Calendar 2016 13日目の記事です。
趣味でWebGPIO/I2Cのpolyfillを実装し、実際にいろいろな人々に使ってもらいフィードバックを受けての感想と今後についてつらつらと書きたいと思います。
{ | |
"version": "fae0bde4-2075-4f21-b563-3cd619eb8fc1" | |
} |
こんにちは、 JavaScript Robotics Advent Calendar 2016 13日目の記事です。
趣味でWebGPIO/I2Cのpolyfillを実装し、実際にいろいろな人々に使ってもらいフィードバックを受けての感想と今後についてつらつらと書きたいと思います。
// Inspired in http://www.johneday.com/422/time-based-gmail-filters-with-google-apps-script | |
// Deletes old marked conversations | |
function cleanUp() { | |
var delayDays = 5; // # of days before messages are moved to trash | |
var label = "Delete me"; // label to identify the messages | |
var maxDate = new Date(Date.now() - delayDays * 24 * 60 * 60 * 1000); | |
var userLabel = GmailApp.getUserLabelByName(label); | |
if (!userLabel) { | |
return; |
import { readFile, writeFileSync } from 'fs'; | |
(async () => { | |
const nxJson: { [id: string]: object } = JSON.parse( | |
await new Promise((r, j) => | |
readFile('./nx.json', 'utf-8', (e, data) => (e ? j(e) : r(data))) | |
) | |
); | |
const angularJson: { [id: string]: object } = JSON.parse( | |
await new Promise((r, j) => |
docker run -u zap -p 9090:9090 -i owasp/zap2docker-weekly zap.sh -daemon -host 0.0.0.0 -port 9090 \
-config api.addrs.addr.name=.* -config api.addrs.addr.regex=true -config api.key=< your api key > \
-config hud.enabledForDaemon=true
function columnStart() { | |
return 3; | |
} | |
function replaceHyperlink(str){ | |
var splitStr = str.split('\"');; | |
return { | |
url: splitStr[1], | |
name: splitStr[3], | |
}; |