Install NodeJS LTS version (10.15.3 or higher) at http://nodejs.org
https://chariotsolutions.com/ptw2019
(will post things there...)
Need:
Install NodeJS LTS version (10.15.3 or higher) at http://nodejs.org
https://chariotsolutions.com/ptw2019
(will post things there...)
Need:
| version: "3.7" | |
| services: | |
| apache: | |
| container_name: quizzo-apache | |
| build: | |
| context: ./apache/ | |
| dockerfile: Dockerfile-apache | |
| volumes: | |
| - ${CONFIG_DIR}/apache/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro |
| [automount] | |
| enabled = true | |
| root = /mnt/ | |
| options = "metadata,umask=22,fmask=11" | |
| mountFsTab = false | |
| [network] | |
| generateHosts = true | |
| generateResolvConf = true |
| # Description: Boxstarter Script | |
| # Author: Jess Frazelle <[email protected]> | |
| # Last Updated: 2017-09-11 | |
| # | |
| # Install boxstarter: | |
| # . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force | |
| # | |
| # You might need to set: Set-ExecutionPolicy RemoteSigned | |
| # | |
| # Run this boxstarter by calling the following from an **elevated** command-prompt: |
| class Foo { | |
| constructor(public bar: string) { } | |
| } | |
| let f1 = new Foo('demovalue'); | |
| let f2 = Object.create(f1); | |
| console.log(`f1 = ${JSON.stringify(f1)}`); | |
| console.log(`f2 = ${JSON.stringify(f2)}`); | |
| f1.bar = 'changed'; |
This snippet is a working example of a test against the Http service in Angular 2.0.
It is a very simple test, and provides an example of how to:
| angular.module('myApp').service('greeterService', | |
| ['$log', function($log) { | |
| var namesSpokenTo = []; | |
| this.sayHello: function(name) { | |
| namesSpokenTo.push(name); | |
| $log.debug('hello, ' + name); | |
| }; | |
| this.getNames = function() { | |
| return angular.copy(namesSpokenTo); | |
| }; |
| <jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:util="urn:jsptagdir:/WEB-INF/tags/util" xmlns:form="http://www.springframework.org/tags/form" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0"> | |
| <jsp:output omit-xml-declaration="yes"/> | |
| <jsp:directive.attribute name="id" type="java.lang.String" required="true" rtexprvalue="true" description="The identifier for this tag (do not change!)"/> | |
| <jsp:directive.attribute name="modelAttribute" type="java.lang.String" required="true" rtexprvalue="true" description="The name of the model attribute for form binding"/> | |
| <jsp:directive.attribute name="path" type="java.lang.String" required="true" rtexprvalue="true" description="Specify the relative URL path (wit leading /)" /> | |
| <jsp:directive.attribute name="compositePkField" type="java.lang.String" required="false" rtexprvalue="true" description="The field name of the composite primary key (only us |
| <?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
| <div xmlns:c="http://java.sun.com/jsp/jstl/core" | |
| xmlns:field="urn:jsptagdir:/WEB-INF/tags/form/fields" | |
| xmlns:form="urn:jsptagdir:/WEB-INF/tags/form" | |
| xmlns:jsp="http://java.sun.com/JSP/Page" | |
| xmlns:spring="http://www.springframework.org/tags" version="2.0"> | |
| <jsp:directive.page contentType="text/html;charset=UTF-8"/> | |
| <jsp:output omit-xml-declaration="yes"/> | |
| <form:create id="fc_com_t_coursemanager_model_Tag" modelAttribute="tag" |
| package com.t.coursemanager.web; | |
| import static org.hamcrest.MatcherAssert.assertThat; | |
| import static org.hamcrest.Matchers.is; | |
| import static org.hamcrest.Matchers.notNullValue; | |
| import org.apache.log4j.Logger; | |
| import org.junit.Before; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; |