Latest Thoughts from the Chosen Collective

Setup PEAR on Mac OS X Leopard

First, let’s grab the PEAR installer:

curl http://pear.php.net/go-pear > go-pear.php
sudo php -q go-pear.php

Press enter to use default until you get to the file layout and edit the first to be /usr/local

1. Installation prefix ($prefix) : /usr/local
2. Temporary files directory     : $prefix/temp
3. Binaries directory            : $prefix/bin
4. PHP code directory ($php_dir) : $prefix/PEAR
5. Documentation base directory  : $php_dir/docs
6. Data base directory           : $php_dir/data
7. Tests base directory          : $php_dir/tests

Press Enter to continue and Y to install

PEAR_Frontend_Web-beta, PEAR_Frontend_Gtk2, and MDB2

Hit Y to let PEAR update your include path

That’s it! You should be able to type in pear version to see PEAR installed.

Tagged ,

Install Git on CentOS

First you need to install any dependencies:

yum install gettext-devel expat-devel curl-devel zlib-devel openssl-devel

Then get the source code for Git

wget http://kernel.org/pub/software/scm/git/git-1.7.2.2.tar.gz

Extract the tarball

tar -zvxf git-1.7.2.2.tar.gz

Install to usr/local

cd git-1.7.2.2.tar.gz
make prefix=/usr/local all
make prefix=/usr/local install

Test it out

cd ~/
git --version

Tagged ,

Use Git Hooks to Push to Live Site

There are too few tools and docs for Git, but the few that exist are awesome. Many developers take the easy and quick approach to working with git by setting up an account with Github and then using tools like gitx to visually manage and track their repos. While I do love this approach for many reasons, there are many reasons to setup your own git hosting and tracking…

Read more »

Tagged , , ,

Free Download: Mockups Application

Chosen Mockups Application

We’re quick to turnover when we really believe in something. One of the automated scripts we wanted for our company was a system to upload mockups to a directory and have them automatically publish in a web page. This system allows us to simply drag and drop images and have them populate with different versions and folders. We also wanted this functionality to be password protected and to have a way to separate public and private folders in a directory.

For security purposes I have removed the actual session control script that we use (which is a way of protecting pages via login). However, it does come standard with a simple login posting ability so even if you know nothing about programming, this script should come in handy.

Read more »

Tagged , , ,

How to start a Website

If you’ve decided to start your own website, then congratulations on deciding to join the information age by planting a stake on the Internet. Now the only question is how? How do you go from your basic idea to a web page that everyone will want to link to?

Read more »

Tagged

Page 1 of 512345

Latest Posts

Our Stream