import { Logger, Options } from 'angular2-logger/core';
...
{
provide: Options,
useValue: {
store: false
}
View HttpToHttpsRedirectConfig.java
package com.bjoernkw.gateway; | |
@Configuration | |
public class HttpToHttpsRedirectConfig { | |
@Value("${server.port}") | |
private Integer gatewayPort; | |
@PostConstruct | |
public WebServerFactoryCustomizer serverFactoryCustomizer() { |
View gist:c2581ab5a6a4c5f92cfffd4fcbe25ff9
ng build --base-href /ROOT_DIRECTORY/ --deploy-url /ROOT_DIRECTORY/ --prod |
View using-angular2-logger-in-production.md
View angular-unit-tests-specs-dependency-management.md
some.component.spec.ts:
import { TestModuleMetadata } from '@angular/core/testing';
import { createOtherTestModuleMetadata } from 'other.component.spec';
import { compileTestModuleMetadata } from 'app.module';
...
export function createSomeComponentTestModuleMetadata(): TestModuleMetadata {
View activemq-pom.xml
<dependency> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-starter-activemq</artifactId> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.activemq</groupId> | |
<artifactId>activemq-broker</artifactId> | |
</dependency> |
View NextSequenceService.java
import static org.springframework.data.mongodb.core.FindAndModifyOptions.options; | |
import static org.springframework.data.mongodb.core.query.Criteria.where; | |
import static org.springframework.data.mongodb.core.query.Query.query; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.data.mongodb.core.MongoOperations; | |
import org.springframework.data.mongodb.core.query.Update; | |
import org.springframework.stereotype.Service; | |
import com.model.CustomSequences; |
View gist:4b294fa76eae07ce45bb
Verifying that +bjoernkw is my blockchain ID. https://onename.com/bjoernkw |
View keybase.md
Keybase proof
I hereby claim:
- I am BjoernKW on github.
- I am bjoernkw (https://keybase.io/bjoernkw) on keybase.
- I have a public key whose fingerprint is 6222 87E1 DE98 9114 AED0 2999 B658 5F6F 4206 A142
To claim this, I am signing this object: