Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/
# 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 |
#!/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 |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/