Web Server | Interface | Middleware(main) | Programming Language |
---|---|---|---|
Apache ~ | CGI | - | Various |
- | mod_perl | Perl | |
- | mod_php | PHP | |
- | mod_ruby | Ruby | |
- | mod_python | Python | |
PSGI | Plack | Perl | |
Java Servlet API | Tomcat | Java | |
Nginx ~ | FastCGI | PHP-FPM | PHP |
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 'package:flutter/widgets.dart'; | |
import 'package:flutter_hooks/flutter_hooks.dart'; | |
typedef FunctionReturning0<T> = Future<T> Function(); | |
typedef FunctionReturning1<T, S> = Future<T> Function(S arg); | |
typedef FunctionReturning2<T, S1, S2> = Future<T> Function(S1 arg1, S2 arg2); | |
typedef FunctionReturning3<T, S1, S2, S3> = Future<T> Function( | |
S1 arg1, S2 arg2, S3 arg3); | |
class FutureFnState0<T> { |
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 main | |
import ( | |
"flag" | |
"fmt" | |
"math" | |
"os" | |
"strings" | |
) |
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
body { | |
background: #111; | |
} | |
.loader { | |
position: relative; | |
padding-top: 100px; | |
width: 40px; | |
margin: auto; | |
} | |
.loader .circle { |
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
apply plugin: 'android-library' | |
dependencies { | |
compile 'com.google.android:support-v4:r7' | |
} | |
android { | |
compileSdkVersion 14 | |
buildToolsVersion '17' |
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
apply plugin: "java" | |
sourceCompatibility = 1.6 | |
targetCompatibility = 1.6 | |
buildDir = "target" | |
def slim3Version = "1.0.+" | |
def appengineVersion = "1.7.+" | |
def jppVersion = "1.5.+" |
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 jp.u1aryz.products.samples.httpserver; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.PrintWriter; | |
import java.net.ServerSocket; | |
import java.net.Socket; | |
/** |