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
~/my_ruby $ brew install libwmf | |
==> Downloading http://downloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz | |
File already downloaded and cached to /Users/houdini/Library/Caches/Homebrew | |
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/libwmf/0.2.8.4 --with-freetype=/usr/X11 | |
==> make | |
make all-recursive | |
Making all in . | |
make[2]: Nothing to be done for `all-am'. | |
Making all in src | |
Making all in extra |
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
~/my_ruby $ brew install libwmf | |
==> Downloading http://downloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz | |
File already downloaded and cached to /Users/houdini/Library/Caches/Homebrew | |
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/libwmf/0.2.8.4 --with-freetype=/usr/X11 | |
==> make | |
make all-recursive | |
Making all in . | |
make[2]: Nothing to be done for `all-am'. | |
Making all in src | |
Making all in extra |
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
~/my_ruby $ brew install libwmf | |
==> Downloading http://downloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz | |
File already downloaded and cached to /Users/houdini/Library/Caches/Homebrew | |
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/libwmf/0.2.8.4 --with-freetype=/usr/X11 | |
==> make | |
make all-recursive | |
Making all in . | |
make[2]: Nothing to be done for `all-am'. | |
Making all in src | |
Making all in extra |
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
require 'rubygems' | |
# require 'faraday' | |
# module Faraday | |
# class Adapter < Middleware | |
# def call(env) | |
# env[:ssl][:verify] = false if env[:ssl] | |
# process_body_for_request(env) | |
# end |
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
Last login: Fri Apr 22 05:11:36 on console | |
~ $ brew info mysql | |
mysql 5.5.10 | |
http://dev.mysql.com/doc/refman/5.5/en/ | |
Depends on: cmake, readline, pidof | |
find: /usr/local/Cellar/mysql/5.5.10/data: Permission denied | |
du: /usr/local/Cellar/mysql/5.5.10/data: Permission denied | |
/usr/local/Cellar/mysql/5.5.10 (6232 files, 219M) |
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
~ $ mysql_install_db --force --basedir=/usr/local/Cellar/mysql/5.5.10 --datadir=/usr/local/Cellar/mysql/5.5.10/data/ --tmpdir=/tmp | |
mkdir: /usr/local/Cellar/mysql/5.5.10/data//mysql: Permission denied | |
chmod: /usr/local/Cellar/mysql/5.5.10/data//mysql: Permission denied | |
mkdir: /usr/local/Cellar/mysql/5.5.10/data//test: Permission denied | |
chmod: /usr/local/Cellar/mysql/5.5.10/data//test: Permission denied | |
Installing MySQL system tables... | |
/usr/local/bin/mysql_install_db: line 428: 5078 Done { echo "use mysql;"; cat $create_system_tables $fill_system_tables; } | |
5079 Done(141) | eval "$filter_cmd_line" | |
5080 Segmentation fault: 11 | $mysqld_install_cmd_line > /dev/null |
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
set :config_yaml, YAML.load_file(File.dirname(__FILE__) + '/deploy_config.yml') | |
set :stages, ['production', 'staging'] | |
set :default_stage, 'staging' | |
require 'capistrano/ext/multistage' | |
# set :whenever_command, "bundle exec whenever" | |
# set(:whenever_update_flags) {"--set environment=#{stage} --update-crontab #{whenever_identifier}"} | |
# require 'whenever/capistrano' |
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
host192-168-1-3:dm-rails houdini$ rake spec | |
/Users/houdini/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- dm--adapter/spec/setup (LoadError) | |
from /Users/houdini/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
from /Users/houdini/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.1.0/lib/dm-core/spec/setup.rb:49:in `require_spec_adapter' | |
from /Users/houdini/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.1.0/lib/dm-core/spec/setup.rb:28:in `configure' | |
from /Users/houdini/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.1.0/lib/dm-core/spec/setup.rb:69:in `perform_action' | |
from /Users/houdini/.rvm/gems/ruby-1.9.2-p180/gems/dm-core-1.1.0/lib/dm-core/spec/setup.rb:19:in `setup' | |
from /Users/houdini/fun-box/dm-rails/spec/spec_helper.rb:7:in `<top (required)>' | |
from <internal:lib/rubygems/custom_require>:29:in `require' | |
from <internal:lib/rubygems/custom_require>:29:in `require' |
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
activesupport (3.0.7) lib/active_support/whiny_nil.rb:48:in `method_missing' | |
haml (3.1.1) lib/haml/parser.rb:397:in `close' | |
haml (3.1.1) lib/haml/parser.rb:171:in `process_indent' | |
haml (3.1.1) lib/haml/parser.rb:171:in `times' | |
haml (3.1.1) lib/haml/parser.rb:171:in `process_indent' | |
haml (3.1.1) lib/haml/parser.rb:137:in `parse' | |
haml (3.1.1) lib/haml/engine.rb:124:in `initialize' | |
haml (3.1.1) lib/haml/template/plugin.rb:34:in `new' | |
haml (3.1.1) lib/haml/template/plugin.rb:34:in `compile' | |
haml (3.1.1) lib/haml/template/plugin.rb:39:in `call' |
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
from optparse import OptionParser | |
import sys | |
from pylab import * | |
parser = OptionParser() | |
parser.add_option('-f', '--file', dest = "filenames", help = "files devided by comma") | |
parser.add_option("-l", "--legend", dest = "legend", help = "legend for plots") | |
(options, args) = parser.parse_args() |