GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com #!/bin/bash -e
# ----------------------------------------------------------------------------
# Copyright 2021 The Netty Project
#
# The Netty Project licenses this file to you under the Apache License,
# version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at:
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# ----------------------------------------------------------------------------
EXAMPLE_MAP=(
'discard-client:io.netty.example.discard.DiscardClient'
'discard-server:io.netty.example.discard.DiscardServer'
'echo-client:io.netty.example.echo.EchoClient'
'echo-server:io.netty.example.echo.EchoServer'
'factorial-client:io.netty.example.factorial.FactorialClient'
'factorial-server:io.netty.example.factorial.FactorialServer'
'file-server:io.netty.example.file.FileServer'
'http-cors-server:io.netty.example.http.cors.HttpCorsServer'
'http-file-server:io.netty.example.http.file.HttpStaticFileServer'
'http-helloworld-server:io.netty.example.http.helloworld.HttpHelloWorldServer'
'http-snoop-client:io.netty.example.http.snoop.HttpSnoopClient'
'http-snoop-server:io.netty.example.http.snoop.HttpSnoopServer'
'http-upload-client:io.netty.example.http.upload.HttpUploadClient'
'http-upload-server:io.netty.example.http.upload.HttpUploadServer'
'websocket-client:io.netty.example.http.websocketx.client.WebSocketClient'
'websocket-server:io.netty.example.http.websocketx.server.WebSocketServer'
'http2-client:io.netty.example.http2.helloworld.client.Http2Client'
'http2-server:io.netty.example.http2.helloworld.server.Http2Server'
'http2-tiles:io.netty.example.http2.tiles.Launcher'
'http2-multiplex-server:io.netty.example.http2.helloworld.multiplex.server.Http2Server'
'spdy-client:io.netty.example.spdy.client.SpdyClient'
'spdy-server:io.netty.example.spdy.server.SpdyServer'
'worldclock-client:io.netty.example.worldclock.WorldClockClient'
'worldclock-server:io.netty.example.worldclock.WorldClockServer'
'objectecho-client:io.netty.example.objectecho.ObjectEchoClient'
'objectecho-server:io.netty.example.objectecho.ObjectEchoServer'
'quote-client:org.jboss.netty.example.qotm.QuoteOfTheMomentClient'
'quote-server:org.jboss.netty.example.qotm.QuoteOfTheMomentServer'
'redis-client:io.netty.example.redis.RedisClient'
'securechat-client:io.netty.example.securechat.SecureChatClient'
'securechat-server:io.netty.example.securechat.SecureChatServer'
'telnet-client:io.netty.example.telnet.TelnetClient'
'telnet-server:io.netty.example.telnet.TelnetServer'
'proxy-server:io.netty.example.proxy.HexDumpProxy'
'socksproxy-server:io.netty.example.socksproxy.SocksServer'
'memcache-binary-client:io.netty.example.memcache.binary.MemcacheClient'
'stomp-client:io.netty.example.stomp.StompClient'
'uptime-client:io.netty.example.uptime.UptimeClient'
'uptime-server:io.netty.example.uptime.UptimeServer'
'sctpecho-client:io.netty.example.sctp.SctpEchoClient'
'sctpecho-server:io.netty.example.sctp.SctpEchoServer'
'localecho:io.netty.example.localecho.LocalEcho'
'udp-dns-client:io.netty.example.dns.udp.DnsClient'
'tcp-dns-client:io.netty.example.dns.tcp.TcpDnsClient'
'dot-dns-client:io.netty.example.dns.dot.DoTClient'
)
EXAMPLE=''
EXAMPLE_CLASS=''
EXAMPLE_ARGS='-D_'
I=0
while [[ $# -gt 0 ]]; do
ARG="$1"
shift
if [[ "$ARG" =~ (^-.+) ]]; then
EXAMPLE_ARGS="$EXAMPLE_ARGS $ARG"
else
EXAMPLE="$ARG"
for E in "${EXAMPLE_MAP[@]}"; do
KEY="${E%%:*}"
VAL="${E##*:}"
if [[ "$EXAMPLE" == "$KEY" ]]; then
EXAMPLE_CLASS="$VAL"
break
fi
done
break
fi
done
if [[ -z "$EXAMPLE" ]] || [[ -z "$EXAMPLE_CLASS" ]] || [[ $# -ne 0 ]]; then
echo " Usage: $0 [-D |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |