Skip to content

Instantly share code, notes, and snippets.

Björn Wilmsmann BjoernKW

Block or report user

Report or block BjoernKW

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
BjoernKW / gist:c2581ab5a6a4c5f92cfffd4fcbe25ff9
Created Mar 30, 2019
Angular CLI command for building an app with base href
View gist:c2581ab5a6a4c5f92cfffd4fcbe25ff9
ng build --base-href /ROOT_DIRECTORY/ --deploy-url /ROOT_DIRECTORY/ --prod
BjoernKW /
Created Aug 17, 2018
Using angular2-logger in production
import { Logger, Options } from 'angular2-logger/core';


  provide: Options,
  useValue: {
    store: false
BjoernKW /
Last active Aug 15, 2018
Dependency management for Angular unit tests using TestModuleMetadata


import { TestModuleMetadata } from '@angular/core/testing';
import { createOtherTestModuleMetadata } from 'other.component.spec';
import { compileTestModuleMetadata } from 'app.module';


export function createSomeComponentTestModuleMetadata(): TestModuleMetadata {
View gist:a2360e8004fe28bbb2ea802954f47128
View gist:f9d0239ae187536f90f1dcda06859e8e
import static;
import static;
import static;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.model.CustomSequences;
View PublisherServiceTests
public class PublisherServiceTests {
private PublisherService publisherService;
public void setup() {
List<Publisher> publishers = new ArrayList<>();
View gist:a0e40daaba04fef5e5a948f93d1c1fad
public class SimpleBookControllerTests {
private MockMvc mockMvc;
private BookService bookService;
View gist:4b294fa76eae07ce45bb
Verifying that +bjoernkw is my blockchain ID.

Keybase proof

I hereby claim:

  • I am BjoernKW on github.
  • I am 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:

View gist:5032614
MacPro:1.0.1c willy$ cat /Users/willy/.rvm/log/ruby-1.9.3-p392/make.log
[2013-02-25 20:17:29] make
CC = /opt/local/bin/gcc-apple-4.2
LD = ld
LDSHARED = /opt/local/bin/gcc-apple-4.2 -dynamic -bundle
CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/willy/.rvm/usr/include -I. -I.ext/include/x86_64-darwin11.4.2 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace
You can’t perform that action at this time.