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
require 'formula' | |
class TmuxIterm2 < Formula | |
url 'https://iterm2.googlecode.com/files/tmux-for-iTerm2-20130210.tar.gz' | |
sha1 'd16f3c3abd510cb0a1fc6209bfb3fd83c5639f19' | |
head 'git://tmux.git.sourceforge.net/gitroot/tmux/tmux' | |
depends_on 'pkg-config' => :build | |
depends_on 'libevent' |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
d3.xml("wrest-1.0.1-v.svg", "image/svg+xml", function(xml) { | |
document.body.appendChild(xml.documentElement); |
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
ree-1.8.7-2011.03 | |
----------------- | |
1. Set instance value to nil | |
-------------------- Stats for Allocate -------------------- | |
Live Objects before: 4025 | |
Live Objects after: 1504032 | |
------------------------------------------------------------ | |
---------------- Stats for Set iVal to nil ----------------- |
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
From 4cba2c216ddd2f11d207e6b454ed7d6c04085cea Mon Sep 17 00:00:00 2001 | |
From: MasterLambaster <[email protected]> | |
Date: Tue, 20 Jul 2010 12:14:34 +0300 | |
Subject: [PATCH] Self-emedded records test | |
--- | |
spec/integration/mongoid/associations_spec.rb | 11 +++++++++++ | |
spec/models/node.rb | 4 ++++ | |
2 files changed, 15 insertions(+), 0 deletions(-) | |
create mode 100644 spec/models/node.rb |
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
require 'rubygems' | |
require 'mongo' | |
include Mongo | |
db = Connection.new.db('map-reduce-test') | |
coll = db.collection('mrt') | |
coll.remove | |
10.times do |n| | |
ref_id = BSON::ObjectID.new |
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
activemodel (3.0.0.beta4) | |
activesupport (3.0.0.beta4) | |
bson (1.0.3) | |
builder (2.1.2) | |
i18n (0.4.1) | |
mongo (1.0.3) | |
mongoid (2.0.0.beta7) | |
rake (0.8.7) | |
rdoc (2.5.8) | |
tzinfo (0.3.22) |
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
rvm use ruby-1.8.7-p249 | |
rvm gemset create rvmtest | |
rvm gemset delete rvm test | |
rvm gemset list | |
>2-3-stable | |
>global | |
>rails3 | |
>redmine | |
ll $HOME/.rvm/environments/ | |
>ruby-1.8.7-p249@rvmtest |
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
This is an example of using RVM's Project .rvmrc file | |
to have it automatically bootstrap your environment, including bundler. | |
This could be further expanded to do anything you require :) | |
The important thing to remember is that the purpose of these files is | |
to allow you to very easily have your 'project context' (aka 'environment') | |
loaded automatically for you when you enter the project in the shell (cd). | |
You can generate the .rvmrc file below by running: |
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
database.eval("db.system.save({_id:'#{name}', value: #{code}})") |