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
| public void Configure(IApplicationBuilder app, IWebHostEnvironment env) | |
| { | |
| if (env.IsDevelopment()) | |
| { | |
| app.UseDeveloperExceptionPage(); | |
| } | |
| app.UseHttpsRedirection(); | |
| app.UseRouting(); |
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
| provider "aws" { | |
| region = "us-east-2" | |
| } | |
| resource "aws_launch_configuration" "test" { | |
| image_id = "ami-0c55b159cbfafe1f0" | |
| instance_type = "t3.micro" | |
| security_groups = [aws_security_group.test.id] | |
| user_data = <<-EOF |
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
| provider "google" { | |
| credentials = file("service-account.json") # the file that holds your credentials | |
| project = var.project_name | |
| region = var.region | |
| zone = var.region_zone | |
| } | |
| resource "random_id" "instance_id" { | |
| byte_length = 4 | |
| } |
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
| terraform { | |
| required_version = ">= 0.12" | |
| } | |
| provider "azurerm" { | |
| features {} | |
| } | |
| resource "azurerm_resource_group" "dev" { | |
| name = "localterraformdemorg" |
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
| provider "auth0" {} | |
| resource "auth0_email" "my_email_provider" { | |
| name = "ses" | |
| enabled = true | |
| default_from_address = "[email protected]" | |
| credentials { | |
| access_key_id = "AKIAXXXXXXXXXXXXXXXX" | |
| secret_access_key = "7e8c2148xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
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
| version: "3.7" | |
| services: | |
| mssql: | |
| image: "mcr.microsoft.com/mssql/server" | |
| container_name: MS_SQL_Server | |
| restart: always | |
| environment: | |
| SA_PASSWORD: "Pass123!" | |
| ACCEPT_EULA: "Y" |
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-native-gesture-handler'; | |
| import React from 'react'; | |
| import { | |
| SafeAreaView, | |
| StyleSheet, | |
| ScrollView, | |
| View, | |
| Text, | |
| StatusBar, | |
| } from 'react-native'; |
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 { View, Text } from 'react-native' | |
| import { Button } from 'react-native-paper'; | |
| const LoginScreen = () => { | |
| return (<View> | |
| <Text>Hello LoginScreen</Text> | |
| <Text>Hello LoginScreen</Text> | |
| <Text>Hello LoginScreen</Text> | |
| <Button icon="camera" mode="contained" onPress={() => console.log('Pressed')}> |
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
| <script> | |
| import { onMount } from "svelte"; | |
| import { heroStore } from "./hero.store.js"; | |
| import { navigate } from "svelte-routing"; | |
| import Loader from "../shared/Loader.svelte"; | |
| let heroForm = { | |
| firstName: "", | |
| lastName: "", | |
| house: "", | |
| knownAs: "" |
NewerOlder