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
prefix=/app/vendor/cairo-1.12.8 | |
exec_prefix=${prefix} | |
libdir=${exec_prefix}/lib | |
includedir=${prefix}/include | |
Name: cairo | |
Description: Multi-platform 2D graphics library | |
Version: 1.12.8 | |
Requires.private: gobject-2.0 glib-2.0 pixman-1 >= 0.22.0 freetype2 >= 9.7.3 libpng x11 xext |
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
{ | |
'conditions': [ | |
['OS=="win"', { | |
'variables': { | |
'GTK_Root%': 'C:/GTK', # Set the location of GTK all-in-one bundle | |
'with_jpeg%': 'false', | |
'with_gif%': 'false', | |
'with_pango%': 'false', | |
'with_freetype%': 'false' | |
} |
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
> contextify@0.1.3 install /tmp/build_1lhuqx5qgzdcb/node_modules/fabric/node_modules/jsdom/node_modules/contextify | |
> node-gyp rebuild | |
gyp http GET http://nodejs.org/dist/v0.8.6/node-v0.8.6.tar.gz | |
gyp http 200 http://nodejs.org/dist/v0.8.6/node-v0.8.6.tar.gz | |
make: Entering directory `/tmp/build_1lhuqx5qgzdcb/node_modules/fabric/node_modules/canvas/build' | |
CXX(target) Release/obj.target/canvas/src/Canvas.o | |
In file included from ../src/Canvas.cc:8: | |
../src/Canvas.h:19:25: warning: cairo/cairo.h: No such file or directory | |
../src/Canvas.cc:15:29: warning: cairo/cairo-pdf.h: No such file or directory |
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
> fabric@0.8.47 test /Users/dave/active/fabric.js | |
> node test.js | |
Testing /Users/dave/active/fabric.js/dist/all.js ... done | |
Errors: | |
Module: fabric.Text Test: toObject | |
at Object.<anonymous> (/Users/dave/active/fabric.js/test/unit/text.js:65:5) |
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
class ApplicationController < ActionController::Base | |
before_filter :fetch_authors_and_categories | |
#... | |
private | |
def fetch_authors_and_categories | |
Couch.client(:bucket => 'system').pipelined do |
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
class Article < Couchbase::Model | |
view :by_type | |
def self.totals | |
total = { :overall => 0, :audio => 0, :video => 0, :text => 0 } | |
Couch.client.design_docs["article"].by_type(:group => true, :group_level => 1).entries.each do |row| | |
total[row.key[0].to_sym] = row.value | |
total[:overall] += row.value | |
end |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
MIRROR = "http://packages.couchbase.com/releases/2.0.0-developer-preview-4" | |
VERSION = "couchbase-server-community_x86_64_2.0.0-dev-preview-4.deb" | |
# Vagrant: http://vagrantup.com | |
Vagrant::Config.run do |config| | |
# Use 64bit Ubuntu Lucid 10.04 | |
config.vm.box = "lucid64" |
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
function(doc) { | |
emit(doc.content_type, doc); | |
} |