This file contains hidden or 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.util.Optional; | |
import java.util.stream.Collector; | |
import java.util.stream.Collectors; | |
public class StreamUtils { | |
/** | |
* (0でなく2以上でもない)ちょうど1つの要素を持っているリストから要素を取り出します. | |
* 要素数がちょうど1でない場合, 例外を送出します. | |
* collect終端操作の引数に指定します. |
This file contains hidden or 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.BufferedOutputStream; | |
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Path; | |
import java.nio.file.Paths; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipInputStream; | |
public class Main { |
This file contains hidden or 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
/** | |
* Sencha GXT 3.1.1 - Sencha for GWT | |
* Copyright(c) 2007-2014, Sencha, Inc. | |
* [email protected] | |
* | |
* http://www.sencha.com/products/gxt/license/ | |
*/ | |
package com.sencha.gxt.data.client.loader; | |
import java.util.ArrayList; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<base href="https://polygit.org/components/"> | |
<script src="webcomponentsjs/webcomponents-lite.js"></script> | |
<link rel="import" href="polymer/polymer.html"> | |
<link rel="import" href="polymer/polymer-element.html"> | |
<link rel="import" href="polymer/lib/elements/dom-repeat.html"> |
This file contains hidden or 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
RewriteEngine On | |
# Force from http to https | |
RewriteCond %{HTTPS} off | |
RewriteCond %{HTTP:X-Sakura-Forwarded-For} ^$ | |
RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] | |
# https://help.sakura.ad.jp/hc/ja/articles/206054662-mod-rewrite%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%9F%E3%82%A2% | |
E3%82%AF%E3%82%BB%E3%82%B9%E5%88%B6%E5%BE%A1 | |
RewriteCond %{HTTP_HOST} ^(www\.)?himeji-cs\.sakura\.ne\.jp$ [NC] |
This file contains hidden or 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
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
indent_size = 4 | |
indent_style = space | |
trim_trailing_whitespace = true |
This file contains hidden or 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
$ sudo apt-get install dotnet-sdk-2.1.200 | |
パッケージリストを読み込んでいます... 完了 | |
依存関係ツリーを作成しています | |
状態情報を読み取っています... 完了 | |
以下の追加パッケージがインストールされます: | |
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 aspnetcore-store-2.0.5 aspnetcore-store-2.0.6 aspnetcore-store-2.0.7 aspnetcore-store-2.0.8 | |
dotnet-host dotnet-hostfxr-2.0.7 dotnet-runtime-2.0.7 dotnet-runtime-deps-2.1.0-rc1 liblttng-ust-ctl2 liblttng-ust0 liburcu4 | |
以下のパッケージが新たにインストールされます: | |
aspnetcore-store-2.0.0 aspnetcore-store-2.0.3 aspnetcore-store-2.0.5 aspnetcore-store-2.0.6 aspnetcore-store-2.0.7 aspnetcore-store-2.0.8 | |
dotnet-host dotnet-hostfxr-2.0.7 dotnet-runtime-2.0.7 dotnet-runtime-deps-2.1.0-rc1 dotnet-sdk-2.1.200 liblttng-ust-ctl2 liblttng-ust0 liburcu4 |