Skip to content

Instantly share code, notes, and snippets.

View marktopper's full-sized avatar
🚀
Making rocket science

Mark Topper marktopper

🚀
Making rocket science
View GitHub Profile

New computer setup


Format the drive

  1. Restart with cmd-R or cmd-D
  2. Erase drive / 3x if second-hand
  3. Reinstall MacOS
@marktopper
marktopper / gist:fb3ba076f1de8a322285
Created February 19, 2015 14:26
Clear Composer Cache

To clear Composer Cache, run the following command in your console:

rm -rf "`composer config cache-dir`"
@marktopper
marktopper / gist:69a735d8670e9b4f38fa
Created February 17, 2015 12:27
Install wkhtmltoimage on ubuntu
Install
$ cd /tmp
$ wget http://wkhtmltopdf.googlecode.com/files/wkhtmltoimage-0.11.0_rc1-static-i386.tar.bz2
$ tar xvjf ./wkhtmltoimage-0.11.0_rc1-static-i386.tar.bz2
$ chmod +x ./wkhtmltoimage-i386
$ mv wkhtmltoimage-i386 ./usr/bin/wkhtmltoimage
$ rm wkhtmltoimage-0.11.0_rc1-static-i386.tar.bz2
Usage
/*
* object.watch polyfill
*
* 2012-04-03
*
* By Eli Grey, http://eligrey.com
* Public Domain.
* NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.
*/
sudo -i
cd
apt-get install build-essential checkinstall && apt-get build-dep imagemagick -y
wget http://www.imagemagick.org/download/ImageMagick.tar.gz
tar xzvf ImageMagick.tar.gz
cd ImageMagick-6.8.9-10/
./configure --prefix=/opt/imagemagick-6.8 && make
checkinstall
@marktopper
marktopper / List.md
Last active August 29, 2015 14:07 — forked from msurguy/List.md

Other people's projects:

My projects (tutorials are on my blog at http://maxoffsky.com):