This file contains hidden or 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
| version "4.12.2" | |
| class SpinnyKeyHandler : EventHandler | |
| { | |
| Array<Key> knownKeys; | |
| override void WorldThingSpawned(worldEvent e) | |
| { | |
| // Try casting the spawned actor as the Key class: | |
| let k = Key(e.thing); |
This file contains hidden or 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 { | |
| booleanAttribute, | |
| Directive, | |
| effect, | |
| ElementRef, | |
| inject, | |
| input, | |
| Renderer2, | |
| } from '@angular/core'; | |
| import { RouterLinkActive } from '@angular/router'; |
This file contains hidden or 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 { render } from "preact-render-to-string"; | |
| import type { FunctionComponent } from "preact"; | |
| export default function (config) { | |
| config.addExtension("11ty.tsx", { | |
| getInstanceFromInputPath: async function (path) { | |
| const module: { default: FunctionComponent } = await import(path); | |
| return module.default; | |
| }, | |
| compile: function (component: FunctionComponent) { |
This file contains hidden or 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
| interface BeforeEventConfig { | |
| directories: { | |
| input: string; | |
| output: string; | |
| data: string; | |
| includes: string; | |
| inputFile?: string; | |
| inputGlob?: string; | |
| layouts?: string; | |
| }; |
This file contains hidden or 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 type { OnInit, OnChanges, SimpleChanges } from '@angular/core'; | |
| import { ElementRef, Renderer2, Directive, inject, input } from '@angular/core'; | |
| import { Subject } from 'rxjs'; | |
| import { debounceTime } from 'rxjs/operators'; | |
| @Directive({ | |
| selector: '[fittext]', | |
| standalone: true, | |
| }) |
This file contains hidden or 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
| body { | |
| .markdown-source-view.is-live-preview, | |
| .markdown-rendered, | |
| .print { | |
| /* Approximate width of the h1-h6 marker and the fold marker */ | |
| --marker-width: -34px; | |
| h1, | |
| h2, | |
| h3, |
This file contains hidden or 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
| const iframeChoices = [ | |
| { value: "iframe-100", label: "Iframes fill 100% of the pane width" }, | |
| { value: "iframe-max", label: "Iframes fill the max line width" }, | |
| { value: "iframe-wide", label: "Iframes fill the wide line width" }, | |
| ]; | |
| const embedChoices = [ | |
| { | |
| value: "embed-strict", | |
| label: "Transclusions appear seamlessly in the flow of text", | |
| }, |
This file contains hidden or 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
| /* Curse of Strahd Button */ | |
| .strahd .block-language-button .button-default { | |
| /* This is a google font */ | |
| font-family: "Vollkorn SC", serif; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| color: #d2c8ae; | |
| border-width: 44px 132px; | |
| border-style: solid; | |
| border-color: #000; |
NewerOlder
