Skip to content

Instantly share code, notes, and snippets.

View lvnilesh's full-sized avatar
💭
🏆 Vibranium Status Level

LV Nilesh lvnilesh

💭
🏆 Vibranium Status Level
View GitHub Profile
@lvnilesh
lvnilesh / QSTK
Created August 19, 2012 01:54
Trouble getting QSTK example to run
I tried this on a freshly installed Ubuntu Precise 64 bit Desktop inside virtualbox
sudo apt-get -y install subversion
sudo apt-get -y install python-numpy
sudo apt-get -y install python-scipy
sudo apt-get -y install python-matplotlib
sudo apt-get -y install python-dev
sudo apt-get -y install python-setuptools
sudo easy_install -U scikits.statsmodels
sudo easy_install --upgrade pytz
@lvnilesh
lvnilesh / Folder Preferences
Created August 23, 2012 04:21 — forked from chrisyour/Folder Preferences
Show hidden files and hidden folders (except .git) in your TextMate project drawer
# Want to show hidden files and folders in your TextMate project drawer? Simple, just modify the file and folder patterns in TextMate's preferences.
# Instructions:
# Go to TextMate > Preferences...
# Click Advanced
# Select Folder References
# Replace the following:
# File Pattern
@lvnilesh
lvnilesh / blitz.rb
Created August 23, 2012 05:17
/usr/local/Library/Formula/blitz.rb:27: syntax error, unexpected kEND, expecting $end
brew doctor
Error: /usr/local/Library/Formula/blitz.rb:27: syntax error, unexpected kEND, expecting $end
Please report this bug:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
/usr/local/Library/Homebrew/formula.rb:388:in `require'
/usr/local/Library/Homebrew/formula.rb:388:in `factory'
/usr/local/Library/Homebrew/formula.rb:295:in `each'
/usr/local/Library/Homebrew/formula.rb:293:in `each'
pip install cvxopt
Downloading/unpacking cvxopt
Downloading cvxopt-1.1.5.tar.gz (3.4Mb): 3.4Mb downloaded
Running setup.py egg_info for package cvxopt
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/Users/nilesh/domains/test/build/cvxopt/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
@lvnilesh
lvnilesh / gist:3603349
Created September 2, 2012 19:10
HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install gnuplot
==> Downloading http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.6.0/gnuplot-4.6.0.tar.gz
Already downloaded: /Library/Caches/Homebrew/gnuplot-4.6.0.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/gnuplot-4.6.0.tar.gz
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gnuplot/4.6.0 --with-readline=/usr/local/Cellar/readline/6.2.4 --disable-wxwidgets --with-gd=/usr/local/Cellar/gd/2.0.36RC1
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gnuplot/4.6.0 --with-readline=/usr/local/Cellar/readline/6.2.4 --disable-wxwidgets --with-gd=/usr/local/Cellar/gd/2.0.36RC1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
@lvnilesh
lvnilesh / gist:3603370
Created September 2, 2012 19:12
~/Library/Logs/Homebrew/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 gnuplot configure 4.6.0, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gnuplot/4.6.0 --with-readline=/usr/local/Cellar/readline/6.2.4 --disable-wxwidgets --with-gd=/usr/local/Cellar/gd/2.0.36RC1
## --------- ##
## Platform. ##
@lvnilesh
lvnilesh / 01.configure
Created October 31, 2012 01:24
01.configure
checking build system type... x86_64-apple-darwin12.2.0
checking host system type... x86_64-apple-darwin12.2.0
loading site script './config.site'
loading build-specific script './config.site'
checking for pwd... /bin/pwd
checking whether builddir is srcdir... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
@lvnilesh
lvnilesh / 02.make
Created October 31, 2012 01:24
02.make
make[1]: Nothing to be done for `R'.
make[1]: Nothing to be done for `R'.
make[2]: Nothing to be done for `R'.
creating src/scripts/R.fe
mkdir ../../bin
mkdir ../../include
mkdir ../../../include/R_ext
making blocksort.d from blocksort.c
/usr/local/bin/gfortran -fPIC -c blas.f -o blas.o
making bzlib.d from bzlib.c
@lvnilesh
lvnilesh / config.log
Created October 31, 2012 01:26
config.log
This file has been truncated, but you can view the full file.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by R configure 2.15.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/usr/local/Cellar/r/2.15.2 --with-aqua --enable-R-framework --with-lapack
## --------- ##
## Platform. ##
@lvnilesh
lvnilesh / msql-cookbook-fails
Created November 8, 2012 15:03
mysql cookbook fails : Chef::Exceptions::Exec: apt-get -q -y install mysql-client=5.5.24-0ubuntu0.12.04.1 returned 100, expected 0
I created a folder for vagrant, edited Vagrantfile, created a cookbooks folder and
git clone https://github.com/opscode-cookbooks/mysql.git
git clone https://github.com/opscode-cookbooks/build-essential.git
git clone https://github.com/opscode-cookbooks/openssl.git
and then vagrant up but chef failed.
[2012-11-08T14:52:50+00:00] INFO: *** Chef 10.14.2 ***
[2012-11-08T14:52:50+00:00] INFO: Setting the run_list to ["recipe[build-essential]", "recipe[openssl]", "recipe[mysql]", "recipe[mysql::client]", "recipe[mysql::server]"] from JSON
[2012-11-08T14:52:50+00:00] INFO: Run List is [recipe[build-essential], recipe[openssl], recipe[mysql], recipe[mysql::client], recipe[mysql::server]]
[2012-11-08T14:52:50+00:00] INFO: Run List expands to [build-essential, openssl, mysql, mysql::client, mysql::server]