Skip to content

Instantly share code, notes, and snippets.

Leo Gallucci elgalu

Block or report user

Report or block elgalu

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
@elgalu
elgalu / Dockerfile
Last active Jun 27, 2018
Troubleshooting UnsatisfiableError on mro and
View Dockerfile
# Ubuntu 18:04
FROM registry.opensource.zalan.do/stups/ubuntu:latest
#==============================
# Locale and encoding settings
#==============================
# Note: LANGUAGE="${LANG_WHICH}_${LANG_WHERE}.${ENCODING}"
ENV LANG_WHICH="en" \
LANG_WHERE="US" \
LOCALE_TAG="en_US" \
@elgalu
elgalu / process3dGraph.py
Last active Oct 19, 2017 — forked from jerilkuriakose/process3dGraph.py
This is a script which draws the amount of CPU used and memory usage of a process to a 3D graph. Python 3
View process3dGraph.py
#coding:utf-8
import psutil
from mpl_toolkits.mplot3d import Axes3D
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.animation as animation
TIME_NUM = 90
FRAMES = 360
View firefox_driver.log
1505753589775 geckodriver INFO geckodriver 0.19.0
1505753589779 geckodriver INFO Listening on 127.0.0.1:18320
1505753589910 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-profile" "/tmp/rust_mozprofile.vWR7lwJdItpP"
1505753589912 geckodriver::marionette TRACE connection attempt 0/600
1505753590012 geckodriver::marionette TRACE connection attempt 1/600
1505753590112 geckodriver::marionette TRACE connection attempt 2/600
1505753590129 addons.xpi WARN Error parsing extensions state: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [amIAddonManagerStartup.readStartupData]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: resource://gre/modules/addons/XPIProvider.jsm :: loadExtensionState :: line 1596" data: no] Stack trace: loadExtensionState()@resource://gre/modules/addons/XPIProvider.jsm:1596 < getInstallState()@resource://gre/modules/addons/XPIProvider.jsm:1631 < checkForChanges()@resource://gre/modules/addons/XPIPr
@elgalu
elgalu / ...README.md
Created Jul 21, 2017 — forked from schlomo/...README.md
Demo for UI testing with selenium based on Zalenium, see http://blog.schlomo.schapiro.org/2017/07/web-ui-testing-made-easy-with-zalenium.html for details
View ...README.md
View fullAcceptanceTest.sh
$ ./gradlew fullAcceptanceTest
:fullAcceptanceTest
:nakadi:clean
:nakadi:compileJava
Note: /home/user/forks/nakadi/src/main/java/org/zalando/nakadi/config/JsonConfig.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:nakadi:compileGroovy UP-TO-DATE
:nakadi:processResources
View OK-video-rec-stdout.sh
docker run --rm -ti --name zalenium -p 4444:4444 -p 5555:5555 -v $(which docker):/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock -v /tmp/videos:/home/seluser/videos --privileged dosel/zalenium start --sauceLabsEnabled false
Docker binary already present, will use that one.
Docker version 1.12.3, build 6b644ec
Starting Nginx reverse proxy...
Starting Selenium Hub...
.14:01:53.275 INFO - Launching Selenium Grid hub
..14:01:53.753 INFO - binding de.zalando.tip.zalenium.servlet.live to /grid/admin/live/*
log4j:WARN No appenders could be found for logger (org.seleniumhq.jetty9.util.log).
log4j:WARN Please initialize the log4j system properly.
View DOSEL_CLA.txt
###Docker-selenium Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by elgalu/docker-selenium, elgalu/dosel, Dosel or its affiliates (“Dosel”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Dosel or docker-selenium in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact elgalu3@gmail.com.
You agree that the following terms apply to all of your past, present and future Contributions.
**Copyright License.** You hereby grant, and agree to grant, to Dosel or docker-selenium a non-exclusive, perpetual, irrevocable, worldwide, fully-paid, royalty-free, transfera
View Dockerfile
# For https://github.com/elgalu/docker-selenium/issues/113
FROM elgalu/selenium
USER root
ENV DEBIAN_FRONTEND=noninteractive \
DEBCONF_NONINTERACTIVE_SEEN=true
###############
# Install git #
View api-with-json-examples.yml
# https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#exampleObject
responses:
"200":
description: |-
200 300 response
examples:
application/json: |-
{
"versions": [
{
@elgalu
elgalu / smaato.sh
Last active Mar 9, 2016
smaato jenkins setup ideas
View smaato.sh
# DDBB
docker run --name spx_db_$BUILD_ID -d \
-e MYSQL_ROOT_PASSWORD="password" \
-e MYSQL_DATABASE="our_mysql_ddbb" \
-e MYSQL_USER="user" \
-e MYSQL_PASSWORD="password" \
mysql
# SPX
docker run --name=spx_ui_$BUILD_ID -d --net=container:spx_db_$BUILD_ID \
You can’t perform that action at this time.