This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell settings put secure sleep_timeout 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prerequisites: Node.js | |
# Node.js can be installed using brew (https://brew.sh/) by running: | |
# brew install node | |
sudo echo "Killing Slack" | |
kill -9 $(ps aux | grep 'Slack' | awk '{print $2}') | |
echo "Installing asar" | |
npm install -g asar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install build-essential g++ flex bison gperf ruby perl \ | |
libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev \ | |
libpng-dev libjpeg-dev python libx11-dev libxext-dev git | |
git clone git://github.com/orenyomtov/phantomjs.git | |
cd phantomjs | |
git checkout 2.1.1.1 | |
git submodule init | |
git submodule update |
NewerOlder