Skip to content

Instantly share code, notes, and snippets.

@voluntas
voluntas / shiguredo_bot_system_gumistudy.rst
Last active April 30, 2017 02:08
時雨堂 BOT サーバー (gumiStudy #20)
CREATE TABLE todesking (created_at text, status int);
INSERT INTO todesking VALUES
('01-01', 0),
('01-02', 0),
('01-03', 1),
('01-04', 0)
;
SELECT
@hagino3000
hagino3000 / capture.js
Last active January 21, 2020 22:21
Capture screenshot using phantom.js
var page = new WebPage(),
address, output, size;
if (phantom.args.length != 2) {
console.log('Give me URL and filename');
phantom.exit();
} else {
address = phantom.args[0];
output = phantom.args[1];
page.viewportSize = { width: 1024, height: 768 };
[10/02/17 15:39:42] Toru Furukawa (tof): show は、デフォルトで見えてないものを見せるような動作じゃないかな。
[10/02/17 15:39:59] Toru Furukawa (tof): コートの前をはだけて、
[10/02/17 15:40:04] Toru Furukawa (tof): ちんこを show