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 java.awt.Color; | |
import java.awt.Stroke; | |
import java.awt.BasicStroke; | |
import java.awt.Paint; | |
import java.awt.Rectangle; | |
import java.awt.Graphics2D; | |
import java.awt.image.BufferedImage; | |
import javax.imageio.ImageIO; | |
import java.io.File; |
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
<!doctype html> | |
<html lang="en" ng-app="testing"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Angular Binding From Controller to Service(Factory)</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.19/angular.js"></script> | |
</head> | |
<body> |
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 filters; | |
import javax.servlet.*; | |
import javax.servlet.annotation.WebFilter; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import java.io.IOException; | |
import java.util.logging.Logger; | |
@WebFilter(filterName = "accessControlFilter", |
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 filters; | |
import javax.servlet.*; | |
import javax.servlet.annotation.WebFilter; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletRequestWrapper; | |
import javax.servlet.http.HttpServletResponse; | |
import java.io.IOException; | |
import java.util.logging.Logger; |
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
<Context> | |
<Resource | |
name="jdbc/example" | |
auth="Container" | |
driverClassName="org.sqlite.JDBC" | |
initialSize="0" | |
maxActive="15" | |
maxIdle="3" | |
minIdle="0" | |
maxWait="-1" |
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
<Context> | |
<Resource | |
name="jdbc/example" | |
auth="Container" | |
driverClassName="com.mysql.jdbc.Driver" | |
initialSize="0" | |
maxActive="15" | |
maxIdle="3" | |
minIdle="0" | |
maxWait="-1" |
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
<!DOCTYPE HTML> | |
<html ng-app="cowgame"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Cow Game</title> | |
<style> | |
/*TODO Add style here for the image tag in the app below, get it centered up in the page*/ | |
/*TODO Also style up the score to be centered, and some cool color*/ | |
</style> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.19/angular.min.js"></script> |
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
<!DOCTYPE HTML> | |
<html ng-app="calculator"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Calculator</title> | |
<style> | |
/*TODO Style of the calculator*/ | |
</style> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.19/angular.min.js"></script> | |
</head> |
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
<!DOCTYPE HTML> | |
<html ng-app="routing-app"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Routes</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.19/angular.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.19/angular-route.js"></script> | |
</head> | |
<body ng-controller="MainController"> | |
<p>Some links</p> |
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
FROM ubuntu | |
MAINTAINER murphysean84@gmail.com | |
COPY . /app | |
# Install app dependencies | |
EXPOSE 8080 | |
ENTRYPOINT ["/app/UserMicroService"] |
OlderNewer