jsprimerというJavaScriptの書籍を書いている。 これを書いてるときに参考にしているものを書いていく。
ECMAScriptのLiving Standardな仕様書ページ。 スナップショットなECMAScriptの仕様書ページもあるけど、基本的にはLiving Standardの方しか見てない。
| const https = require('https'); | |
| async function httpsGet(hostname, path, headers) { | |
| return new Promise(async (resolve, reject) => { | |
| const options = { | |
| hostname: hostname, | |
| path: path, | |
| port: 443, | |
| method: 'GET', |
| # For just your local account | |
| defaults write ~/Library/Preferences/us.zoom.config.plist ZDisableVideo 1 | |
| # For all users on the machine | |
| sudo defaults write /Library/Preferences/us.zoom.config.plist ZDisableVideo 1 |
jsprimerというJavaScriptの書籍を書いている。 これを書いてるときに参考にしているものを書いていく。
ECMAScriptのLiving Standardな仕様書ページ。 スナップショットなECMAScriptの仕様書ページもあるけど、基本的にはLiving Standardの方しか見てない。
| // ==UserScript== | |
| // @name Notion App Opener | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Replace Notion URL to open native app | |
| // @author Masayuki Uehara | |
| // @match https://*.notion.so/* | |
| // @match https://notion.so/* | |
| // @grant window.close | |
| // ==/UserScript== |
(1) ある日、yamaya さんという怖い方がこのツイートを投稿する。
| 更新: | 2021-05-23 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2021.1 |
| URL: | https://voluntas.github.io/ |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # This script to install Kubernetes will get executed after we have provisioned the box | |
| $script = <<-SCRIPT | |
| # Install kubernetes | |
| apt-get update && apt-get install -y apt-transport-https | |
| curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - | |
| cat <<EOF >/etc/apt/sources.list.d/kubernetes.list |