Skip to content

Instantly share code, notes, and snippets.

View koh110's full-sized avatar

Kohta Ito koh110

View GitHub Profile
@koh110
koh110 / chrome.md
Last active January 26, 2016 15:17
hatena

General

Request URL:http://b.hatena.ne.jp/search/text?q=site%3A
Request Method:GET
Status Code:500 Internal Server Error
Remote Address:59.106.194.16:80

Request

@koh110
koh110 / nodefest2016.md
Created November 13, 2016 13:05
nodefest2016 memo

Building Interactive npm Command Line Modules

Irina Shestak

interactiveなcommand lineアプリケーション

オプションの意味を全て理解しながらcommand line command を打つのは難しいよね

commnadをprogramに伝えるという表現ではなく、プログラムと対話すると表現するべきじゃない? webpageだと登録とかインタラクティブにできるとわかりやすいし、コマンドラインもそうあるべきじゃないか

@koh110
koh110 / ng-conf2017-2.md
Last active November 26, 2017 13:31
ng-conf 2017 Feedback

Sharing is Caring… At Scale!

Sarah Saltrick Meyer

Sarah Saltirick Meyer frontend engineerです。
Buzzfeedで働いてます。
python, js を使ってます。
ときにはコードシェアしたくなるよね
え?なんで?
社外の開発者にコードを渡したい、クライアントサイドアプリをいくつも開発したい、フロントエンドは幾つものアプリに分けられているが統一した体験が必要

@koh110
koh110 / puppeteer.js
Last active November 7, 2017 14:07
scraping
const puppeteer = require('puppeteer')
;(async () => {
const browser = await puppeteer.launch()
const page = await browser.newPage()
await page.goto('https://google.com')
await page.screenshot({path: 'example.png'})
await browser.close()
})()
const moment = require('moment')
const dayjs = require('dayjs')
const { format } = require('date-fns')
const limit = 10000
const date = new Date()
console.time('intl')
for (let i = 0; i < limit; i++) {
@koh110
koh110 / exec.md
Created November 21, 2019 10:50
promiseラップするとどれくらい遅くなるか
$ node -v
v12.12.0

$ node promise.js
pure: 4.863ms
promise: 47.649ms
@koh110
koh110 / vmware.md
Last active July 22, 2022 08:24
VMware