👇quiz 8👇
func main() { var i interface{} if i == nil { fmt.Println("nil") return } fmt.Println("not nil") }
func main() { var i interface{} if i == nil { fmt.Println("nil") return } fmt.Println("not nil") }
Anonymous Quiz
35%
Nil
47%
Not nil
18%
Error
Forwarded from Mahmoud
#نشست هفتم - لایو کدینگ از پروژهای که منجر به مهاجرت شد
در این ارائه حامد مومنی پروژهای رو که خودش برای مهاجرت انجام داده رو ارائه میده
https://youtu.be/Nh0EnCg7NnE
در این ارائه حامد مومنی پروژهای رو که خودش برای مهاجرت انجام داده رو ارائه میده
https://youtu.be/Nh0EnCg7NnE
Kubernetes-Cheat-Sheet_07182019.pdf
174.4 KB
🎯Kubernetes cheat sheet🎯
🔰 @gopher_academy
🔰 @gopher_academy
🎯start🎯
🔺gcloud init:
Initialize, authorize, and configure the gcloud tool.
🔺gcloud version:
Display version and installed components.
🔺gcloud components install:
Install specific components.
🔺gcloud components update:
Update your Cloud SDK to the latest version.
🔺gcloud config set project:
Set a default Google Cloud project to work on.
🔺gcloud info:
Display current gcloud tool environment details.
🔰 @gopher_academy
🔺gcloud init:
Initialize, authorize, and configure the gcloud tool.
🔺gcloud version:
Display version and installed components.
🔺gcloud components install:
Install specific components.
🔺gcloud components update:
Update your Cloud SDK to the latest version.
🔺gcloud config set project:
Set a default Google Cloud project to work on.
🔺gcloud info:
Display current gcloud tool environment details.
🔰 @gopher_academy
🎯Help🎯
👇Cloud SDK is happy to help.👇
🔺gcloud help:
Search the gcloud tool reference documents for specific terms.
🔺gcloud feedback:
Provide feedback for the Cloud SDK team.
🔺gcloud topic:
Supplementary help material for non-command topics like accessibility, filtering, and formatting
🔰 @gopher_academy
👇Cloud SDK is happy to help.👇
🔺gcloud help:
Search the gcloud tool reference documents for specific terms.
🔺gcloud feedback:
Provide feedback for the Cloud SDK team.
🔺gcloud topic:
Supplementary help material for non-command topics like accessibility, filtering, and formatting
🔰 @gopher_academy
🎯Personalization🎯
👇Make the Cloud SDK your own; personalize your configuration with properties.👇
🔺gcloud config set:
Define a property (like compute/zone) for the current configuration.
🔺gcloud config get-value:
Fetch value of a Cloud SDK property.
🔺gcloud config list:
Display all the properties for the current configuration.
🔺gcloud config configurations create:
Create a new named configuration.
🔺gcloud config configurations list:
Display a list of all available configurations.
🔺gcloud config configurations activate:
Switch to an existing named configuration.
🔰 @gopher_academy
👇Make the Cloud SDK your own; personalize your configuration with properties.👇
🔺gcloud config set:
Define a property (like compute/zone) for the current configuration.
🔺gcloud config get-value:
Fetch value of a Cloud SDK property.
🔺gcloud config list:
Display all the properties for the current configuration.
🔺gcloud config configurations create:
Create a new named configuration.
🔺gcloud config configurations list:
Display a list of all available configurations.
🔺gcloud config configurations activate:
Switch to an existing named configuration.
🔰 @gopher_academy
🎯Credentials🎯
👇Grant and revoke authorization to Cloud SDK👇
🔺gcloud auth login:
Authorize Google Cloud access for the gcloud tool with Google user credentials and set current account as active.
🔺gcloud auth activate-service-account:
Like gcloud auth login but with service account credentials.
🔺gcloud auth list:
List all credentialed accounts.
🔺gcloud auth print-access-token:
Display the current account's access token.
🔺gcloud auth revoke:
Remove access credentials for an account.
🔰 @gopher_academy
👇Grant and revoke authorization to Cloud SDK👇
🔺gcloud auth login:
Authorize Google Cloud access for the gcloud tool with Google user credentials and set current account as active.
🔺gcloud auth activate-service-account:
Like gcloud auth login but with service account credentials.
🔺gcloud auth list:
List all credentialed accounts.
🔺gcloud auth print-access-token:
Display the current account's access token.
🔺gcloud auth revoke:
Remove access credentials for an account.
🔰 @gopher_academy
🎯Projects🎯
👇Manage project access policies👇
🔺gcloud projects describe:
Display metadata for a project (including its ID).
🔺gcloud projects add-iam-policy-binding:
Add an IAM policy binding to a specified project.
🔰 @gopher_academy
👇Manage project access policies👇
🔺gcloud projects describe:
Display metadata for a project (including its ID).
🔺gcloud projects add-iam-policy-binding:
Add an IAM policy binding to a specified project.
🔰 @gopher_academy
🎯Identity & Access Management🎯
👇Configuring Cloud Identity & Access Management (IAM) preferences and service accounts👇
🔺gcloud iam list-grantable-roles:
List IAM grantable roles for a resource.
🔺gcloud iam roles create:
Create a custom role for a project or org.
🔺gcloud iam service-accounts create:
Create a service account for a project.
🔺gcloud iam service-accounts add-iam-policy-binding:
Add an IAM policy binding to a service account.
🔺gcloud iam service-accounts set-iam-policy-binding:
Replace existing IAM policy binding.
🔺gcloud iam service-accounts keys list:
List a service account's keys.
🔰 @gopher_academy
👇Configuring Cloud Identity & Access Management (IAM) preferences and service accounts👇
🔺gcloud iam list-grantable-roles:
List IAM grantable roles for a resource.
🔺gcloud iam roles create:
Create a custom role for a project or org.
🔺gcloud iam service-accounts create:
Create a service account for a project.
🔺gcloud iam service-accounts add-iam-policy-binding:
Add an IAM policy binding to a service account.
🔺gcloud iam service-accounts set-iam-policy-binding:
Replace existing IAM policy binding.
🔺gcloud iam service-accounts keys list:
List a service account's keys.
🔰 @gopher_academy
🎯Docker & Google Kubernetes Engine (GKE)🎯
👇Manage containerized applications on Kubernetes👇
🔺gcloud auth configure-docker
: Register the gcloud tool as a Docker credential helper.
🔺gcloud container clusters create:
Create a cluster to run GKE containers.
🔺gcloud container clusters list:
List clusters for running GKE containers.
🔺gcloud container clusters get-credentials:
Update kubeconfig to get kubectl to use a GKE cluster.
🔺gcloud container images list-tags:
List tag and digest metadata for a container image.
🔰 @gopher_academy
👇Manage containerized applications on Kubernetes👇
🔺gcloud auth configure-docker
: Register the gcloud tool as a Docker credential helper.
🔺gcloud container clusters create:
Create a cluster to run GKE containers.
🔺gcloud container clusters list:
List clusters for running GKE containers.
🔺gcloud container clusters get-credentials:
Update kubeconfig to get kubectl to use a GKE cluster.
🔺gcloud container images list-tags:
List tag and digest metadata for a container image.
🔰 @gopher_academy
🎯Virtual Machines & Compute Engine🎯
👇Create, run, and manage VMs on Google infrastructure👇
🔺gcloud compute zones list:
List Compute Engine zones.
🔺gcloud compute instances describe:
Display a VM instance's details.
🔺gcloud compute instances list:
List all VM instances in a project.
🔺gcloud compute disks snapshot:
Create snapshot of persistent disks.
🔺gcloud compute snapshots describe:
Display a snapshot's details.
🔺gcloud compute snapshots delete:
Delete a snapshot.
🔺gcloud compute ssh:
Connect to a VM instance by using SSH.
🔰 @gopher_academy
👇Create, run, and manage VMs on Google infrastructure👇
🔺gcloud compute zones list:
List Compute Engine zones.
🔺gcloud compute instances describe:
Display a VM instance's details.
🔺gcloud compute instances list:
List all VM instances in a project.
🔺gcloud compute disks snapshot:
Create snapshot of persistent disks.
🔺gcloud compute snapshots describe:
Display a snapshot's details.
🔺gcloud compute snapshots delete:
Delete a snapshot.
🔺gcloud compute ssh:
Connect to a VM instance by using SSH.
🔰 @gopher_academy
🎯Serverless & App Engine🎯
👇Build highly scalable applications on a fully managed serverless platform👇
🔺gcloud app deploy:
Deploy your app's code and configuration to the App Engine server.
🔺gcloud app versions list:
List all versions of all services deployed to the App Engine server.
🔺gcloud app browse:
Open the current app in a web browser.
🔺gcloud app create:
Create an App Engine app within your current project.
🔺gcloud app logs read:
Display the latest App Engine app logs.
🔰 @gopher_academy
👇Build highly scalable applications on a fully managed serverless platform👇
🔺gcloud app deploy:
Deploy your app's code and configuration to the App Engine server.
🔺gcloud app versions list:
List all versions of all services deployed to the App Engine server.
🔺gcloud app browse:
Open the current app in a web browser.
🔺gcloud app create:
Create an App Engine app within your current project.
🔺gcloud app logs read:
Display the latest App Engine app logs.
🔰 @gopher_academy
🎯Miscellaneous🎯
👇Commands that might come in handy👇
🔺gcloud kms decrypt:
Decrypt ciphertext (to a plaintext file) using a Cloud Key Management Service (Cloud KMS) key.
🔺gcloud logging logs list:
List your project's logs.
🔺gcloud sql backups describe:
Display info about a Cloud SQL instance backup.
🔺gcloud sql export sql:
Export data from a Cloud SQL instance to a SQL file.
🔰 @gopher_academy
👇Commands that might come in handy👇
🔺gcloud kms decrypt:
Decrypt ciphertext (to a plaintext file) using a Cloud Key Management Service (Cloud KMS) key.
🔺gcloud logging logs list:
List your project's logs.
🔺gcloud sql backups describe:
Display info about a Cloud SQL instance backup.
🔺gcloud sql export sql:
Export data from a Cloud SQL instance to a SQL file.
🔰 @gopher_academy
func main() {
i := -5
j := +5 fmt.Printf("%+d %+d", i, j) }
i := -5
j := +5 fmt.Printf("%+d %+d", i, j) }
Anonymous Quiz
63%
-5 +5
22%
+5 +5
6%
-5 -5
9%
+5 -5
🎯ویژگی های که تو ورژن 1.15.x تغیر کرد🎯
Update-remove-fix bug
👇👇👇👇
🔺go1.15.1
🔹(released 2020/09/01)
includes security fixes to the net/http/cgi
net/http/fcgi
🔺go1.15.2
🔹(released 2020/09/09) includes fixes to the compiler, runtime
documentation
the go command
and the net/mail
os
sync
and testing packages
🔺go1.15.3
🔹 (released 2020/10/14)
includes fixes to cgo,
the compiler,
runtime,
the go command,
and the bytes,
plugin,
and testing packages.
🔺go1.15.4
🔹 (released 2020/11/05)
includes fixes to cgo,
the compiler,
linker,
runtime,
and the compress/flate,
net/http,
reflect,
and time packages.
🔰 @gopher_academy
Update-remove-fix bug
👇👇👇👇
🔺go1.15.1
🔹(released 2020/09/01)
includes security fixes to the net/http/cgi
net/http/fcgi
🔺go1.15.2
🔹(released 2020/09/09) includes fixes to the compiler, runtime
documentation
the go command
and the net/mail
os
sync
and testing packages
🔺go1.15.3
🔹 (released 2020/10/14)
includes fixes to cgo,
the compiler,
runtime,
the go command,
and the bytes,
plugin,
and testing packages.
🔺go1.15.4
🔹 (released 2020/11/05)
includes fixes to cgo,
the compiler,
linker,
runtime,
and the compress/flate,
net/http,
reflect,
and time packages.
🔰 @gopher_academy
🔸استخدام برنامهنویس ارشد Golang در شرکت یکتا ایده نوین #تهران
🔹حقوق تا ۸ میلیون تومان
🔗 https://quera.ir/r/qTrKlv
🔰 @gopher_academy
🔹حقوق تا ۸ میلیون تومان
🔗 https://quera.ir/r/qTrKlv
🔰 @gopher_academy