Random Flashcards

1
Q

xcopy recurse

A

/e

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

xcopy no prompt

A

/y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

rmdir with non-empty directory

A

rmdir ___ /y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

use “for” to recursively copy files

A

for /r C:\Folder %f in (*.png) do @copy “%f” C:\png

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

endpoint where “add data field” hits

A

CompanyContactController

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where does this live in the database? applicationUser.CompanyUserPermissions.IsCompanySystemAdmin

A

straight-up on the User table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Hipchat: /code ___

A

format

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Hipchat: /quote ___

A

special formatting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Hipchat: /clear

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Hipchat: /me

A

Chat about yourself in the third person

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Hipchat emoticons work like this: (taco)

A

can add custom ones easily

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

table modified when user hits “add field” endpoint

A

CompanyRoomContactField

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

CompanyRoomContactField structure

A

1 row per company; CompanyId and a JSON details field { “RoomContactTypeId”: “lisagent”, “RoomContactTypeName”: “Listing Agent”, “ContactIndex”: 3, “UpdatedDisplayName”: “Listing Agent 151”, “RoomContactFields”: [ { “RoomContactFieldId”: “name”, “RoomContactFieldName”: “Name”, “IsShownToAll”: false, “IsRequiredOnSubmit”: false, “IsRequiredOnCreate”: false, “UpdatedDisplayName”: null },

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

speed up Visual Studio (Code Lens specifically)

A

Tools > Options > Text Editor > All Languages > Code Lens > Turn everything off except Show References

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

speed up Visual Studio (Code Lens specifically)

A

Tools > Options > Text Editor > All Languages > Code Lens > Turn everything off except Show References

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

All DTR textboxes and selects have the class ___

A

input-text and input-select

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

how to do serve-from-disk

A

two terminals: 1) npm build –watch; 2) lite-server –base-dir=”dist”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

LINQ DefaultIfEmpty

A

Returns the elements of the specified sequence or the type parameter’s default value in a singleton collection if the sequence is empty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Recursive rename from command line

A

for /R %x in (*.m4v) do ren “%x” *.avi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

TS declare keyword

A

tell TS you’re referencing code that exists elsewhere

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

if a file has the extension .d.ts then

A

each root level definition must have the declare keyword prefixed to it. This helps make it clear to the author that there will be no code emitted by TypeScript. The author needs to ensure that the declared item will exist at runtime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

VSC “box select”

A

Ctrl-Alt-Shift-arrows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Ctrl-Shift-L

A

select all instances of a string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

trying out Bookmarks VSC extension

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

Ctrl-Alt-K

A

toggle bookmark

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

Ctrl-Alt-L, Ctrl-Alt-J

A

next bookmark, prev bookmark

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

for /f

A

parse lines in a text file for /f “tokens=1 delims=(“ %x in (iss.txt) do @echo %x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

set up ww inner and outer iis sites, ports

A

4210, 4211

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

declare need for explicit Angular injection of primitive type

A

constructor(@Inject(‘para’) _para:string)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

set up provider for Angular injection of primitive type

A

add to providers: { provide: ‘key’, useValue: ‘myvalue’ }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

multiple modules with the same name differing only by casing error

A

clean up npm; make sure casing is identical in all import statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

because the database used to return biz strings…

A

DTRDatabaseException can still be considered a biz-tier exception

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

how to find the Code Review Checklist in Confluence

A

Developer Information / Standards and Policies / Code Review Checklist

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

new pull request steps

A

After Merge to Develop branch add Build # from Distelli to JIRA as comment and tag with next release label UI changes must have screen shot in Pull Request showing new UI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

what does it mean to “tag with next release label”

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

does something generate RoomFields.resx?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

i like that bree and koz remember more about the dynamicMenu angular stuff than I do

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

Add’l thing if I want to refresh my postman from the shared one (this isn’t covered by “git pull”)

A

build postmansetup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

making my local database have permission to run Postman tests

A

Give iis apppool user access to your sql server database (my apppool for port 53134 is “dtr”), so user would be IIS APPPOOL\dtr)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

newman is used for

A

converting json files to XML test output (Postman-related)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

run just postman tests

A

build PostmanTest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

IIS APPPOOL\dtr should be edited to have the following user roles

