Skip to content

Instantly share code, notes, and snippets.

pshynin pshynin

Block or report user

Report or block pshynin

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
@pshynin
pshynin / compose.yaml
Created Jan 24, 2019
Example of the compose file to create selenium grid
View compose.yaml
# docker-compose yml file use `docker-compose -f <file_name> up`
# Add the `-d` flag at the end for detached execution
# Jenkins should use `docker-compose -f jenkins/Compose.yaml up -d && docker-compose -f jenkins/Compose.yaml scale chrome=4 firefox=4`
version: '2'
services:
firefox:
image: selenium/node-firefox-debug:3.14.0-europium
volumes:
- /dev/shm:/dev/shm
- /Users/pshynin/Downloads:/home/seluser/Downloads
@pshynin
pshynin / .add_header.sh
Created Mar 7, 2018
Add header to the file
View .add_header.sh
#!/bin/bash
for d in $(find -name *.java)
do
if ! grep -q 'YOUR HEADER TEXT HERE' $d
then
cat HEADER_HERE.txt $d >$d.new && mv $d.new $d
fi
done
@pshynin
pshynin / README.md
Created Mar 7, 2018 — forked from hofmannsven/README.md
My simply Git Cheatsheet
You can’t perform that action at this time.