名前 | 局 | 放送時間 | done |
---|---|---|---|
魔法少女 俺 | TOKYO MX | 2018/04/03(Tuesday) 01:40〜 | done |
立花館To Lieあんぐる | TOKYO MX | 2018/04/04(Wednesday) 01:00〜 | done |
3D彼女 リアルガール | 日本テレビ | 2018/04/04(Wednesday) 01:59〜 | done |
ありすorありす | TOKYO MX | 2018/04/04(Wednesday) 22:25〜 | done |
アイカツフレンズ! | テレビ東京系 | 2018/04/05(Thursday) 18:25〜 | done |
多田くんは恋をしない | TOKYO MX | 2018/04/05(Thursday) 22:00〜 | done |
こみっくがーるず | TOKYO MX | 2018/04/05(Thursday) 23:30〜 | done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ embulk run -b ./ -l debug test.yaml.liquid -c test_diff.yaml | |
2019-02-27 15:22:24.626 +0000: Embulk v0.8.18 | |
2019-02-27 15:22:26.115 +0000 [INFO] (0001:transaction): Loaded plugin embulk-input-mysql (0.9.3) | |
2019-02-27 15:22:26.144 +0000 [INFO] (0001:transaction): Loaded plugin embulk-output-gcs (0.4.3) | |
2019-02-27 15:22:26.175 +0000 [INFO] (0001:transaction): JDBC Driver = /some_path/vendor/bundle/jruby/2.3.0/gems/embulk-input-mysql-0.9.3/default_jdbc_driver/mysql-connector-java-5.1.44.jar | |
2019-02-27 15:22:26.183 +0000 [INFO] (0001:transaction): Fetch size is 10000. Using server-side prepared statement. | |
2019-02-27 15:22:26.184 +0000 [INFO] (0001:transaction): Connecting to jdbc:mysql://xxx options {useCompression=true, socketTimeout=3600000, useSSL=..., user=..., useLegacyDatetimeCode=..., tcpKeepAlive=..., useCursorFetch=..., connectTimeout=..., password=***, zeroDateTimeBehavior=convertToNull} | |
2019-02-27 15:22:26.436 +0000 [INFO] (0001:transaction): Using JDBC Driver mysql-co |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require "json" | |
require "ipaddress" | |
patterns = [ | |
"10\\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))", | |
"172\\.(1[6-9]|2[0-9]|3[0-1])\\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))", | |
"192\\.168\\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))\\.([0-9]|[1-9][0-9]|1([0-9][0-9])|2([0-4][0-9]|5[0-5]))", | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [1, 2].atom_map{|x| Integer === x ? x * 2 : x } | |
# => [2, 4] | |
# | |
# [1, 2, [3, 4]].atom_map{|x| Integer === x ? x * 2 : x } | |
# => [2, 4, [6, 8]] | |
# | |
# [1, 2, [3, {k: 4, v: 3}]].atom_map{|x| Integer === x ? x * 2 : x } | |
# => [2, 4, [6, {:k=>8, :v=>6}]] | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#standardSQL | |
-- ref: https://gist.github.com/campoy/122f5e24740488e6ea3c973ab195e158 | |
CREATE TEMPORARY FUNCTION twice(x INT64) | |
RETURNS INT64 | |
LANGUAGE js AS """ | |
const memory = new WebAssembly.Memory({ initial: 256, maximum: 256 }); | |
const env = { | |
'abortStackOverflow': _ => { throw new Error('overflow'); }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.defineProperty(Array.prototype, 'yield_self', { | |
enumerable: false, | |
value: function(f) { return f(this); } | |
}); | |
// > array | |
// [ 1, 2, 3 ] | |
// > array.yield_self(x => x.concat(x)) | |
// [ 1, 2, 3, 1, 2, 3 ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
class TM | |
BLANK = :blank | |
MOVE_LEFT = :left | |
MOVE_RIGHT = :right | |
HALT = :halt | |
attr_reader :pos, :state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'uri' | |
require 'json' | |
require 'net/http' | |
module RestClient | |
class << self | |
def get(path) | |
execute :get, path | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hosts: | |
"example.com": | |
listen: | |
port: 443 | |
ssl: | |
key-file: /etc/h2o/key.pem | |
certificate-file: /etc/h2o/cert.pem | |
http2-casper: ON | |
reproxy: ON | |
paths: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun can-place (x y queens) | |
(cond | |
((member t (mapcar #'(lambda (xy) (or (= x (car xy)) (= y (cadr xy)))) queens)) nil) | |
((member t (mapcar #'(lambda (xy) (= 1 (abs (/ (- x (car xy)) (- y (cadr xy)))))) queens)) nil) | |
(t))) | |
; try putting a queen to (x y); | |
; if possible, put it and try putting recursively | |
; otherwise, trying putting a queen in order: (1 1) ~ (max max) |