Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View soundstep's full-sized avatar
💭
There is a difference between a peasant and a knight

Romuald Quantin soundstep

💭
There is a difference between a peasant and a knight
View GitHub Profile
@soundstep
soundstep / gatling.js
Created April 1, 2020 11:52
Tampermonkey Gatling cleaner
// ==UserScript==
// @name Gatling report cleanup
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @include https://ci.infradev.loadtest.itv.com*
// @grant none
// ==/UserScript==
npm info it worked if it ends with ok
npm verb cli [ '/var/lib/jenkins/jobs/edna-integration/workspace/.n/bin/node',
npm verb cli '/var/lib/jenkins/jobs/edna-integration/workspace/.n/bin/npm',
npm verb cli 'install',
npm verb cli '-ddd' ]
npm info using npm@5.3.0
npm info using node@v8.3.0
npm verb npm-session 60559b8709efeb95
npm sill install runPreinstallTopLevelLifecycles
npm sill preinstall edna-integration@0.0.3
@soundstep
soundstep / README.md
Created August 15, 2017 13:36
test-pact-centos-vagrant
  1. get all the file of this gist in a folder
  2. download and install latest VirtualBox
  3. download and install latest Vagrant
  4. execute vagrant plugin install vagrant-vbguest
  5. execute vagrant up
  6. execute vagrant ssh
node -v
@soundstep
soundstep / index.js
Created August 15, 2017 11:37
test-centos-pact
var pact = require('@pact-foundation/pact-node');
console.log(pact);
@soundstep
soundstep / jenkins-job-0.log
Created August 14, 2017 12:59
edna-integration-logs
12:42:30 Started by upstream project "edna-pipeline" build number 22
12:42:30 originally caused by:
12:42:30 Started by user anonymous
12:42:30 Replayed #21
12:42:30 [EnvInject] - Loading node environment variables.
12:42:30 Building on master in workspace /var/lib/jenkins/jobs/edna-integration/workspace
12:42:30 > git rev-parse --is-inside-work-tree # timeout=10
12:42:30 Fetching changes from the remote Git repository
12:42:30 > git config remote.origin.url git@github.com:ITV/edna-integration.git # timeout=10
12:42:30 Fetching upstream changes from git@github.com:ITV/edna-integration.git
Wed May 31 14:56:15 UTC 2017
@soundstep
soundstep / EapbOx.markdown
Last active June 26, 2017 02:50
SASS Font calculation
╰─$ mocha allTests.js --reporter spec --framework=angularjs 26 ↵
TodoMVC - angularjs
No Todos
✓ should hide #main and #footer (93ms)
New Todo
1) should allow me to add todo items
2) should clear text input field when an item is added
3) should append new items to the bottom of the list
@soundstep
soundstep / gist:8041814
Last active December 31, 2015 20:39
soma several instance (coupon example)
// Code goes here
window.widgets = window.widgets || {};
window.widgets.coupons9 = window.widgets.coupon9 || {};
(function(ns, soma) {
'use strict';
var CouponsMediator = function(target, dispatcher, dataService, couponsTemplate) {
@soundstep
soundstep / gist:7774021
Created December 3, 2013 17:50
Javascript linked list (reverse)
var Node = function(data, next) {
this.data = data;
this.next = next;
};
var node1 = new Node('id1',
new Node('id2',
new Node('id3',
new Node('id4')
)