Skip to content

Instantly share code, notes, and snippets.

View F2X's full-sized avatar
😶‍🌫️

François-Xavier Gentilhomme F2X

😶‍🌫️
  • Nantes, FR
  • 02:13 (UTC +02:00)
View GitHub Profile
@F2X
F2X / index.html
Created July 10, 2017 13:57
Custom user resource workaround
<!doctype html>
<html>
<head>
<link rel="icon" type="image/png" sizes="96×96" href="./favicon.ico">
<title>MyScript Unified Sample</title>
<link type="text/css" rel="stylesheet" href="https://fonts.googleapis.com/css?family=Waiting+for+the+Sunrise">
@F2X
F2X / Dockerfile
Last active October 12, 2016 12:28
FROM openjdk:8
MAINTAINER François-Xavier Gentilhomme <fx.gentilhomme@myscript.com>
RUN dpkg --add-architecture i386 && \
apt update -qq -y && \
apt install -y \
libc6:i386 \
libncurses5:i386 \
libstdc++6:i386 \
lib32z1 && \
@F2X
F2X / waitUntil.js
Last active September 20, 2016 13:58
Nightwatch waitUntil command
var util = require('util');
var events = require('events');
var TIMEOUT_RETRY_INTERVAL = 500;
function waitUntil() {
events.EventEmitter.call(this);
this.startTimeInMilliseconds = null;
}
util.inherits(waitUntil, events.EventEmitter);