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
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: my-deployment | |
| spec: | |
| selector: | |
| matchLabels: | |
| my-label: some-value | |
| replicas: 3 | |
| template: |
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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: ahmad3 | |
| spec: | |
| containers: | |
| - image: wordpress | |
| name: first-wordpress-container | |
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
| name: Docker Image CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: |
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 com.example.ahmad.myapplication; | |
| import android.os.Bundle; | |
| import android.support.v4.content.ContextCompat; | |
| import android.support.v4.view.ViewPager; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.view.ViewGroup; | |
| import android.widget.ImageView; | |
| import android.widget.LinearLayout; |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:id="@+id/drawer_layout" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:fitsSystemWindows="true" | |
| tools:openDrawer="start"> |
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 class t { | |
| public static void main(String[] args) { | |
| int current_val = 0, counter = 0; | |
| for (int i = 1; i < 10000000; i++) { | |
| current_val = i; | |
| while (current_val != 1) { | |
| current_val = calculateSquares(current_val); | |
| if (current_val == 89) { |