Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View amagyar's full-sized avatar
😀

Allain Magyar amagyar

😀
View GitHub Profile
@amagyar
amagyar / run.sh
Created August 18, 2017 18:47 — forked from jakub300/run.sh
Compile headless shell (Chromium)
# Based on:
# http://www.zackarychapple.guru/chrome/2016/08/24/chrome-headless.html
# https://www.chromium.org/developers/how-tos/get-the-code
# https://chromium.googlesource.com/chromium/src/+/lkgr/headless/README.md
apt-get update
apt-get install -y curl git htop man unzip vim wget python
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:`pwd`/depot_tools
mkdir Chromium && cd Chromium