Skip to content

Instantly share code, notes, and snippets.

@kysnm
kysnm / airflow.cfg
Last active December 17, 2021 00:02
[core]
airflow_home = /etc/airflow
dags_folder = /home/airflow/gcs/dags
base_log_folder = /home/airflow/gcs/logs
plugins_folder = /home/airflow/gcs/plugins
remote_logging = True
remote_log_conn_id = google_cloud_default
remote_base_log_folder = gs://asia-northeast1-settings-te-xxxxxxxx-bucket/logs
executor = CeleryExecutor
dags_are_paused_at_creation = False
Process: ruby [84587]
Path: /Users/USER/*/ruby
Identifier: ruby
Version: 0
Code Type: X86-64 (Native)
Parent Process: zsh [15611]
Responsible: ruby [84587]
User ID: 501
Date/Time: 2018-01-29 15:50:51.872 +0900
➜ ~ yarn
Usage: yarn [--config confdir] [COMMAND | CLASSNAME]
CLASSNAME run the class named CLASSNAME
or
where COMMAND is one of:
resourcemanager -format-state-store deletes the RMStateStore
resourcemanager run the ResourceManager
nodemanager run a nodemanager on each slave
timelineserver run the timeline server
rmadmin admin tools
Only in ./json-path/src/main/java/com/jayway/jsonpath/internal/path/: ArrayIndexOperation.java
diff -u ./json-path/src/main/java/com/jayway/jsonpath/internal/path/ArrayPathToken.java ~/src/sonots/embulk-filter-column/src/main/java/org/embulk/filter/column/path/ArrayPathToken.java
--- ./json-path/src/main/java/com/jayway/jsonpath/internal/path/ArrayPathToken.java 2016-08-03 17:14:02.000000000 +0900
+++ ~/src/sonots/embulk-filter-column/src/main/java/org/embulk/filter/column/path/ArrayPathToken.java 2016-08-24 14:33:21.000000000 +0900
@@ -1,189 +1,24 @@
-/*
- * Copyright 2011 the original author or authors.
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
@kysnm
kysnm / h2o.diff
Last active September 17, 2015 15:14
$ git submodule add [email protected]:kentaro/mruby-hibari.git deps/mruby-hibari
$ cmake -DWITH_MRUBY=ON . && make
$ ./h2o --version && ./h2o -c examples/h2o_mruby/h2o.conf
h2o version 1.5.0-beta2
OpenSSL: OpenSSL 1.0.2d 9 Jul 2015
mruby: YES
[INFO] raised RLIMIT_NOFILE to 10240
fetch-ocsp-response (using OpenSSL 1.0.2d 9 Jul 2015)
fetch-ocsp-response (using OpenSSL 1.0.2d 9 Jul 2015)
h2o server (pid:60181) is ready to serve requests
➜ h2o git:(master) sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.5
BuildVersion: 13F34
➜ h2o git:(master) openssl version
OpenSSL 0.9.8za 5 Jun 2014
➜ h2o git:(master) git checkout refs/tags/v1.2.0 -b v1.2.0
Switched to a new branch 'v1.2.0'
➜ h2o git:(v1.2.0) vim examples/libh2o/simple.c
1 /*
➜ h2o git:(v1.2.0) ✗ sw_vers -productVersion
10.9.5
➜ h2o git:(v1.2.0) ✗ openssl version
OpenSSL 0.9.8za 5 Jun 2014
➜ h2o git:(master) ✗ git checkout refs/tags/v1.2.0 -b v1.2.0
Switched to a new branch 'v1.2.0'
➜ h2o git:(v1.2.0) ✗ git log
➜ h2o git:(v1.2.0) ✗ cmake -DWITH_BUNDLED_SSL=on . && make
-- checking for module 'libwslay'
-- package 'libwslay' not found
➜ nghttp2 git:(master) nghttp --verbose https://localhost
[ 0.002] Connected
[ 0.004][NPN] server offers:
* h2
* h2-16
* h2-14
The negotiated protocol: h2-16
[ 0.007] send SETTINGS frame <length=12, flags=0x00, stream_id=0>
(niv=2)
[SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100]
% h2spec -p 8080 -h `boot2docker ip`
The VM's Host only interface IP address is:
3.5. HTTP/2 Connection Preface
✓ Sends invalid connection preface
4.2. Frame Size
✓ Sends too small size frame
✓ Sends too large size frame
% make
git submodule init
git submodule update
cd /tmp/src/trusterd/mruby && cp -f ../build_config.rb . && rake
GIT CHECKOUT master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
GIT CHECKOUT master
Already on 'master'
Your branch is up-to-date with 'origin/master'.