Skip to content

Instantly share code, notes, and snippets.

View tredence123's full-sized avatar

Tejas Sakhardande tredence123

  • Mu-Sigma Business Solutions Pvt. Ltd.
  • Bangalore, India
View GitHub Profile
web_add_auto_header("Upgrade-Insecure-Requests",
"1");
web_reg_save_param_regexp(
"ParamName=nonce",
"RegExp=nonce=(.*?)&client_id",
"Ordinal=1",
SEARCH_FILTERS,
"Scope=Headers",
"RequestUrl=*/login*",
@tredence123
tredence123 / assembly.xml
Created February 26, 2018 06:19
Main pom.xml file
<?xml version="1.0" encoding="UTF-8"?>
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>bin</id>
<baseDirectory>/</baseDirectory>
<formats>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>${project.basedir}/src/main/resources/process.sh</directory>
@tredence123
tredence123 / Enter.js
Created April 21, 2015 08:02
Enter Key
/*
Author: Prateek
Description: This is a casperjs automated test script for showing that, Clicking on the Stop button does not show the results of the cancelled cells
*/
//Test begins
casper.test.begin(" After stopping the execution, for cancelled cells result is not displayed", 6, function suite(test) {
var x = require('casper').selectXPath;
var github_username = casper.cli.options.username;
var github_password = casper.cli.options.password;
casper.test.begin("Pre executed two or more R cells and Rmarkdown cells to be executed using Run All", 12, function suite(test) {
var x = require('casper').selectXPath;
var github_username = casper.cli.options.username;
var github_password = casper.cli.options.password;
var rcloud_url = casper.cli.options.url;
var functions = require(fs.absolute('basicfunctions'));
var input_code = "50+50" ;
var expected_result = "100";
var errors = [];