Skip to content

Instantly share code, notes, and snippets.

View ghanbak's full-sized avatar
🍑
butts

Ethan MacDonald ghanbak

🍑
butts
View GitHub Profile
@ghanbak
ghanbak / install-autoconf.md
Last active December 22, 2015 11:29
Stupid xcode doesn't have autoconf anymore? Can't run phpize cause you updated to 10.8? Here's your simple fix.

Autoconf Install for OSX 10.8

You can run this command from anywhere in terminal.

I ran it from /tmp and / (I've done it twice).

curl http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.gz > autoconf.tar.gz | tar -zx
@ghanbak
ghanbak / mcrypt-install.md
Last active December 22, 2015 11:19
Install mcrypt the proper way.

The Proper Way to Install MCRYPT

Pinkies High

|| do not use homebrew ||

MAC 10.8

Open up terminal and follow each step exactly.

Preparation

@ghanbak
ghanbak / wordpress.md
Last active December 12, 2015 06:58
If you decide to use a static page for posts and front page, this snippet of php is the loop for the blog listing.

wordpress #WORDPRESS

##Blog List Loop

<?php if ( have_posts() ) : ?>

  	<?php twentyeleven_content_nav( 'nav-above' ); ?>