- ビルドシステムが複雑で辛いのでなんとかしたい
- mrubyとnginxはそれぞれ独自のビルドシステムを持っており、ngx_mrubyはそれをつなぐモジュールなので仕方ないけど…
- まだよくわかってないことが多い
- build.sh と test.shのコードが重複
- 環境変数と引数指定の混在をどうにかしたい
- ダイナミックモジュールとスタティックモジュールのビルドの整理。
- configure後は切り替えれないが、Makefileの中には切り替えているコードもある
- 再ビルド、生成したファイルの削除などが思ったようにいかないことがある。未調査。
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
diff --git a/.kitchen.yml b/.kitchen.yml | |
index 1e3fa53..8a55bf5 100644 | |
--- a/.kitchen.yml | |
+++ b/.kitchen.yml | |
@@ -2,6 +2,8 @@ | |
driver_plugin: vagrant | |
driver_config: | |
require_chef_omnibus: true | |
+ cache: | |
+ auto_detect: true |
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
alias ip 'echo "You are using `uname -s`, not Linux. Use traditional arp, ifconfig, netstat or route instead." && false' |
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/pkg/bin/ruby | |
# Copyright (c) 2015 Yuji Yamano | |
# The BSD 2-Clause License. | |
require 'open3' | |
require 'date' | |
require 'stringio' | |
module DSL | |
class Command |
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
I, Yuji Yamano, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Thu May 21 2015 14:37:22 GMT+0900 (JST) |
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
# Taken from embulk/lib/embulk/guess/csv.rb | |
def array_avg(array) | |
array.inject(0.0) {|r,i| r += i } / array.size | |
end | |
def array_variance(array) | |
avg = array_avg(array) | |
array.inject(0.0) {|r,i| r += (i - avg) ** 2 } / array.size | |
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
diff --git a/src/main/java/org/raml/parser/loader/FileResourceLoader.java b/src/main/java/org/raml/parser/loader/FileResourceLoader.java | |
index 5ec1e11..883b5bd 100644 | |
--- a/src/main/java/org/raml/parser/loader/FileResourceLoader.java | |
+++ b/src/main/java/org/raml/parser/loader/FileResourceLoader.java | |
@@ -42,12 +42,15 @@ public class FileResourceLoader implements ResourceLoader | |
@Override | |
public InputStream fetchResource(String resourceName) | |
{ | |
- File includedFile = new File(parentPath, resourceName); | |
+ File includedFile = new File(resourceName); |
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
ngx_http_core_access_phase(ngx_http_request_t *r, ngx_http_phase_handler_t *ph) の中で、サブリクエストの場合、ハンドラをスキップしている。 | |
if (r != r->main) { | |
r->phase_handler = ph->next; | |
return NGX_AGAIN; | |
} |
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
;; http://yanok.net/2010/07/mew34utf-8.html | |
(defun use-utf-8-for-jisx0213(ecsdb) | |
(let ((cs (nth 0 ecsdb)) | |
(enc (nth 1 ecsdb))) | |
(if (equal enc (intern "iso-2022-jp-3")) | |
(list (nth 0 ecsdb) 'utf-8 mew-charset-utf-8-encoding mew-charset-utf-8-header-encoding t) | |
ecsdb))) | |
(setq mew-cs-database-for-encoding (mapcar 'use-utf-8-for-jisx0213 mew-cs-database-for-encoding)) | |
(add-to-list 'mew-field-spec '("^\\(ARC-Seal\\|ARC-Message-Signature\\|ARC-Authentication-Results\\):$" nil)) |
- azure-webjobs-sdk
- ScanContainersStrategy.cs
- StorageBlobContainerExtensions.cs
- ScanContainersStrategy.cs
- PollLogsStrategy.cs
- BlobLogListener.cs
- ScanBlobScanLogHybridPollingStrategy.cs
- Azure/azure-webjobs-sdk#632
- https://docs.microsoft.com/en-us/dotnet/api/microsoft.windowsazure.storage.blob.cloudblobclient.listblobssegmentedasync?view=azurestorage-8.1.3
- https://docs.microsoft.com/en-us/dotnet/api/microsoft.windowsazure.storage.blob.bloblistingdetails?view=azurestorage-8.1.3
OlderNewer