Skip to content

Instantly share code, notes, and snippets.

View rookieInTraining's full-sized avatar
🇮🇳

Ish Abbi rookieInTraining

🇮🇳
View GitHub Profile
@Mahedi-61
Mahedi-61 / installing_opencv_3.45_in_CentOS-7.sh
Last active August 4, 2023 03:47
Step by step instructions to build and install OpenCV from source on CentOS 7
#!/bin/bash
# This gist is a step by step instructions to build and install OpenCV from source on CentOS 7
# note: The easy and quick way to install is
# sudo yum install opencv opencv-devel opencv-python
# But this easy pypi installation can’t open video files on GNU/Linux distribution or on mac OS X system.
# And on some system opencv binaries provided packages are not compiled.
# Therefor we have no way rather than build it from source.
### first update and upgrade pre-install yum packages.
@ntamvl
ntamvl / list-of-chrome-driver-command-line-arguments.md
Created January 30, 2019 04:20
List of Chrome Driver command line arguments

List of Chrome Driver command line arguments

Here is the list of Chrome Driver command line Arguments.

If you are using chrome Driver for Selenium WebDriver or Protractor or …. then these are a handy useful list of command line arguments that can be used.

You may use this to look at the usuage: https://code.google.com/p/chromium/codesearch#chromium/src/chromeos/chromeos_switches.cc

Run chromedriver –help to see command line arguments for your version.

@infomaven
infomaven / gatlingGeneratedFeeder.scala
Last active January 29, 2023 17:57
Create a Gatling feeder file using REST calls
/*
Basic blocks of code that will build a CSV file using repsonse data from API calls
This is a "one-off" process, meaning you will
1. run Gatling script to generate CSV file using REST calls (usually POSTS, but GETS or datbase queries could work )
2. copy the file into your project
3. compile and run Gatling
*/
class MySimulation extends Simulation {
@dnozay
dnozay / _Jenkins+Script+Console.md
Last active May 3, 2024 09:33
jenkins groovy scripts collection.
@klepikov
klepikov / Test.java
Last active August 25, 2023 03:12
Demo code for the GTAC 2013 talk "Web Performance Testing with WebDriver" by Michael Klepikov
import java.io.IOException;
import java.net.URL;
import java.util.Date;
import java.util.List;
import java.util.logging.Level;
import org.json.*;
import org.openqa.selenium.*;
import org.openqa.selenium.chrome.*;
import org.openqa.selenium.logging.*;
@rcorreia
rcorreia / drag_and_drop_helper.js
Last active August 11, 2023 06:41
drag_and_drop_helper.js
(function( $ ) {
$.fn.simulateDragDrop = function(options) {
return this.each(function() {
new $.simulateDragDrop(this, options);
});
};
$.simulateDragDrop = function(elem, options) {
this.options = options;
this.simulateEvent(elem, options);
};