Color(0xFFEADDFF) Color(0xFFD0BCFF) Color(0xFFB69DF8)
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
package io.github.kevinah95.unit01.l02_repaso | |
import androidx.compose.ui.test.assertIsDisplayed | |
import androidx.compose.ui.test.hasTestTag | |
import androidx.compose.ui.test.junit4.createAndroidComposeRule | |
import androidx.test.platform.app.InstrumentationRegistry | |
import androidx.test.ext.junit.runners.AndroidJUnit4 | |
import org.junit.Test | |
import org.junit.runner.RunWith |
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
using AutoMapper; | |
using AutoMapper.Internal; | |
using MappingObjects.Models; | |
namespace MappingObjects.Mappers; | |
public static class CartToSummaryMapper | |
{ | |
public static MapperConfiguration GetMapperConfiguration() | |
{ |
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
builder.Services.AddSwaggerGen(opt => | |
{ | |
opt.SwaggerDoc("v1", new OpenApiInfo { Title = "MyAPI", Version = "v1" }); | |
opt.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme | |
{ | |
In = ParameterLocation.Header, | |
Description = "Please enter token", | |
Name = "Authorization", | |
Type = SecuritySchemeType.Http, | |
BearerFormat = "JWT", |
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
using System.ComponentModel.DataAnnotations; | |
using System.ComponentModel.DataAnnotations.Schema; | |
namespace APIConBD.Entities; | |
[Table("Todos")] | |
public partial class Todo | |
{ | |
[Key] | |
public int Id { get; set; } |
On Android File > New > New Module > then Create a Module or Import a Module
That will help to work on the same repo having different android projects that's how this open source does it https://github.com/braintree/braintree_android
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
AWSTemplateFormatVersion: 2010-09-09 # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/format-version-structure.html | |
Resources: | |
PrimerInstancia: | |
Type: AWS::EC2::Instance | |
Properties: | |
AvailabilityZone: us-east-1 | |
ImageId: ami-00f8146d2a74d4b4e | |
InstanceType: t2.micro | |
Tags: |
https://eslint.org/blog/2023/10/deprecating-formatting-rules/
$ npm init @eslint/config
✔ How would you like to use ESLint? · problems
✔ What type of modules does your project use? · esm
✔ Which framework does your project use? · react
✔ Does your project use TypeScript? · No / Yes
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
#!/bin/bash | |
# Install Apache Web Server and PHP | |
dnf install -y httpd wget php mariadb105-server | |
# Download Lab files | |
wget https://aws-tc-largeobjects.s3.us-west-2.amazonaws.com/CUR-TF-100-ACCLFO-2/2-lab2-vpc/s3/lab-app.zip | |
unzip lab-app.zip -d /var/www/html/ | |
# Turn on web server | |
chkconfig httpd on | |
service httpd start |
NewerOlder