Skip to content

Instantly share code, notes, and snippets.

Avatar
:octocat:
One step at a time...

Dumindu Madunuwan dumindu

:octocat:
One step at a time...
View GitHub Profile
View kubectl describe
Name: istio-ingressgateway-5855454469-xj4xs
Namespace: istio-system
Priority: 0
Node: minikube/192.168.39.240
Start Time: Mon, 22 Jun 2020 23:47:03 +0800
Labels: app=istio-ingressgateway
chart=gateways
heritage=Tiller
istio=ingressgateway
pod-template-hash=5855454469
View manifest.yaml
# Resources for AddonComponents grafana component
apiVersion: v1
kind: ConfigMap
metadata:
name: istio-grafana-configuration-dashboards-istio-mesh-dashboard
namespace: istio-system
labels:
app: grafana
release: istio
View go_concurrency.channels.hello_world_5.main.go
package main
import "fmt"
var ch = make(chan string)
func main() {
go write()
fmt.Println(<-ch)
View go_concurrency.say_hello_7.main.go
package main
import (
"fmt"
"sync"
)
func main() {
wg := sync.WaitGroup{}
wg.Add(1)
View go_concurrency.channels.hello_world_2.main.go
package main
import "fmt"
func main() {
ch := make(chan string, 1)
ch <- "Hello world!"
fmt.Println(<-ch)
View go_concurrency.channels.multi_read_write_1.main.go
package main
import "fmt"
func main() {
ch := make(chan int)
go write(ch)
for v := range ch {
View go_concurrency.channels.hello_world_4.main.go
package main
import "fmt"
func main() {
ch := make(chan string)
go write(ch)
fmt.Println(<-ch)
View go_concurrency.channels.hello_world_3.main.go
package main
import "fmt"
func main() {
ch := make(chan string)
go func() {
ch <- "Hello world!"
}()
View go_concurrency.channels.hello_world_1.main.go
package main
import "fmt"
func main() {
ch := make(chan string, 1)
ch <- "Hello world!"
fmt.Println(<-ch)
You can’t perform that action at this time.