🤵♂️
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
TODO |
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
float temp; | |
int tempPin = A1; //arduino pin used for temperature sensor. CHANGE THIS BASED ON YOUR CONFIGURATION | |
int tempMin = 70; | |
int tempMax = 75; | |
int motor = 2; // the pin where motor is connected. CHANGE THIS BASED ON YOUR CONFIGURATION | |
int motorSpeed = 0; | |
void setup() { | |
pinMode(motor, OUTPUT); | |
pinMode(tempPin, INPUT); |
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
# connect | |
$cred = Get-Credential | |
Connect-AzureAD -Credential $cred | |
# setting variables | |
$invitations = import-csv ..\invitations.csv | |
$messageInfo = New-Object Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo | |
$messageInfo.customizedMessageBody = "Hey there! Check this out. I created an invitation through PowerShell" | |
# loop |
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
$cred = Get-Credential | |
Connect-AzureAD -Credential $cred | |
$invitations = import-csv C:\data\invitations.csv | |
$messageInfo = New-Object Microsoft.Open.MSGraph.Model.InvitedUserMessageInfo | |
$messageInfo.customizedMessageBody = "Hey there! Check this out. I created an invitation through PowerShell" | |
foreach ($email in $invitations) {New-AzureADMSInvitation -InvitedUserEmailAddress $email.InvitedUserEmailAddress -InvitedUserDisplayName $email.Name -InviteRedirectUrl https://wingtiptoysonline-dev-ed.my.salesforce.com -InvitedUserMessageInfo $messageInfo -SendInvitationMessage $true} |
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
this.setState(prevState => ({ | |
OBJECT_NAME: { | |
...prevState.OBJECT_NAME, | |
OBJECT_KEY : NEW_VALUE | |
}})); |
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
# Connect to Office 365 | |
$tenant = connect-site -Url https://tenant-admin.sharepoint.com -Browser | |
# Get list of emails | |
$eMailCSV = "C:\emailList.csv" | |
$table = Import-Csv $eMailCSV -Delimiter ";" | |
# Iterate through emails and provision OneDrive sites | |
foreach ($row in $table) { | |
Get-OneDriveUrl -Tenant $tenantMoravia -Email $row.email -ProvisionIfRequired |
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
{ | |
"git.ignoreMissingGitWarning": true, | |
"window.zoomLevel": 0.5, | |
"breadcrumbs.enabled": true, | |
"editor.wordWrap": "on", | |
"editor.formatOnPaste": true, | |
"editor.formatOnSave": true, | |
"editor.formatOnType": true, | |
"editor.quickSuggestions": { | |
"other": true, |
NewerOlder