Skip to content

Instantly share code, notes, and snippets.

MIYAMOTO Daisuke dai0304

Block or report user

Report or block dai0304

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View JsonNodeAssert.kt
import assertk.Assert
import assertk.all
import assertk.assertThat
import assertk.assertions.contains
import assertk.assertions.containsExactly
import assertk.assertions.hasSize
import assertk.assertions.isEqualTo
import assertk.assertions.isLessThan
import assertk.assertions.isTrue
import assertk.assertions.support.expected
@dai0304
dai0304 / .gitignore
Created Mar 9, 2018
gitbook-plugin-uml v0.1.11 bug
View .gitignore
node_modules/
_book/
assets/
View pegmatite-example.md

lang = uml

@startuml
アリス -> ボブ: Authentication Request
ボブ --> アリス: Authentication Response
 
アリス -> ボブ: Another authentication Request
アリス <-- ボブ: another authentication Response
@enduml
View gist:6db4cfb88a9494d93b69a57d08c14142
日付: 2017年10月25日 17:08
件名: Steve Maddenでございます。
ミヤモト様
お世話になっております。
IT業界に特化したヘッドハンター、Steve Maddenと申します。
度々のご連絡、大変失礼いたします。
View ModelMapperExampleTest.java
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
View deploy2jetty9.gradle
apply plugin: 'war'
configurations { jetty9 }
dependencies.jetty9 'org.eclipse.jetty:jetty-ant:9.0.2.v20130417'
ant {
taskdef(name: 'jettyRun', classname: 'org.eclipse.jetty.ant.JettyRunTask', classpath: configurations.jetty9.asPath)
taskdef(name: 'jettyStop', classname: 'org.eclipse.jetty.ant.JettyStopTask', classpath: configurations.jetty9.asPath)
}
View crowd
#!/bin/bash
# Crowd startup script
#chkconfig: 2345 80 05
#description: Crowd
# Based on script at http://www.bifrost.org/problems.html
RUN_AS_USER=ec2-user
CATALINA_HOME=/mnt/atlassians/crowd/apache-tomcat
View Immutable.java
public final class Immutable {
private final String message;
public Mutable(String message) {
this.message = message;
}
public void hello() {
System.out.println(message);
View Stateful.java
public class Stateful {
private String message = "Hello, world!";
public void setMessage(String message) {
this.message = message;
}
public void hello() {
System.out.println(message);
View MoreRepeaterPanel.html
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" dir="ltr"
xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>wicket-snippet</title>
</head>
<body>
<ul>
You can’t perform that action at this time.