A

db_owner on Cartavi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

what’s the diff between PostmanSetup and PostmanDownload?

A

PostmanDownload pulls from “your cloud Postman” to the local file (use only if you’ve changed something); PostmanSetup pushes from your local file to “your cloud Postman”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

what does “build TestAll” do

A

run unit, integration, and Postman tests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

install casper

A

install phantomjs or slimerjs, then “npm install casperjs” (install npm types for phantomjs and casperjs too)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

slimerjs vs phantomjs

A

Contrary to PhantomJS, SlimerJS is not headless: you see windows and it needs a graphical environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

ghostjs

A

Side note: If you can use ES7, take a look at ghostjs, which supports the new async/await syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

I didn’t even know that npm contained stuff that isn’t node libraries

A

Is CasperJS a node.js library? No. CasperJS is written on top of PhantomJS, which is a node-independent Qt/WebKit based library. If you try to run your CasperJS script with node, it just won’t work out of the box. Hint: If you want to drive CasperJS from node, try SpookyJS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

is PhantomJS a node.js library?

A

No - it’s a node-independent Qt/WebKit based library

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

SpookyJS is no longer maintained

A

If you are simply looking to control Phantom from Node and don’t need Casper’s API, have a look at PhantomJS 1.8, which has native WebDriver support

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

if you need to open URLs from node instead of the command line

A

npm install opn

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

phantomjs is an old npm name

A

use phantomjs-prebuilt instead

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

you transpile the .js script from .ts, which is then fed into the Phantom command line

A

and not run from node, as assumed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

page.evaluate(…JS…)

A

var title = page.evaluate(function() { return document.title; }); console.log(‘Page title is ‘ + title);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

inside a basic phantomjs script

A

