Random Flashcards
xcopy recurse
/e
xcopy no prompt
/y
rmdir with non-empty directory
rmdir ___ /y
use “for” to recursively copy files
for /r C:\Folder %f in (*.png) do @copy “%f” C:\png
endpoint where “add data field” hits
CompanyContactController
Where does this live in the database? applicationUser.CompanyUserPermissions.IsCompanySystemAdmin
straight-up on the User table
Hipchat: /code ___
format
Hipchat: /quote ___
special formatting
Hipchat: /clear
…
Hipchat: /me
Chat about yourself in the third person
Hipchat emoticons work like this: (taco)
can add custom ones easily
table modified when user hits “add field” endpoint
CompanyRoomContactField
CompanyRoomContactField structure
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 },
speed up Visual Studio (Code Lens specifically)
Tools > Options > Text Editor > All Languages > Code Lens > Turn everything off except Show References
speed up Visual Studio (Code Lens specifically)
Tools > Options > Text Editor > All Languages > Code Lens > Turn everything off except Show References
All DTR textboxes and selects have the class ___
input-text and input-select
how to do serve-from-disk
two terminals: 1) npm build –watch; 2) lite-server –base-dir=”dist”
LINQ DefaultIfEmpty
Returns the elements of the specified sequence or the type parameter’s default value in a singleton collection if the sequence is empty
Recursive rename from command line
for /R %x in (*.m4v) do ren “%x” *.avi
TS declare keyword
tell TS you’re referencing code that exists elsewhere
if a file has the extension .d.ts then
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
VSC “box select”
Ctrl-Alt-Shift-arrows
Ctrl-Shift-L
select all instances of a string
trying out Bookmarks VSC extension
…


















































































































