- fastlane のアクション
- iOS プロジェクトのビルド結果である result bundle (.xcresult 拡張子) に含まれるカバレッジ情報から SonarQube の Generic Coverage を生成する
- Result bundle については 「Xcode 11 Release Notes」 を参照
- Xcode 11 以降に対応
- 内部では
xccov
コマンドが使用される
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
// === ドメインレイヤ === | |
sealed class FizzBuzzValue { | |
abstract val expression: String | |
data class Number(override val expression: String) : FizzBuzzValue() | |
object Fizz : FizzBuzzValue() { override val expression: String = "Fizz" } | |
object Buzz : FizzBuzzValue() { override val expression: String = "Buzz" } | |
object FizzBuzz : FizzBuzzValue() { override val expression: String = "FizzBuzz" } | |
} |
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
import javax.ws.rs.WebApplicationException | |
import javax.ws.rs.core.Response | |
// 使う側の例。 | |
fun main(args: Array<String>) { | |
FooApplicationService.fetchFoo("taro", "").then { | |
when (it) { | |
is Either.Right -> Response.ok().entity(it.value) | |
is Either.Left -> when (it.value) { |
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
package info.vividcode; | |
import java.io.BufferedInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.util.List; | |
import java.util.concurrent.TimeUnit; | |
/** | |
* すぐに実行終了するコマンド (外部プロセス) を実行するクラス。 |
Sometimes you want to commit a subfolder on an arbitrary branch (rather than gh-pages
branch) as the root directory
to the gh-pages
branch.
You will want to do so when, for example, the files to be published on GitHub Pages are generated by a build system.
This document shows the way to commit a build/gh-pages
directory to the gh-pages
branch by using Git plumbing commands.
In the following example, Windows PowerShell is used as a shell environment.
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
Install-Package : パッケージ 'XXX 1.0.0' をインストールできませんでした。 | |
このパッケージを 'Windows,Version=v0.0' を対象とするプロジェクトにインストールしようとしていますが、 | |
そのフレームワークと互換性があるアセンブリ参照またはコンテンツ ファイルがパッケージに含まれていません。 | |
詳細については、パッケージの作成者に問い合わせてください。 |
Windows で Scala 開発をするための Eclipse の準備方法。
Eclipse のダウンロードページ より、「Eclipse IDE for Java Developers」 をダウンロードして展開する。
Windows で Java EE 開発をするための Eclipse の準備方法。
Eclipse のダウンロードページ より、「Eclipse IDE for Java EE Developers」 をダウンロードして展開する。
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
import java.io.IOException; | |
import com.google.api.client.http.GenericUrl; | |
import com.google.api.client.http.HttpRequest; | |
import com.google.api.client.http.HttpRequestFactory; | |
import com.google.api.client.http.HttpResponse; | |
import com.google.api.client.http.HttpTransport; | |
import com.google.api.client.http.javanet.NetHttpTransport; | |
public class GoogleHttpJavaClientExample { |
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
$ proxychains ssh xxx.xxx | |
ProxyChains-3.1 (http://proxychains.sf.net) | |
|DNS-request| xxx.xxx | |
|S-chain|-<>-127.0.0.1:1080-<><>-X.X.X.X:XX-<><>-OK | |
|DNS-response|: xxx.xxx is not exist | |
ssh: Could not resolve hostname xxx.xxx: Unknown error |
NewerOlder