var page = require(‘webpage’).create(); page.open(‘http://www.cnn.com’, function (status) { }, function(status) { // This is oddly the one that is called });

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
56
Q

sample of DOM selection within a phantom script

A

var ua = page.evaluate(function() { return document.querySelectorAll(‘.cd__headline-text’).textContent; });

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
Q

page.evaluate() must return something JSON serializable

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

allow capture of console messages executed during evaluate() calls

A

page.onConsoleMessage = function (msg) { console.log(msg); }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
59
Q

specify phantom cookies

A

–cookies-file=/path/to/cookies.txt

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
60
Q

how do you add an admin in a FB group

A

go to that member; click Make Admin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
61
Q

fb admin vs moderator

A

admins are superset; can make other members moderators, edit core group info, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
62
Q

to run casper, feed a script that uses it into phantom, as in

A

phantomjs casperjs.js sample.js

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
63
Q

run Jasmine tests

A

build JasmineTest

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
64
Q

Jasmine configuration lives in

A

Cartavi.WebMvc.Ui.Jasmine/Chutzpah

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
65
Q

should I install Chutzpah vs extension

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
66
Q

TS –strict

A

opt into a strict-by-default mode so that you enjoy all the benefits of better type safety without having to enable each compiler option separately

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
67
Q

–strict enables four strictness options

A

–strictNullChecks –noImplicitAny –noImplicitThis –alwaysStrict

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
68
Q

override –strict for just one strictness option

A

{ “strict”: true, “alwaysStrict”: false }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
69
Q

do I need to import es6-shims to get around TS errors in swd-cli

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
70
Q

–check-js

A

report errors in js files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
71
Q

July 27 Doomfist

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
72
Q

If –lib is not specified a default library is injected. The default library injected is:

A

► For –target ES5: DOM,ES5,ScriptHost ► For –target ES6: DOM,ES6,DOM.Iterable,ScriptHost

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
73
Q

is there no @types wrapper for es6-shims?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
74
Q

how do Angular CLI projects polyfill es6 stuff?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
75
Q

what is the core-js npm package?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
76
Q

can typescript do any kind of import on pure js?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
77
Q

how do I import everything from corejs?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
78
Q

–listEmittedFiles

A

tsc option

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
79
Q

categories of “lib” options

A

JavaScript Bulk Feature (es5, es6, es2015, es7, es2016, es2017, esnext) Runtime Environment (dom, dom.iterable, webworker, scripthost) ESNext By-feature options (even smaller than bulk feature)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
80
Q

add a statsd counter

A

StatsdService.Counter(“QueueReadItems”, count, 1, tags);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
81
Q

add a statsd increment

A

StatsdService.Increment(“QueueProcessedItems”, 1, 1, tags);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
82
Q

how to initialize statsd in an Application_Start

A

StatsdConfiguration.Configure(“DTRJobs”);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
83
Q

what is statsd

A

a standard and, by extension, a set of tools that can be used to send, collect, and aggregate custom metrics from any application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
84
Q

how widespread is our use of statsd in the application?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
85
Q

learned that Angular CLI’s “” makes relative pathing not work

A

took it out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
86
Q

learned that Angular CLI’s “” makes relative pathing not work

A

took it out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
87
Q

if PostmanTest gives “couldn’t open file NewmanData/global-variables.json”

A

create that file containing “{}” in /buildscripts/NewmanData

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
88
Q

Why do batch files sometimes just stop processing the rest of the commands?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
89
Q

if postman tests fail, how to learn more

A

open your own Postman, run the same test that failed, work with it there

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
90
Q

if postman fails with ECONNREFUSED . . .

A

your IIS probably isn’t started

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
91
Q

Do we need something special other than “placeholder” attribute

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
92
Q

set up a BehaviorSubject from an existing observable

A

new BehaviorSubject(0).subscribe(myObservable)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
93
Q

set up a BehaviorSubject from an existing observable

A

new BehaviorSubject(0).subscribe(myObservable); will pass all 3 types of events

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
94
Q

FOUT

A

flash-of-unstyled-text (FOUT)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
95
Q

Construct 3 web font support

A

You can import fonts in a range of formats, such as TTF or EOT, but we recommend Web Open Font Format (WOFF) which is now widely supported

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
96
Q

installing Construct addons

A

Simply download the .c2addon file, then drag and drop the file in to the Construct 2 window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
97
Q

Construct 3 has three new editors

A

Dictionary, Array, and Text Editor (which can do custom XML or JSON files)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
98
Q

Both Array and Dictionary files can be requested at runtime with the AJAX object, and then the result loaded by the Array or Dictionary object

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
99
Q

Spriter

A

2D sprite animation Use your Spriter animation files directly in your games to benefit from silky smooth tweened animations that take a fraction of the memory. Suddenly customizable player characters and smoothly animated giant on-screen bosses are a breeze Free version; pro is $59

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
100
Q

What is Monogame

A

an efficient, flexible, cross platform API for developing 2D and 3D games (related to Xamarin)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
101
Q

Construct layers

A

Layers belong to a layout and can be added, edited and removed in the Layers Bar. Layers can be scrolled at different rates for parallax effects, and also individually scaled and rotated, which makes them a powerful way to make interesting visual effects in games.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
102
Q

at least once a week, maybe on the weekend, glance at this in Todoist

A

your active projects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
103
Q

A common arrangement for layers might be

A

HUD (top layer - health bar, UI info etc.) Foreground (main game objects) Middleground (a parallaxing background layer) Background (bottom layer - the background)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
104
Q

Layers can also have ___ applied, which affects all content appearing on the layer.

A

Layers can also have effects applied, which affects all content appearing on the layer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
105
Q

global layers

A

Sometimes many layouts in a project have the same content on a particular layer, such as for interface or HUD overlaid on to the game. Changing this content then becomes a chore since changes must be repeated on every layout. Global layers are aimed at solving this problem. If a layer’s Global property is set to Yes, then every layer in the project with the same name is overridden by that layer. The initial objects, as well as its properties, are used instead of the other layer’s own content and properties.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
106
Q

layer setting “Use render cells”

A

Optimise the rendering of this layer for extremely large layouts with a large number of static objects spread out across this layer. This is not normally necessary except for certain types of large game. If this is used incorrectly, it can actually make rendering less efficient, so make sure you can measure a performance improvement before using it. For more information, see the blog post How render cells work.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
107
Q

Layer parallax

A

Change the rate at which the layer scrolls in the horizontal and vertical directions. A parallax rate of 100, 100 means ordinary scrolling, 0, 0 means it will never scroll (useful for UIs), 50, 50 means scrolling half as fast, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
108
Q

Layer locking

A

Objects on locked layers cannot be selected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
109
Q

Construct objects

A

Plugins define a kind of object. For example, a Sprite is a kind of object. Javascript programmers can make new plugins (and behaviors) using the Javascript SDK.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
110
Q

All instances of an object type use its behaviors. You cannot add a behavior to only some of the instances

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
111
Q

Construct effects

A

Effects change the visual appearance of an object. Effects do not work on all platforms, because it requires WebGL support. However, fallbacks can be set up so everything still appears reasonably when WebGL is not supported. Note effects are separate to the blend mode which is supported on all platforms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
112
Q

Construct families

A

Families are groups of object types. This can help avoid repeating events for different object types in large projects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
113
Q

Construct containers

A

Containers are an advanced feature for picking a group of instances at the same time in events. This is useful for building composite objects (objects made from multiple objects, such as a tank made from a base sprite and a turret sprite).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
114
Q

The 8 Direction behavior is blocked by any objects with the ___ behavior.

A

Solid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
115
Q

A useful feature of the Turret behavior is the ability to use

A

predictive aim

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
116
Q

Construct UIDs

A

All objects at runtime have a unique ID assigned, which is a number starting at 0 for the first instance and incrementing by 1 for every other instance. It is returned by the object’s UID expression. This number can be used to uniquely identify a single instance throughout an entire game

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
117
Q

Construct IIDs

A

All objects at runtime have an index ID assigned, which is the number of the instance within its own object type. It is returned by the object’s IID expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
118
Q

ACEs term

A

Actions, conditions and expressions (ACE or ACEs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
119
Q

npm update will only inspect top-level packages

A

To get the old behavior, use npm –depth 9999 update

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
120
Q

npm-check-updates

A

seems awesome; install -g; ncu as alias; run ncu -u to update package.json

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
121
Q

dir by creation time

A

dir /t:C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
122
Q

microskill: add PhantomJS

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
123
Q

what does it mean when it says “index.d.ts is not a module” ?

A

?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
124
Q

the target of the new operator must be a value. Classes occupy an interesting place in the language because they are represent both a type and a value

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
125
Q

find out about “export default”

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
126
Q

in phantomjs index.d.ts

A

declare module “webpage” { export function create(): WebPage; }

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
127
Q

import a simple .d.ts typing

A

import “webrtc”; you may need to use “moduleResolution”: “node” in the compiler options. Alternatively use the “types”: [“webrtc”] compiler option and the compiler will automatically load those types up for you.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
128
Q

install @types/phantom not @types/phantomjs?

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
129
Q

the one-liner for importing a .d.ts typing

A

change output to ES6; and, import * as phantom from ‘phantom’;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
130
Q

EaW spoiler Hera

A

Hera can get a vehicle out Turn 1, add C3-PO, which makes C3-PO akin to say a Holocron

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
131
Q

What is the default expiration of an ASP.NET created “new HttpCookie()” . . . ?

A

The default Expires value for a cookie is not a static time, but it creates a Session cookie. This will stay active until the user closes their browser/clears their cookie

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
132
Q

difference between merge and concat

A

merge interleaves items; concat emits all of source observable before moving on to the next

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
133
Q

VSC change language mode

A

Ctrl-K M

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
134
Q

highlight.js

A

syntax highlighting for the web

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
135
Q

expand AST select

A

Shift-Alt-right (Shift-Alt-left to collapse)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
136
Q

go to next problem/error

A

F8 (shift-F8 to previous)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
137
Q

Ctrl-\

A

split editor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
138
Q

Ctrl+Alt+Right

A

move Editor into Next Group (ctrl-alt-left previous)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
139
Q

Ctrl+1

A

Focus into First Editor Group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
140
Q

Ctrl+K Ctrl+Left

A

Focus into Editor Group on the Left (right)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
141
Q

Ctrl+Shift+PageUp

A

Move Editor Left (pgdn - right)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
142
Q

Ctrl+K Left

A

Move Active Editor Group Left

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
143
Q

Ctrl+K P

A

Copy Path of Active File

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
144
Q

Ctrl+K W

A

Close Group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
145
Q

Ctrl+Tab

A

Open Next (Shift-Ctrl-Tab = open previous)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
146
Q

Ctrl+K Z

A

Toggle Zen Mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
147
Q

Ctrl+Q

A

Quick Open View

148
Q

Ctrl+K V

A

Open Preview to the Side

149
Q

Ctrl+K Ctrl+S

A

Open Keyboard Shortcuts

150
Q

Ctrl+K Ctrl+T

A

Select Color Theme

151
Q

Open User Snippets

A

unassigned (me: Ctrl-U)

152
Q

Ctrl+Shift+B

A

Run Build Task

153
Q

All keyboard shortcuts in VS Code can be customized via

A

the keybindings.json file

154
Q

In VSC key bindings, you can invoke a command with

A

arguments

155
Q

Q: How to find out what command is bound to a specific key?

A

A: In the Default Keyboard Shortcuts, open Quick Outline by pressing Ctrl+Shift+O

156
Q

Q: How to add a key binding to an action? For example add Ctrl+D to Delete Lines

A

157
Q
A

158
Q

rx let

A

is a convenience function for being able to compartmentalize logic and inject it into a pipeline

159
Q

JIRA: Go to Issue Navigator

A

g then i

160
Q

on JIRA issue: next issue = ‘J’ (prev = ‘K’)

A

161
Q

Comment on Issue m

A

162
Q

JIRA edit, assign

A

e,a

163
Q

JIRA assign to me

A

i

164
Q

Emmy and Julia’s build-a-bear twins

A

Cocoa pup and cocoa bear

165
Q

a frayed connection can stop all the connections in the big power block from working

A

166
Q

Sequelize

A

the Sequelize library, which is an ORM (Object-Relational Mapping) tool for Node.js applications

167
Q

Chalk

A

a node library for terminal string styling - console.log(chalk.blue(‘Hello world!’)); just chain and nest the styles you want

168
Q

Dana wants to check out http://cheesecakestoreonline.com/

A

Steve Buresh’s Cheesecake Store and Sandwich Shp

169
Q

Eli’s test readout https://www.evernote.com/shard/s207/nl/23017663/418cde08-ceda-4606-a64a-76ad0a40a541

A

170
Q

egghead.io 199/yr monthly and quarterly payments available 40/mo!

A

171
Q

Reactive forms is an Angular technique for creating forms in a reactive style

A

172
Q

Angular forms - two philosophies

A

Angular offers two form-building technologies: reactive forms and template-driven forms. The two technologies belong to the @angular/forms library and share a common set of form control classes. But they diverge markedly in philosophy, programming style, and technique. They even have their own modules: the ReactiveFormsModule and the FormsModule.

173
Q

reactive forms

A

With reactive forms, you create a tree of Angular form control objects in the component class and bind them to native form control elements in the component template, using techniques described in this guide. You create and manipulate form control objects directly in the component class. As the component class has immediate access to both the data model and the form control structure, you can push data model values into the form controls and pull user-changed values back out. The component can observe changes in form control state and react to those changes.

174
Q

template-driven forms

A

While this means less code in the component class, template-driven forms are asynchronous which may complicate development in more advanced scenarios.

175
Q

forms: async vs sync

A

Reactive forms are synchronous. Template-driven forms are asynchronous. It’s a difference that matters. In reactive forms, you create the entire form control tree in code. You can immediately update a value or drill down through the descendents of the parent form because all controls are always available. Template-driven forms delegate creation of their form controls to directives. To avoid “changed after checked” errors, these directives take more than one cycle to build the entire control tree. That means you must wait a tick before manipulating any of the controls from within the component class.

176
Q

FormControl

A

FormControl is a directive that allows you to create and manage a FormControl instance directly. export class HeroDetailComponent1 { name = new FormControl(); }

177
Q

FormControl constructor

A

A FormControl constructor accepts three, optional arguments: the initial data value, an array of validators, and an array of async validators.

178
Q

binding a FormControl

A
179
Q

core form classes

A

AbstractControl is the abstract base class for the three concrete form control classes: FormControl, FormGroup, and FormArray. It provides their common behaviors and properties, some of which are observable. FormControl tracks the value and validity status of an individual form control. It corresponds to an HTML form control such as an input box or selector. FormGroup tracks the value and validity state of a group of AbstractControl instances. The group’s properties include its child controls. The top-level form in your component is a FormGroup. FormArray tracks the value and validity state of a numerically indexed array of AbstractControl instances.

180
Q

formgroup example

A

Hero Detail

FormControl in a FormGroup

Name:
Notice that now the single input is in a form element. The novalidate attribute in the element prevents the browser from attempting native HTML validations.

181
Q

a “form model” backs the FormControls

A

Form value: {{ heroForm.value | json }}

Form status: {{ heroForm.status | json }}

182
Q

What is FormBuilder

A

The FormBuilder class helps reduce repetition and clutter by handling details of control creation for you

183
Q

FormBuilder example

A

constructor(private fb: FormBuilder) { //

184
Q

form group with a validator

A

this.heroForm = this.fb.group({ name: [’’, Validators.required], });

185
Q

selects and options

A

You must bind the option’s value property with [value]=”state”. If you do not bind the value, the select shows the first option from the data model.

186
Q

nested formgroups

A

this.heroForm = this.fb.group({ //

187
Q

Inspect a single form value

A

Name value: {{ heroForm.get(‘name’).value }}

188
Q

some form properties

A
189
Q

Scott G made good confluence page on invoking mobile API

A

190
Q

mobile API url

A

/api/MobileApi.aspx

191
Q

mobile API invocation - points to remember

A

The query string parameter “Method” must be provided to invoke the desired operation (e.g., /api/MobileApi.aspx?Method=GetCompanyRoom&…) The query string parameter “SessionId” must be provided in order to authorize the request. It must be in GUID format without brackets (e.g., /apiMobileApi.aspx?Method=GetCompanyRoom&SessionId=6D1F4702-E0FE-4310-8312-5B7C83CDBF8E) The content type of the request and response body must be text/xml and always works from a parent element

192
Q

mapping from form model to data model

A

The component must copy the hero values in the data model into the form model. There are two important implications:

The developer must understand how the properties of the data model map to the properties of the form model.

User changes flow from the DOM elements to the form model, not to the data model. The form controls never update the data model.

The form and data model structures need not match exactly. You often present a subset of the data model on a particular screen.

this alignment facilitates copying the data model properties to the form model with the patchValue and setValue methods

193
Q

how to invoke command line from node.js

A

There is a Child Process Module which allows to execute a child process. You will need either child_process.exec, child_process.execFile or child_process.spawn. All of these are similar in use, but each has its own advantages.

194
Q

child_process sample usage

A
const { spawn } = require('child\_process');
const bat = spawn('cmd.exe', ['/c', 'my.bat']);

bat.stdout.on(‘data’, (data) => {
console.log(data.toString());
});

bat.stderr.on(‘data’, (data) => {
console.log(data.toString());
});

bat.on(‘exit’, (code) => {
console.log(Child exited with code ${code});
});

195
Q

vsc fold recursively

A

Ctrl-K Ctrl-[

196
Q

Fold All, or Fold Level N

A

Ctrl-K Ctrl-0,

Ctrl-K Ctrl-{n}

197
Q

dev and test - simpsons password

A

cartavi321!

198
Q

json-server

A

You can access your fake API from anywhere using CORS and JSONP

199
Q

Project Scorpio

A

Xbox One X

200
Q

Type 4 - direction of growth

A

Back to basics today: remember that your Direction of Growth is to One, which means overcoming self-absorption, acting on objective principles, and being led by reality. Do you sense this movement of growth in yourself?

201
Q

Type 5 - direction of growth

A

Back to basics today: remember that your Direction of Growth is to Eight, which allows you to become grounded in your body and feeling the self-confidence of the power of your instinctual energy. Do you sense this movement of growth in yourself?

202
Q

Type 4 - basic desire

A

your Basic Desire is to find yourself and your significance and to create an identity out of your inner experience

203
Q

Type 5 - basic desire

A

your Basic Desire is to understand reality and uncover the essence of things

204
Q

deuterocanonical vs protocanonical books (vs non-canonical)

A

The deuterocanonical books (from the Greek meaning “belonging to the second canon”) are the books and passages of the Christian Old Testament that are not part of the Hebrew Bible. The term, used since the 16th century by the Catholic Church and sometimes by Orthodox Christianity, distinguishes these texts from the protocanonical books, which are the books contained in the Hebrew canon

205
Q

Eastern Orthodox texts

A

The Eastern Orthodox canon includes the deuterocanonical books listed above, plus 3 Maccabees and 1 Esdras

206
Q

Catholic deuterocanonical books

A

Tobit Judith Additions to Esther (Vulgate Esther 10:4–16:24)[9] Wisdom (also called the Wisdom of Solomon) Sirach (also called Ecclesiasticus) Baruch, including the Letter of Jeremiah (Additions to Jeremiah in the Septuagint)[10] Additions to Daniel: Prayer of Azariah and Song of the Three Holy Children (Vulgate Daniel 3:24–90) Susanna (Vulgate Daniel 13, Septuagint prologue) Bel and the Dragon (Vulgate Daniel 14, Septuagint epilogue) 1 Maccabees 2 Maccabees

207
Q

KJV Apocrypha

A

The Apocrypha section of the original 1611 King James Bible includes, in addition to the deuterocanonical books, the following three books: 1 Esdras (Vulgate 3 Esdras) 2 Esdras (Vulgate 4 Esdras) Prayer of Manasseh

209
Q

Angular 4.3 (HC)

A

HttpClient, a smaller, easier to use, and more powerful library for making HTTP Requests

210
Q

Ang4.3 conditionally disable animations

A

Conditionally disable animations via a new attribute, [@.disabled]

211
Q

Ang5 - smaller, faster; AoT becomes the default

A

… Ang5 in Oct2018

212
Q

what is temp close vs perm close

A

there is a temp close situation when attempting to corner the villain

213
Q

Stach is pathfinder character ___

A

Lem

214
Q

Bree is pathfinder character ___

A

Seoni

215
Q

blessing card that can recharge instead of discarding if they match top card of blessings deck

A

Torag, Sarenrae

216
Q

Guidance

A

add 1 to any check

217
Q

Battleaxe

A

strength +1d6, discard for +1d8, but +4 difficulty if no weapons specialty

218
Q

Koz in pathfinder

A

Valeros

219
Q

there is one __ or one __ in each location pile

A

villain or henchman

220
Q

if close location and villain is in there…

A

villain becomes only card of that pile

221
Q

blessings can help across locations?

A

true

222
Q

Brett has the ability to

A

play >1 blessing at once

223
Q

hand management idea: set aside cards that ___

A

could be relevant on others’ turns

224
Q

closed location cards are

A

turned over

225
Q

our game “snapshot” strategy

A

deck down, discard up, hand down

226
Q

I’m a Gentleman Chrome extension

A

Save images with one click using the hotkey alt + click Or save images dragging them (drag an image slightly to any side and release the mouse) Download every single image on the page by using the extension button (green button on the right top)

227
Q

Kyra character card

A
228
Q

Lem

A
229
Q

Valeros

A
230
Q

Harsk

A
231
Q

Seoni

A
232
Q

Merisiel

A
233
Q

upcoming yellow SWD cards

A
234
Q

some known new heroes in Empire at War

A
235
Q

if Postman tests fail with an Unauthorized . . .

A

may need to run Cartavi.DataLoader\SQL\ LoadPostmanTestData.sql to set up some test users

236
Q

choco outdated

A

list outdated packages

237
Q

update chocolatey

A

choco upgrade or “cup” -y

238
Q

add path permanently to system path variable from command line

A

set PATH=%PATH%;C:\xampp\php

239
Q

resize to 256x

A

magick mogrify -resize 256x256 *.jpg

240
Q

convert pngs to jpgs

A

magick mogrify -format jpg *.png

241
Q

iterate lines of a file from PowerShell

A

$content = Get-Content outdated.txt

foreach ($line in $content)

{

Write-Host $line

}

242
Q

how to split a string and iterate segments in Powershell

A

$lines = $line.Split(“|”)

foreach ($segment in $lines)

{

Write-Host $segment

}

243
Q

my tritype and instinct stack

A

459 sp/sx/so

244
Q

aot 1

A
245
Q

aot 2

A
246
Q

Tap House Grill wifi

A

THEBEERNET/ilovebeer

247
Q
A
248
Q
A
249
Q

my instinct stacks, based on reading, for 4 and 5

A

on 5, what feels truer to me (ranked in order from most to least resonant, as I assume I should be doing) - so/sx/sp . . .

for 4, it seems like so/sp/sx but the sp/sx are tied

so maybe overall so is top, then sx, then sp (which is completely reversed from that original test result)!

so/sx/sp

250
Q

John Kelly, chief of staff

A
251
Q
A
252
Q
A
253
Q

Evolution items guide

A
254
Q
A
255
Q

strange stark theism, which many denounced as atheism

A

Spinoza

256
Q

did most to set medieval theology upon its Aristotelian path

A

Maimonides (influence over not only Judaism but Islam and Christianity)

257
Q

Jews forced to convert under the Inquisition were called

A

marranos

258
Q

Utrecht

A

Both a Dutch province and that province’s largest city

259
Q

‘Remonstrance’

A

a document drawn up in 1610 by the Arminians of the Dutch Reformed Church, presenting the differences between their doctrines and those of the strict Calvinists

260
Q
A

261
Q
A

Arminius

262
Q

soteriology

A

the doctrine of salvation

263
Q
A
264
Q

Collegiants

A

The sect began as a refuge from the perceived bitterness of the Calvinist and Arminian controversies of the day. An association, founded in 1619 among the Arminians and Anabaptists in Holland.[1] They were so called because of their colleges (meetings) held the first Sunday of each month, at which everyone had the same liberty of expounding the scripture, praying, etc. Spinoza was involved for several years

265
Q

most major work by Spinoza

A

Ethics

266
Q

Spinoza supported himself by

A

giving private lessons in Cartesian philosophy and by grinding lenses

267
Q

Spanish, Hebrew, effective command of Portuguese and Dutch - but Latin became the primary vehicle of his thought

A

Spinoza’s languages

268
Q
A
269
Q
A
270
Q
A
271
Q
A
272
Q
A
273
Q
A
274
Q
A
275
Q
A
276
Q
A
277
Q
A
278
Q
A
279
Q
A
280
Q
A
281
Q
A
282
Q
A
283
Q

Scott put this in -

ALTER DATABASE Cartavi SET COMPATIBILITY_LEVEL = 130

130 is the current level for SQL Azure and 2016

needed for some of our JSON querying syntax

A

284
Q
A
285
Q

npm install tslint-microsoft-contrib

A

extra lint rules

286
Q

By and large Christian sermons have told us what to see, not how to see. Contemplating is changing the seer.

A

Richard Rohr on the Liturgists

287
Q

Vatican ii - big reform in the sixties - at the height of success, big reinvention by pope John Paul II

A
288
Q

Dana mom TMJ carotid arteries bad, just see cardiologist

A

4 out of 5 on blockage scale, needs surgery, 5% mortality rate?!

289
Q
A
290
Q
A
291
Q
A
292
Q
A
293
Q
A
294
Q
A
295
Q
A
296
Q
A
297
Q
A
298
Q
A
299
Q
A
300
Q
A
301
Q
A
302
Q
A
303
Q
A
304
Q
A
305
Q
A
306
Q
A
307
Q
A
308
Q
A
309
Q
A
310
Q
A
311
Q
A
312
Q
A
313
Q
A
314
Q
A
315
Q
A
316
Q
A
317
Q
A
318
Q
A
319
Q
A
320
Q
A
321
Q
A
322
Q
A
323
Q
A
324
Q
A
325
Q
A
326
Q
A
327
Q
A
328
Q
A
329
Q
A
330
Q
A
331
Q
A
332
Q
A
333
Q
A
334
Q
A
335
Q
A
336
Q
A
337
Q
A
338
Q
A
339
Q
A
340
Q
A
341
Q
A
342
Q
A
343
Q
A
344
Q
A
345
Q
A
346
Q
A
347
Q
A
348
Q
A
349
Q
A
350
Q
A
351
Q
A
352
Q
A
353
Q
A
354
Q
A
355
Q
A
356
Q
A
357
Q
A
358
Q
A
359
Q
A
360
Q
A
361
Q
A
362
Q
A
363
Q
A
364
Q
A
365
Q
A
366
Q
A
367
Q
A