Skip to content

Instantly share code, notes, and snippets.

View arthurattwell's full-sized avatar

Arthur Attwell arthurattwell

View GitHub Profile
@arthurattwell
arthurattwell / graphicsmagick.sh
Last active April 2, 2021 17:32 — forked from witooh/graphicsmagick.sh
Install GraphicsMagick on Ubuntu 18.04
sudo apt install software-properties-common -y
sudo add-apt-repository ppa:rwky/graphicsmagick -y
sudo apt update
sudo apt install graphicsmagick -y
@arthurattwell
arthurattwell / update_git_repos.sh
Last active May 10, 2020 12:42 — forked from douglas/update_git_repos.sh
Update all git repositories under a base directory
#!/bin/bash
# store the repos dir
REPOS_DIR=/var/services/homes/admin/EBW/Dropbox/git-repos
# Go into the repos folder
cd $REPOS_DIR
# Let the person running the script know what's going on.
echo "Pulling in latest changes for all repositories..."
@arthurattwell
arthurattwell / install phantomjs 2.1.1 - ubuntu
Last active December 20, 2017 05:47 — forked from telbiyski/install phantomjs 2.1.1 - ubuntu
Install PhantomJS 2.1.1 on Ubuntu 14.04
sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev -y
sudo apt-get install libfreetype6 libfreetype6-dev -y
sudo apt-get install libfontconfig1 libfontconfig1-dev -y
cd ~
export PHANTOM_JS="phantomjs-2.1.1-linux-x86_64"
wget https://github.com/Medium/phantomjs/releases/download/v2.1.1/$PHANTOM_JS.tar.bz2
sudo tar xvjf $PHANTOM_JS.tar.bz2
sudo mv $PHANTOM_JS /usr/local/share
sudo ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/bin