Skip to content

Instantly share code, notes, and snippets.

View mjolk's full-sized avatar
😎
lolwut

mjolk mjolk

😎
lolwut
View GitHub Profile
@mjolk
mjolk / .clang-format
Created August 4, 2024 20:23
clang-format
---
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignArrayOfStructures: None
AlignConsecutiveAssignments:
Enabled: false
AcrossEmptyLines: false
AcrossComments: false
@mjolk
mjolk / async-ng-module-loader.ts
Created August 31, 2016 00:29 — forked from brandonroberts/async-ng-module-loader.ts
Webpack Async NgModule Loader
import {Injectable, NgModuleFactory, NgModuleFactoryLoader, Compiler, Type} from '@angular/core';
class LoaderCallback {
constructor(public callback) {}
}
export let load: Type = (callback: Function) => {
return new LoaderCallback(callback);
};