This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd ~/source | |
$ ftp http://ftp.gnu.org/gnu/wget/wget-1.13.4.tar.gz | |
$ tar -zxvf wget-1.13.4.tar.gz | |
$ rm -r wget-1.13.4.tar.gz | |
$ cd wget-1.13.4/ | |
$ ./configure --prefix=/usr/local --with-ssl=openssl | |
$ make | |
$ sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Postgres manual located here: http://www.postgresql.org/docs/8.4/interactive/index.html | |
These instructions should work for Postgres 8 and 9 | |
1. INSTALL | |
$ cd ~/source | |
$ ftp http://ftp.postgresql.org/pub/source/v8.4.11/postgresql-8.4.11.tar.gz | |
$ tar -zxvf postgresql-8.4.11.tar.gz | |
$ rm -r postgresql-8.4.11.tar.gz | |
$ cd postgresql-8.4.11 | |
$ ./configure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Disabled</key> | |
<false/> | |
<key>Label</key> | |
<string>org.postgresql.postgresqld.plist</string> | |
<key>ProgramArguments</key> | |
<array> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$lc = sizeof($list); | |
for ($i = 0; $i < ( ($lc % 3 == 0) ? $lc : ($lc - ($lc % 3) + 3) ); $i = $i + 3) { // This loop defines the group you're in, $i will always be divisible by 3. | |
for ($si = 0; $si < ( ($i + 3 < $lc) ? 3 : ($lc - $i) ); $si++) // Determine which item is next in this group. | |
$a[] = list[$i + $si]; | |
$groups[] = $a; | |
} |
NewerOlder