What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-10 18:10:03
protocol buffers stream golang
package main import ( "context" "io" "log" pb "github.com/pramonow/go-grpc-server-streaming-example/src/proto" "google.golang.org/grpc" ) func main() { // dial server conn, err := grpc.Dial(&quo... Add solution -
Javascript 2022-03-02 07:55:02
style.backgroundcolor
// change background color for specific id .. function changebackground(){ document.getElementById('id').style.backgroundColor = 'green' ; } // change background color for whole body.. function changebackground(){ document.body.style.backgroundColor =... Add solution -
Swift 2022-02-14 05:00:04
swiftui change navigation bar height
//// ContentView.swift// test//// Created by Francisco Gindre on 1/3/20.// Copyright © 2020 Francisco Gindre. All rights reserved.//import SwiftUIstruct ContentView: View { init() { // this is not the same as manipulating the proxy dire... Add solution -
Go 2022-01-26 03:11:33
golang mongo fetch doc
import "go.mongodb.org/mongo-driver/mongo" // Inside a func // Set up the client host := fmt.Sprintf("mongodb://%s:%s@%s:%s", "username", "password", "127.0.0.1", "27017") client, err ... Add solution -
Javascript 2021-11-19 12:58:28
javascript style background color
// change background color for specific id .. function changebackground(){ document.getElementById('id').style.backgroundColor = 'green' ; } // change background color for whole body.. function changebackground(){ document.body.style.backgroundColor =... Add solution