curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar"
chmod +x ~/.embulk/bin/embulk
echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
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
./gradlew gemPush | |
> Task :gemPush | |
Executing: `java org.jruby.Main -rjars/setup -S gem push /path/to/embulk-filter-calc/build/gems/embulk-filter-calc-0.2.1.pretest-java.gem --verbose` | |
with working directory at: /path/to/embulk-filter-calc/build/gems | |
with classpath: [ /Users/user/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/9.4.3.0/7324205fb4ad1b40d6aee488db6e72918f397ad4/jruby-complete-9.4.3.0.jar ] | |
Pushing gem to https://rubygems.org... | |
POST https://rubygems.org/api/v1/gems | |
ERROR: While executing gem ... (IOError) | |
Broken pipe |
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>linuxのディスクI/O周りやxfsのソースコードを読めるようになるためのおすすめの参考資料募集中です
— Masahiko Sawada (@masahiko_sawada) June 16, 2023
# frozen_string_literal: true
require_relative "lib/hoge/version"
Gem::Specification.new do |spec|
spec.name = "hoge"
spec.version = Hoge::VERSION
spec.authors = ["Hiroyuki Sato"]
spec.email = ["e-mail"]
- OpenCV Image Filtering は様々なフィルタリングが提供されています。関数の中には、デフォルト値が設定されているものがあります。
以下は、デフォルトオプションが指定されている関数の例です。
cv::blur (InputArray src, OutputArray dst, Size ksize, Point anchor=Point(-1,-1), int borderType=BORDER_DEFAULT)
cv::filter2D (InputArray src, OutputArray dst, int ddepth, InputArray kernel, Point anchor=Point(-1,-1), double delta=0, int borderType=BORDER_DEFAULT)
cv::Laplacian (InputArray src, OutputArray dst, int ddepth, int ksize=1, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
cv::Sobel (InputArray src, OutputArray dst, int ddepth, int dx, int dy, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
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' | |
=begin | |
KEYS = %[ | |
clientID | |
connectionId | |
message | |
messageroomId |
N,NAME
1,林檎
2,蜜柑
3,白桃
4,南瓜
- 仕組み上タスク毎に作業ディレクトリを作って
py>
,sh>
,rb>
などのスクリプトオペレータ以外は変えられない。 - タスク毎にカレンとディレクトリは変わるが、カレントディレクトリには
digdag push
したコンテンツがあるディレクトリになっている。 - digdag pushは
.
で始まるファイルはpushしない
ということを踏まえて
- digdag pushするプロジェクト直下に、pipenv というディレクトリを作り
pipenv
の設定を置く - py>オペレータ実行時に、上記ディレクトリを参照するようにする
イメージ
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
rbenv install jruby-9.3.0.0 | |
Downloading jruby-bin-9.3.0.0.tar.gz... | |
-> https://dqw8nmjcqpjn7.cloudfront.net/2dc1f85936d3ff3adc20d90e5f4894499c585a7ea5fedec67154e2f9ecb1bc9b | |
Installing jruby-9.3.0.0... | |
tr: Illegal byte sequence | |
BUILD FAILED (macOS 11.6 using ruby-build 20210928) | |
Inspect or clean up the working tree at /var/folders/3s/5cm202m95zsglpy26c6_7j9m0000gn/T/ruby-build.20210930202800.79151.JkfMTR | |
Results logged to /var/folders/3s/5cm202m95zsglpy26c6_7j9m0000gn/T/ruby-build.20210930202800.79151.log |
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
org.embulk.output.s3.TestS3FileOutputPlugin > testEmbulk STANDARD_ERROR | |
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". | |
SLF4J: Defaulting to no-operation (NOP) logger implementation | |
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. | |
Hidden dependencies are uninitialized. Maybe using classes loaded by Embulk's top-level ClassLoader. | |
testCompile "junit:junit:4.13.2" | |
testCompile "org.embulk:embulk-core:0.10.32" |
NewerOlder