Skip to content

Instantly share code, notes, and snippets.

View prkhrv's full-sized avatar
🤖
Harder! Better! Faster! Stronger!

Prakhar Varshney prkhrv

🤖
Harder! Better! Faster! Stronger!
View GitHub Profile
@prkhrv
prkhrv / Best ways to concatenate 2 or more lists in python
Last active February 25, 2021 11:51
Best ways to concatenate 2 or more lists in python
import timeit
mysetup = '''
import itertools
test_list1 = [1, 4, 5, 6, 5,5,56,56,5,6,3,45,4,10,23,45,56,67,78,89,12,122,22,22,22,22,22,33,44,44,2,1,3,3,3,3,3,3,3]
test_list2 = [1, 4, 5, 6, 5,5,56,56,5,6,3,45,4,10,23,45,56,67,78,89,12,122,22,22,22,22,22,33,44,44,2,1,3,3,3,3,3,3,3]
test_lista = [1, 4, 5, 6, 5,5,56,56,5,6,3,45,4,10,23,45,56,67,78,89,12,122,22,22,22,22,22,33,44,44,2,1,3,3,3,3,3,3,3]
test_list3 = [1, 4, 5, 6, 5,5,56,56,5,6,3,45,4,10,23,45,56,67,78,89,12,122,22,22,22,22,22,33,44,44,2,1,3,3,3,3,3,3,3]
Selenium is a set of different software tools each with a different approach to supporting test automation.
Most Selenium QA Engineers focus on the one or two tools that most meet the needs of their project,
however learning all the tools will give you many different options for approaching different test automation problems.
The entire suite of tools results in a rich set of testing functions specifically geared to the needs of testing of web
applications of all types. These operations are highly flexible, allowing many options for locating UI elements and comparing
expected test results against actual application behavior. One of Selenium’s key features is the support for executing one’s tests
on multiple browser platforms.
It is not always advantageous to automate test cases. There are times when manual testing may be more appropriate.
For instance, if the application’s user interface will change considerably in the near future, then any automation might need
@prkhrv
prkhrv / gist:9935d547e1506398dd49465e41a3a216
Last active August 23, 2017 16:56
Some Questions About rust..
How to install rust?
How to Configure the PATH environment variable?
In which projects is Mozilla using Rust?
Why has Rust changed so much over time?
How does Rust language versioning work?
What are "Feature Gates"?
Is Rust garbage collected?
How fast is Rust?
Rust compilation seems slow. Why is that?
What is this project's(rust) goal?
@prkhrv
prkhrv / gist:bc43833f716a1b39bb6d4256a4997f5b
Created August 19, 2017 15:36
Why should we use rust?
Why Rust?it provide a unique combination of performance and security, it also empowers novice developers with the tools
to start shipping code fast. Rust’s guarantees mean you can spend less of your time and attention on avoiding pitfalls
, which makes it possible to reach for more ambitious goals. For newer systems programmers, it means a shorter path to being able
to start writing production code, in order to write production code in other languages There is need to learn a proper
discipline while in rust there is no need for that ,the language has got your back :)