Skip to content

Instantly share code, notes, and snippets.

@bharatbhole
bharatbhole / gist:2763199
Created May 21, 2012 16:41
brew --config output
HOMEBREW_VERSION: 0.9
HEAD: 942f6922525fe65b080915c3dec7da58fa661c92
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.6.8
Kernel Architecture: i386
Xcode: 3.2.6
GCC-4.0: build 5494
GCC-4.2: build 5666
@bharatbhole
bharatbhole / gist:2763183
Created May 21, 2012 16:38
brew doctor output
Error: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
@bharatbhole
bharatbhole / gist:2763171
Created May 21, 2012 16:35
brew install -v postgresql terminal output
==> Downloading http://ftp.postgresql.org/pub/source/v9.1.3/postgresql-9.1.3.tar.bz2
Already downloaded: /Library/Caches/Homebrew/postgresql-9.1.3.tar.bz2
/usr/bin/tar xf /Library/Caches/Homebrew/postgresql-9.1.3.tar.bz2
Warning: Detected a framework Python that does not have 64-bit support in:
/Library/Frameworks/Python.framework/Versions/Current/Python
e configure script seems to prefer this version of Python over any others,
you may experience linker problems as described in:
http://osdir.com/ml/pgsql-general/2009-09/msg00160.html
@bharatbhole
bharatbhole / terminaloutput
Created May 21, 2012 15:47
brew install -v postgresql terminal output
Last login: Mon May 21 11:31:08 on console
.bash_profile loaded
Setting "/Applications/ConTeXtMinimals/tex" as ConTeXt root.
cla-eco1:~ blbgse$ open -a Google\ Chrome
cla-eco1:~ blbgse$ brew doctor
Error: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
@bharatbhole
bharatbhole / config.log
Created May 21, 2012 15:44
brew postgresql config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by PostgreSQL configure 9.1.3, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --disable-debug --prefix=/usr/local/Cellar/postgresql/9.1.3 --datadir=/usr/local/Cellar/postgresql/9.1.3/share/postgresql --docdir=/usr/local/Cellar/postgresql/9.1.3/share/doc/postgresql --enable-thread-safety --with-bonjour --with-gssapi --with-krb5 --with-openssl --with-libxml --with-libxslt --with-ossp-uuid --with-python --with-perl ARCHFLAGS='-arch x86_64'
## --------- ##
## Platform. ##
@bharatbhole
bharatbhole / combineDifferentModifications.R
Created February 4, 2012 14:58
Combine modifications into a single script
# Combine all modifications in a single script
plt <- ggplot() + geom_line(data=df, aes(x=xcol, y=ycol),
color='steelblue', size=1) +
xlab("Observation") +
ylab("Value") +
opts(panel.background=theme_rect(fill='linen'))
print(plt)
@bharatbhole
bharatbhole / plotWithCustomBackgroundColor.R
Created February 4, 2012 13:25
set background color to linen
# Set background color to linen in the basic plot
plt <- ggplot() + geom_line(data=df, aes(x=xcol, y=ycol)) +
opts(panel.background=theme_rect(fill='linen'))
print(plt)
@bharatbhole
bharatbhole / plotWithCustomLineColorAndSize.R
Created February 4, 2012 13:08
custom color and thickness of the plotted line
# Line plot with custom color and thickness for the plotted line
plt <- ggplot() + geom_line(data=df, aes(x=xcol, y=ycol),
color='steelblue',
size=1)
print(plt)
@bharatbhole
bharatbhole / plotWithCustomAxisLabels.R
Created February 4, 2012 12:50
customize axes labels
# Line plot with custom title for the x-axis (observations) and
# y-axis (Value)
plt <- ggplot() + geom_line(data=df, aes(x=xcol, y=ycol)) +
xlab("Observation") +
ylab("Value")
print(plt)
@bharatbhole
bharatbhole / basicPlot_defaultOptions.R
Created February 4, 2012 03:30
basic plot default options
# Plot normalVariate data in data frame, df, using ggplot2
# Most basic plot without customizing any options.
plt <- ggplot() + geom_line(data=df, aes(x=xcol, y=ycol))
print(plt)