ralph:~ ralphsaunders$ brew install postgresql ==> Downloading http://ftp.postgresql.org/pub/source/v9.2.1/postgresql-9.2.1.tar.bz2 Already downloaded: /Users/ralphsaunders/Library/Caches/Homebrew/postgresql-9.2.1.tar.bz2 ==> Patching patching file src/pl/plpython/Makefile patching file contrib/uuid-ossp/uuid-ossp.c ==> ./configure --prefix=/usr/local/Cellar/postgresql/9.2.1 --datadir=/usr/local/Cellar/postgresql/9.2.1/share/postgresql --docdir=/usr/local/C checking for inflate in -lz... no configure: error: zlib library not found If you have zlib already installed, see config.log for details on the
This file contains hidden or 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 if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Site extends CI_Controller { | |
/** | |
* Index Page for this controller. | |
* | |
* Maps to the following URL | |
* http://example.com/index.php/site | |
* - or - |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<title>Canvas Stuff</title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script type="text/javascript" src="./scripts.js"></script> | |
</head> | |
<body id="index"> | |
<canvas id="canvas" width="900" height="900"> | |
<!-- Fallback men, fallback! --> |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<title>Index</title> | |
<script type="text/javascript"> | |
var _gaq = _gaq || []; // GA array to push to | |
/** |
This file contains hidden or 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
<!doctype html> | |
<html> | |
<head> | |
<title>Google Feeds API</title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
</head> | |
<body id="index"> |
This file contains hidden or 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
// ==UserScript== | |
// @name Hacked News | |
// @match https://news.ycombinator.com/* | |
// @match http://news.ycombinator.com/* | |
// @description For a tidier Hacker News | |
// @version .01 | |
// ==/UserScript== | |
var css = '<style type="text/css">' | |
// Wildcards |
This file contains hidden or 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
# Authored by Seth Bling | |
# http://www.youtube.com/watch?v=3YaoSAaou7U | |
def perform(level, box, options): | |
groups = RedstoneGroups(level) | |
for x in xrange(box.minx, box.maxx): | |
for y in xrange(box.miny, box.maxy): | |
for z in xrange(box.minz, box.maxz): | |
groups.testblock((x, y, z)) |
This file contains hidden or 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
/** | |
* This is my array, let's call him larry | |
* | |
* array(1) { | |
* ["canvas-snake"]=> | |
* array(5) { | |
* ["name"]=> | |
* string(12) "canvas-snake" | |
* ["server_path"]=> | |
* string(48) "/Applications/MAMP/htdocs/pl/posted/canvas-snake" |
This file contains hidden or 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
|~posted/ | |
|~articles/ | |
|~an-article/ | |
|-index.html | |
|-image.png | |
`-styles.css | |
|~another-article/ | |
|-index.html | |
`-styles.css | |
|~portfolio/ |
ralph:~ ralphsaunders$ brew install postgresql
==> Downloading http://ftp.postgresql.org/pub/source/v9.2.1/postgresql-9.2.1.tar.bz2
Already downloaded: /Users/ralphsaunders/Library/Caches/Homebrew/postgresql-9.2.1.tar.bz2
==> Patching
patching file src/pl/plpython/Makefile
patching file contrib/uuid-ossp/uuid-ossp.c
==> ./configure --prefix=/usr/local/Cellar/postgresql/9.2.1 --datadir=/usr/local/Cellar/postgresql/9.2.1/share/postgresql --docdir=/usr/local/C
checking for inflate in -lz... no
configure: error: zlib library not found
If you have zlib already installed, see config.log for details on the
OlderNewer