Skip to content

Instantly share code, notes, and snippets.

View onajafi's full-sized avatar
💭
Me so hungry for cookies...

omid onajafi

💭
Me so hungry for cookies...
View GitHub Profile
@onajafi
onajafi / Discount links
Created July 23, 2022 04:51
I made this gist to share any discount links for products or services which I find useful.
@onajafi
onajafi / install casperjs (and phantomjs) on ubuntu
Last active October 8, 2018 19:18 — forked from andrewslince/install casperjs (and phantomjs) on ubuntu
simple tutorial for installing casperjs on ubuntu
# install phantomjs
cd /usr/local/share
sudo wget https://github.com/ariya/phantomjs/archive/2.1.1.tar.gz
sudo tar -xzvf 2.1.1.tar.gz
sudo ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs; sudo ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs; sudo ln -s /usr/local/share/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
sudo apt-get install fontconfig
# install casperjs
mkdir -m777 /var/www # Make sure the folder exists
cd /var/www/