페이지

2023년 8월 5일 토요일

Appium - Mobile Testing (Android/IOS) from Scratch + Frameworks

 1. What is Appium?

Applum is open-Source Mobile Automation tool for testing native Apps(Android & IOS) and mobile browsers

Applum Inernally uses WebDriver json wire(Which Selenium does)to test the Apps. so,  it is just like Selenium but for mobile


APPIUM:

Open source Mobile Automation tool.

The only Cross-platform test supporting tool

Works for native, hybrid and boile web apps.

Supports Web driver APU - Selenium Family!


Supported Platforms

- iOS

- Android

- Firefox OS


You can write the code in any language Supported by Webdriver:


Java, C#, Javascript, Python, Ruby.















2. Step by Step Instructions for Appoium Configuration in Windows/MAC


Download Java





2022년 12월 11일 일요일

Iltimate AWS Certified(SAA-C03) IAM Policies

 IAM Policies Structure

- Consists of 

* Version: policy language version, always include "2012-10-17"

* Id: an identifier for the policy(optional)

* Statement: one or moere individual statements(required)


- Statements consists of

* Sid: an identifier for the statement(optional)

* Effect: whether the statement allows or denies a access(Allow, Deny)

* Principal:account|user|role to which this policy applied to

* Action: list of actios this policy allows or denies

* Resource: list of resources to which the actions applied to

* Condition: conditions for when this policy is in effect(optional)


{

    "Version" : "2012-10-17",

    "Id" : "S3-Account-Permissions",

    "Statement" : [

        {

            "Sid" : "1",

            "Effect" : "Allow",

            "Principal" : {

                "AWS" : [ "arn:aws:iam::123456789012:root"]

            },

            "Action" : [

                "s3:GetObject",

                "s3:PutObject"

            ],

            "Resource" : ["arn:aws:s3::myubucket|*"]

        }

    ]

}





skk

ss



2022년 12월 10일 토요일

Iltimate AWS Certified(SAA-C03) IAM:Permissions

- Users or Groups can be assigned JSON documents called policies

- These policies define the permisssions of the users

- In AWS you apply the least privilege principle: don't give more permissions than a user needs


{

    "Version": "2012-10-17",

    "Statement" : [

        {

            "Effect" : "Allow",

            "Action" : "ec2:Describe*",

            "Resource" : "*"

        },

        {

            "Effect" : "Allow",

            "Action" : "elasticloadbalancing:describe*",

            "Resource" : "*"

        },

        {

            "Effect" : "Allow",

            "Action" : " [

                "cloudwatch:ListMetrics",

                "cloudwatch:GetMetricStatistics",

                "cloudwatch:Describe*"

            ],

            "Resource" : "*"

        }

    ]

}







Iltimate AWS Certified(SAA-C03) IAM:Users & Groups

- IAM = Identity and Access Management, Global service

- Root account created b y default, shouldn't be used or shared

- Users are people within your organization, and can be grouped

- Groups only  contain users, not other groups

- Users don't have to belong to a group, and user can belong to multiple groups


2022년 11월 12일 토요일

Software Architecture

 [AN ARCHITECTURAL DECISION IS]

THOSE DECISIONS WHICH AFFECT THE STRUCTURE, NON-FUNCTIONAL CHARACTERISTICS, DEPENDENCIES, INTERFACES, OR CONSTRUCTION THECHNOLOGY

- Michael Nygard, Documenting Architecture Decisions (2011)

YOU THINK THAT BECAUSE YOU UNDERSTAND "ONE" THAT YOU MUST THERERFORE UNDERSTAND "TWO" BECAUSE ONE AND ONE MAKE TWO. BUT YOU FORGET THAT YOU MUST ALSO UNDERSTAND "AND".

- Donella Meadows, Thinking in Systems



2022년 10월 9일 일요일

Kubernetes - few key terms

 CNI and CSI

- The containser networking and storage interfaces, respectively, that allow for pluggable networking and storage for Pods(containers) that run in Kubernets.


Container

- A Docker or OCI image that typically runs an application.


Control plane 

- The brains of a Kubernetes cluster, where scheduling of containers and managing all Kubernets objects takes place (sometimes referred to as Masters)

DaemonSet

- Like a deployment, but it runs on every node of a cluster.


Deployment

- A collection of Pods that is managed by Kubernetes.


kubectl

- The command-line tool for talking to the Kubernetes control plane.


kubelet

- The Kubernetes agent that runs on your cluster nodes. It does what the control plane needs it to do.


Node 

- A machine that runs a kubelet process.


OCI

- The common image format for building executable, self-containerd applications. Also referred to as Docker images.


POD

- The Kubernetes object that encapsulates a running container.


2022년 10월 4일 화요일

30.1 확인 1: Variable 인스턴스 변수

 첫 번째로 Variable 클래스의 인스턴스 변수에 관해 복습하겠습니다. 우선 Variable 클래스를 초기화하는 __init__ 메서드를 보죠.


이와 같이 Variable 클래스에는 인스턴스 변수가 여러 개입니다. 그중 data와 grad에 주목해보죠. data와 grad는 각각 순전파 계산과 역전파 계산 시 사용됩니다. 주의할 것은 data와 grad 모두 ndarray 인스턴스를 저장한다는 사실입니다. 이 점을 부각하기 위해 [그림 30-1]처럼 그리겠습니다.


[그림 30-1]과 같이 data 와 grad는 '입방체의 상자'로 그리겠습니다. 그리고 data와  grad가 ndarray 인스턴스를 참조한느 경우에는 [그림 30-2]처럼 그립니다.