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
#!/usr/bin/env zsh | |
# Original code modified from https://www.labnol.org/software/resize-mac-windows-to-specific-size/28345/ | |
osascript <<EOF | |
set appWidth to 1920 | |
set appHeight to 1080 | |
tell application "Finder" | |
set screenResolution to bounds of window of desktop |
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
#!/usr/bin/env zsh | |
# Original code modified from https://www.labnol.org/software/resize-mac-windows-to-specific-size/28345/ | |
osascript <<EOF | |
set appWidth to 1280 | |
set appHeight to 720 | |
tell application "Finder" | |
set screenResolution to bounds of window of desktop |
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
#!/usr/bin/env zsh | |
# Original code modified from https://www.labnol.org/software/resize-mac-windows-to-specific-size/28345/ | |
osascript <<EOF | |
set appHeight to 1080 | |
set appWidth to 1920 | |
tell application "Finder" | |
set screenResolution to bounds of window of desktop |
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
#!/usr/bin/env zsh | |
# Original code modified from https://www.labnol.org/software/resize-mac-windows-to-specific-size/28345/ | |
osascript <<EOF | |
set appHeight to 720 | |
set appWidth to 1280 | |
tell application "Finder" | |
set screenResolution to bounds of window of desktop |
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
import UIKit | |
final class AppDelegate: UIResponder, UIApplicationDelegate { | |
func application( | |
_ application: UIApplication, | |
configurationForConnecting connectingSceneSession: UISceneSession, | |
options: UIScene.ConnectionOptions | |
) { | |
if let userActivity = options.userActivities.first { | |
switch userActivity.activityType { |
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
import UIKit | |
final class AppDelegate: UIResponder, UIApplicationDelegate { | |
func application( | |
_ application: UIApplication, | |
configurationForConnecting connectingSceneSession: UISceneSession, | |
options: UIScene.ConnectionOptions | |
) -> UISceneConfiguration { | |
let configuration = UISceneConfiguration( | |
name: "Main Scene", |
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
<UserJourney Id="SignUpOrSignIn"> | |
<OrchestrationSteps> | |
<OrchestrationStep Order="1" Type="CombinedSignInAndSignUp" ContentDefinitionReferenceId="api.signuporsignin"> | |
<ClaimsProviderSelections> | |
<ClaimsProviderSelection ValidationClaimsExchangeId="LocalAccountSigninEmailExchange" /> | |
</ClaimsProviderSelections> | |
<ClaimsExchanges> | |
<ClaimsExchange Id="LocalAccountSigninEmailExchange" TechnicalProfileReferenceId="SelfAsserted-LocalAccountSignin-Email" /> | |
</ClaimsExchanges> |
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
<ContentDefinition Id="api.signuporsignin"> | |
<LoadUri>~/tenant/templates/AzureBlue/unified.cshtml</LoadUri> | |
<RecoveryUri>~/common/default_page_error.html</RecoveryUri> | |
<DataUri>urn:com:microsoft:aad:b2c:elements:contract:unifiedssp:2.1.5</DataUri> | |
<Metadata> | |
<Item Key="DisplayName">Signin and Signup</Item> | |
</Metadata> | |
</ContentDefinition> |
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
<TechnicalProfile Id="SelfAsserted-LocalAccountSignin-Email"> | |
<DisplayName>Local Account Signin</DisplayName> | |
<Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> | |
<Metadata> | |
<Item Key="SignUpTarget">SignUpWithLogonEmailExchange</Item> | |
<Item Key="setting.operatingMode">Email</Item> | |
<Item Key="ContentDefinitionReferenceId">api.localaccountsignin</Item> | |
</Metadata> | |
<IncludeInSso>false</IncludeInSso> | |
<InputClaims> |
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
<TechnicalProfile Id="SM-AAD"> | |
<DisplayName>Session Mananagement Provider</DisplayName> | |
<Protocol Name="Proprietary" Handler="Web.TPEngine.SSO.DefaultSSOSessionProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" /> | |
<PersistedClaims> | |
<PersistedClaim ClaimTypeReferenceId="objectId" /> | |
<PersistedClaim ClaimTypeReferenceId="signInName" /> | |
<PersistedClaim ClaimTypeReferenceId="authenticationSource" /> | |
<PersistedClaim ClaimTypeReferenceId="identityProvider" /> | |
<PersistedClaim ClaimTypeReferenceId="newUser" /> | |
<PersistedClaim ClaimTypeReferenceId="executed-SelfAsserted-Input" /> |