This file contains 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
//CONFIG QUAKE3 ARENA DE PLAYZONE | |
echo Q3A PLAYZONE CONTROLS 1.0 | |
echo Cree par: PLAYZONE | |
//PARAMETRES | |
seta color "1" | |
seta dynamiclight "1" | |
seta freelock "1" |
This file contains 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
// generated by quake, do not modify | |
unbindall | |
bind TAB "+scores" | |
bind ENTER "+button2" | |
bind ESCAPE "togglemenu" | |
bind SPACE "quit" | |
bind + "sizeup" | |
bind - "sizedown" | |
bind 0 "weapon 10" | |
bind 1 "weapon 1" |
This file contains 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
async getIndicatorData(indicator: WorldBankApiV2Indicators, country: Country, dateRange: string, perPage: number): Promise<DataPoint[]> { | |
const response: Response = await fetch(`${this.getBaseIndicatorApiUrlFor(indicator, country)}?${WorldBankApiV2Params.FORMAT}=${WorldBankApiV2Formats.JSON}&${WorldBankApiV2Params.PER_PAGE}=${perPage}&${WorldBankApiV2Params.DATE}=${dateRange}`); | |
const checkedResponse: Response = await this.checkResponseStatus(response); | |
let jsonContent: unknown = await this.getJsonContent(checkedResponse); | |
const validationResult = worldBankApiV2IndicatorResponseValidator.decode(jsonContent); | |
ThrowReporter.report(validationResult); |
This file contains 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
With MSYS (MinTTY): | |
set "PATH=%ConEmuDrive%\Program Files\Git\usr\bin;%PATH%" & "%ConEmuDrive%\Program Files\Git\git-cmd.exe" --no-cd --command=%ConEmuBaseDirShort%\conemu-msys2-64.exe /usr/bin/bash.exe -l -i -new_console:p | |
With CMD: | |
set "PATH=%ConEmuDrive%\Program Files\Git\usr\bin;%PATH%" & "%ConEmuDrive%\Program Files\Git\git-bash.exe" --no-cd |
This file contains 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
One possible approach: | |
@FacadeClient("LoginPage") | |
class LoginPage { | |
onSwitchLanguageClicked() { | |
this.sessionFacade.switchLanguage(this.selectedLanguage); | |
} | |
} | |
... |
This file contains 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
{ | |
... | |
"scripts": { | |
"start:web:prod": "npm run build:prod:web && http-server dist/apps/web -d -c-1 -a 0.0.0.0 --proxy http://127.0.0.1:4200? --port 4200", | |
"start:web:prod:local": "npm run build:prod:web:local && http-server dist/apps/web -d -c-1 -a 0.0.0.0 --proxy http://127.0.0.1:4200? --port 4200", | |
"build:prod:web": "ng build web --prod", | |
"postbuild:prod:web": "npm run build:pwa:web", | |
"build:prod:web:local": "ng build web --prod", | |
"postbuild:prod:web:local": "npm run build:pwa:web:local", | |
"build:pwa:web": "rimraf ./dist/apps/web/service-worker.js && webpack --config ./service-worker/webpack.prod.config.js --progress --colors && node ./workbox-build-inject.js", |
This file contains 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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
This file contains 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 {Machine, StateSchema} from 'xstate'; | |
// TODO review/improve based on: https://xstate.js.org/docs/guides/typescript.html#using-typescript | |
/** | |
* Extended state of the machine (if any) | |
* Reference: https://xstate.js.org/docs/guides/context.html | |
*/ | |
// tslint:disable-next-line:no-empty-interface | |
interface MeetingStateMachineContext {} |
This file contains 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 { | |
ActivatedRoute, | |
NavigationEnd, | |
NavigationStart, | |
Router, | |
} from "@angular/router"; | |
import { Injectable, OnDestroy } from "@angular/core"; | |
import { ViewportScroller } from "@angular/common"; | |
import { filter, observeOn, scan } from "rxjs/operators"; | |
import { asyncScheduler, Subscription } from "rxjs"; |
This file contains 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
<div> | |
<div class="main-wrapper"> | |
<header> | |
... | |
</header> | |
<main id="main-content" #mainContent> | |
<router-outlet class="router-flex" (activate)="onActivate($event)"></router-outlet> | |
</main> | |
</div> |