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
/** | |
* Make all properties in T required | |
*/ | |
declare type MakeRequired<T, K extends keyof T> = { | |
[P in K]-?: T[P]; | |
} & Omit<T, K>; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="description" content="ConcurrencyManager with takeANumber"> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> |
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
<aura:component implements="clients:availableForMailAppAppPage,clients:hasItemContext,flexipage:availableForAllPageTypes"> | |
<aura:attribute name="window" type="String" access="private" /> | |
<aura:attribute name="document" type="String" access="private" /> | |
<aura:handler name="init" value="{! this }" action="{! c.init }" /> | |
<aura:handler Name="change" value="{!v.messageBody}" action="{!c.handleMessageBodyChanged}" /> | |
<!-- This has JQUERY included | |
<ltng:require scripts="https://code.jquery.com/jquery-3.2.0.min.js"/> | |
<br/> --> | |
<lightning:card title="Custom component show body"> | |
<p class="slds-p-horizontal--small"> |
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
<aura:component implements="clients:availableForMailAppAppPage,clients:hasItemContext"> | |
<div> | |
Subject:{!v.subject}<br/> | |
<ui:button label="Click" press="{!c.myAction}"/> | |
Body: {!v.messageBody} | |
</div> | |
</aura:component> |
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
{"lastUpload":"2019-07-18T17:31:30.684Z","extensionVersion":"v3.2.9"} |
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
$toDelete = Get-ChildItem . -recurse | Where-Object {$_.PSIsContainer -eq $True} | Where-Object {$_.GetFiles().Count -eq $_.GetFiles("*.ini").Count -and $_.GetDirectories().Count -eq 0} | Select-Object FullName | |
foreach ($dir in $toDelete) { Remove-Item $dir.FullName } |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000] | |
"KMD_EnableBrightnessInterface2"=dword:00000000 |