$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install certbot
standalone
$ sudo certbot certonly --standalone -d example.com -m some@example.com --agree-tos -n
const Chromy = require('chromy') | |
const word = 'JavaScript' | |
const chromy = new Chromy() | |
chromy.chain() | |
.goto('https://www.amazon.co.jp/') | |
.select('select#searchDropdownBox', 'search-alias=stripbooks') | |
.insert('input#twotabsearchtextbox', word) | |
.click('input[type=submit]', {waitLoadEvent: true}) |
const Chromy = require('chromy') | |
const word = 'ヘッドレスブラウザ' | |
const chromy = new Chromy() | |
chromy.chain() | |
.goto('https://google.com') | |
.insert('input[type=text]', word) | |
.click('input[value^=Google]', {waitLoadEvent: true}) | |
.evaluate(() => { |
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install certbot
standalone
$ sudo certbot certonly --standalone -d example.com -m some@example.com --agree-tos -n
1つの入力に対して複数の出力をするには、tee
を使う。
以下は、RTMP入力をパイプする例。
$ gst-launch-1.0 rtmpsrc location=$INPUT ! flvdemux ! flvmux ! tee name=t ! queue ! rtmpsink location=$OUT1 t. ! queue ! rtmpsink location=$OUT2
'use strict' | |
function main (input) { | |
let x = Number(input) | |
if (x < 1200) { | |
console.log('ABC') | |
} else { | |
console.log('ARC') | |
} | |
} |
package main | |
import ( | |
"fmt" | |
) | |
func main() { | |
var a int | |
var answer string | |
fmt.Scan(&a) |