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
{"lastUpload":"2020-12-22T08:42:40.120Z","extensionVersion":"v3.4.3"} |
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 React from 'react'; | |
import { Providers, ProviderState, SimpleProvider } from '@microsoft/mgt-element'; | |
import { acquireGraphAccessToken } from 'authConfig'; | |
import { authProvider } from 'index'; | |
const provider = new SimpleProvider(() => acquireGraphAccessToken(authProvider)); | |
Providers.globalProvider = provider; | |
Providers.globalProvider.setState(ProviderState.SignedIn); |
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
# Simple PowerShell script to iterate files in a folder, look for the defined RAW-file extension and see if it has an accompanying .JPG-file | |
# If it does not, move it into the "clean"-folder | |
# Create folder selector | |
Add-Type -AssemblyName System.Windows.Forms | |
$browser = New-Object System.Windows.Forms.FolderBrowserDialog | |
$null = $browser.ShowDialog() | |
# Store selected path in var | |
$path = $browser.SelectedPath |
OlderNewer