- emf camp
- jsconf us
- xoxo
- rustfest/rustconf
- strangeloop
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
| <Suspense fallback={<Loader />}> | |
| <DataComponent> | |
| <ChildrenComponents /> | |
| </DataComponent> | |
| </Suspense> | |
| // DataComponent returns data ? <Loader /> : children | |
| <DataComponent> | |
| <ChildrenComponents /> |
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
| 1. Sign up for an Audiokinetic account and download the Wwise Launcher by registering for Non-commercial use here: https://www.audiokinetic.com/pricing/#non-commercial |
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
| local function encode_table(tbl) | |
| return cjson.encode(tbl) | |
| end | |
| local function decode_table(str) | |
| return cjson.decode(str) | |
| end | |
| local shared_state_spec = { |
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
| __ __ ______ ______ __ _____ | |
| /\ \ _ \ \ /\ __ \ /\ == \ /\ \ /\ __-. | |
| \ \ \/ ".\ \ \ \ \/\ \ \ \ __< \ \ \____ \ \ \/\ \ | |
| \ \__/".~\_\ \ \_____\ \ \_\ \_\ \ \_____\ \ \____- | |
| \/_/ \/_/ \/_____/ \/_/ /_/ \/_____/ \/____/ | |
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
| __ __ ______ __ __ ______ | |
| /\ \_\ \ /\ ___\ /\ \ /\ \ /\ __ \ | |
| \ \ __ \ \ \ __\ \ \ \____ \ \ \____ \ \ \/\ \ | |
| \ \_\ \_\ \ \_____\ \ \_____\ \ \_____\ \ \_____\ | |
| \/_/\/_/ \/_____/ \/_____/ \/_____/ \/_____/ | |
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
| function kinopioExtension() { | |
| let dataAttr = 'data-kinopio-extension-by-dnrvs' | |
| function processCard(container, node, text) { | |
| // Clean out old nodes | |
| container.querySelectorAll(`[${dataAttr}]`).forEach(n => n.remove()) | |
| // Clone the real one |
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 * as ts from "typescript"; | |
| import * as Lint from "tslint"; | |
| export class Rule extends Lint.Rules.AbstractRule { | |
| public static FAILURE_STRING = "Prefer keyCode to key or code"; | |
| public apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] { | |
| return this.applyWithWalker(new PreferKeyCodeWalker(sourceFile, this.getOptions())); | |
| } | |
| } |
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
| tsc -p jsconfig.json --allowJs --checkJs --outDir ~/Desktop/ts-out | grep -v 'can only be used in a .ts file' |
NewerOlder