Skip to content

Instantly share code, notes, and snippets.

James Johnson jamesj2

Block or report user

Report or block jamesj2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jamesj2
jamesj2 / lib-login.js
Created Apr 29, 2015
casperjs loadImage breaks session cookies
View lib-login.js
/**
* Login into website.
*/
exports.login = function(url,username,password) {
/**
* Start casper and option the login page.
*/
casper.open(url);
/**
@jamesj2
jamesj2 / Jenkinsfile
Created Jul 5, 2017
Learning Jenkins Pipeline via trial and error. This is what I've come up with so far. The "tools" are PHP testing and metrics installed via composer stored in their own build/tools/composer.json. AWS ECR is used to store my docker images, you can use php/xxx from Docker HUB.
View Jenkinsfile
#!groovy
pipeline {
agent any
// triggers {
// cron('H 4/* 0 0 1-5')
// }
// tools {
// nodejs 'Node 6.x'
View gist:e8ed6f999893cfd74f09f1bc07aa8cee
### Keybase proof
I hereby claim:
* I am jamesj2 on github.
* I am jamesj2 (https://keybase.io/jamesj2) on keybase.
* I have a public key ASCBSHoxNLesLqfKILS2aQol8hs5DkcQN1tMWCoTYmau3Qo
To claim this, I am signing this object:
You can’t perform that action at this time.