What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-21 04:51:03
grpc server
flag.Parse() lis, err := net.Listen("tcp", fmt.Sprintf("localhost:%d", *port)) if err != nil { log.Fatalf("failed to listen: %v", err) } var opts []grpc.ServerOption ... grpcServer := grpc.NewServer(opts...) pb.RegisterRout... Add solution -
Shell/Bash 2021-09-20 18:47:03
how is branching
Our test framework is separate repo from the application code repo. Automation framework has a smaller code base, and fewer people are involved. so we do not have a very complicated branching strategy We have master and develop branches(buffer branch) i... Add solution -
Other 2021-09-19 16:27:03
int and string concatination cp[
std::string name = "John"; int age = 21; std::string result; // 1. with Boost result = name + boost::lexical_cast<std::string>(age); // 2. with C++11 result = name + std::to_string(age); // 3. with FastFormat.Format fastformat::fmt(resu... Add solution -
PHP 2021-09-16 04:04:03
buddypress author link
// Change Post's Author URL to Buddypress Profile URL add_filter('generate_post_author_output','generate_post_author_output_buddyprss_url'); function generate_post_author_output_buddyprss_url( $post_author_profile_link ){ $post_author_profile_link = spri... Add solution -
Other 2021-09-15 18:08:02
how do you calculate velocity
Velocity is one of the planning tool used to estimate the speed of the work and time of completion of the project. • The calculation of velocity is done by reviewing the work team has successfully completed during earlier sprints; • for example,... Add solution -
Javascript 2021-09-14 10:28:02
what test case should contains
HOW TO WRITE TEST CASES I break down the process into small pieces. 1. Requirement Analysis: Process starts with the grooming meeting. I listen my PO very carefully during the grooming meeting. Because she knows all the system reqirements and has conne... Add solution -
PHP 2021-09-13 20:49:03
php sprintf
There are already some comments on using sprintf to force leading leading zeros but the examples only include integers. I needed leading zeros on floating point numbers and was surprised that it didn't work as expected. Example: <?php sprintf('%02d',... Add solution -
Other 2021-09-12 13:38:03
biggest accomplishment
Using Scenario Outline & Examples in framework: When I started to work in my last company we were in 5th Sprint of the project. I started the work and understand the application and framework. After 2 sprints, I figured out that almost nobody was us... Add solution