Skip to content

Instantly share code, notes, and snippets.

ごみ出し日カレンダーアプリ

  • 毎週・隔週(2週間に1度など)・月ごとの隔週(毎月第2・第4など)

  • 指定の週につき1回~N回

  • 自治体ごとに分別科目が異なる(燃えるごみ・プラスチック・燃えないごみ・危険物・粗大ごみなど)

  • いつ出せるかを知りたい 指定した地域の今月のごみ出し日を知りたい 指定した地域の指定した月のごみ出し日を知りたい

@siguremon
siguremon / HelloWorldController.java
Last active August 29, 2015 13:57
Spring3のSpring MVCでなるべく最小単位のHello world ref: http://qiita.com/siguremon/items/84c831391a6204079fd2
package controller;
import static org.springframework.web.bind.annotation.RequestMethod.GET;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
// (1)
@Controller
public class HelloWorldController {
@siguremon
siguremon / file0.txt
Created December 11, 2013 02:12
Rangeで取得したデータを常に配列型として扱う ref: http://qiita.com/siguremon/items/eb8b7d234c6391e2a829
Dim lastRow As Long
Dim varData As Variant
' なんらかの方法でlastRowを取得
varData = Worksheets("address").Range("B2:B" & lastRow).Value
If Not IsArray(varData) Then
varData = Array(varData)
End If
@siguremon
siguremon / file0.txt
Created December 11, 2013 02:09
データがある範囲を抽出する ref: http://qiita.com/siguremon/items/4fbdb2585b74fa9e8701
Dim lastRow As Long
Dim varData As Variant
lastRow = Range("A" & Rows.Count).End(xlUp).Row
varData = Range("A1:A" & lastRow).value

11.1 Introduction to Spring Testing

Testing is an integral part of enterprise software development.

テスティングはエンタープライズ向けソフトウェア開発における不可欠な部分の1つである。

This chapter focuses on the value-add of the IoC principle to unit testing and on the benefits of the Spring Framework's support for integration testing.

この章では、ユニットテストのための制御の反転原則の付加価値と、統合テストのためのSpring Frameworkサポートの恩恵にフォーカスする。

(A thorough treatment of testing in the enterprise is beyond the scope of this reference manual.)

@siguremon
siguremon / HelloWorld.groovy
Created October 7, 2013 10:13
JavaToGroovy
class HelloWorld {
private String name
void setName(String name) {
this.name = name
}
String getName() {
return name
}

Untitled Slide

Welcome to Glide.

Glide is the easiest way to create useful slide for all of your Gists.

  • input key <- to go backward.
  • input key -> to go forward.

Publishing

@siguremon
siguremon / TestArchetectureStudy.md
Last active January 26, 2016 06:05
テストアーキテクチャについて考えてみる

5W1Hで考えるテストアーキテクチャ

Why:テストアーキテクチャはなぜ必要か

  • テスト全体を俯瞰する
  • コミュニケーションを円滑にする

What:テストアーキテクチャとは何か

テストアーキテクチャの要素