Windows で Java EE 開発をするための Eclipse の準備方法。
Eclipse のダウンロードページ より、「Eclipse IDE for Java EE Developers」 をダウンロードして展開する。
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.5.+' | |
} | |
} | |
apply plugin: 'android' | |
tasks.withType(JavaCompile) { |
// buildSrc/src/main/groovy/JavaAptPlugin.groovy | |
class JavaAPT extends DefaultTask { | |
private File _destinationDir | |
def getDestinationDir(dir) { _destinationDir } | |
void setDestinationDir(dir) { | |
_destinationDir = dir | |
outputs.dir _destinationDir | |
} |
// clientId や clientSecret、topicId を設定して、groovy コマンドでこのファイルを実行すれば動きます。 (指定のトピックに投稿されます。) | |
// このサンプルコードはコピペ等でご自由にお使いください。 (問題が発生しても責任は負いかねます。) | |
String clientId = "XXXX" | |
String clientSecret = "XXXX" | |
// 投稿先トピックの ID | |
String topicId = "XXXX" | |
// 投稿するメッセージ | |
String message = "Groovy でこんにちは!" |
$ 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 |
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 { |
Windows で Java EE 開発をするための Eclipse の準備方法。
Eclipse のダウンロードページ より、「Eclipse IDE for Java EE Developers」 をダウンロードして展開する。
Windows で Scala 開発をするための Eclipse の準備方法。
Eclipse のダウンロードページ より、「Eclipse IDE for Java Developers」 をダウンロードして展開する。
Install-Package : パッケージ 'XXX 1.0.0' をインストールできませんでした。 | |
このパッケージを 'Windows,Version=v0.0' を対象とするプロジェクトにインストールしようとしていますが、 | |
そのフレームワークと互換性があるアセンブリ参照またはコンテンツ ファイルがパッケージに含まれていません。 | |
詳細については、パッケージの作成者に問い合わせてください。 |
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.
package info.vividcode; | |
import java.io.BufferedInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.util.List; | |
import java.util.concurrent.TimeUnit; | |
/** | |
* すぐに実行終了するコマンド (外部プロセス) を実行するクラス。 |