Install iTerm 2
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
Download, unzip and drag to your Applications directory.
https://www.iterm2.com/downloads.html
| FROM tomcat:8.5-jre8 | |
| # $CATALINA_HOME is defined in tomcat image | |
| ADD target/my-webapp*.war $CATALINA_HOME/webapps/my-webapp.war | |
| # Application config | |
| RUN mkdir $CATALINA_HOME/app_conf/ | |
| ADD src/main/config/test.properties $CATALINA_HOME/app_conf/ | |
| # Modify property 'shared.loader' in catalina.properties |
Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x| package lan.dk.podcastserver.utils.multipart; | |
| import lan.dk.podcastserver.utils.MimeTypeUtils; | |
| import org.apache.commons.lang3.StringUtils; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import javax.servlet.ServletOutputStream; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; |
| <!-- to be saved at /usr/share/nginx/html/404.html --> | |
| <html lang="en"><head><meta charset="utf-8"> | |
| <meta name="viewport" content="initial-scale=1, minimum-scale=1, width=device-width"> | |
| <title>Error 404 (Not Found)!!1</title> | |
| <style> | |
| *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}} | |
| </style> | |
| <link type="text/css" rel="stylesheet" href="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/style.css"><script type="text/javascript" charset="utf-8" src="chrome-extension://cpngackimfmofbokmjmljamhdncknpmg/page_context.js"></script></head><body screen_capture_injected="true"> | |
| <!-- |