Skip to content

Instantly share code, notes, and snippets.

View paul's full-sized avatar

Paul Sadauskas paul

View GitHub Profile
log_level :info
log_location STDOUT
node_name "client"
ssl_verify_mode :verify_none
chef_server_url "https://api.opscode.com/organizations/absperf"
validation_client_name "absperf-validator"
validation_key "/tmp/vagrant-chef/validation.pem"
client_key "/etc/chef/client.pem"
def absperf_chef(config)
config.vm.provisioner = :chef_server
config.chef.chef_server_url = 'https://api.opscode.com/organizations/absperf'
config.chef.validation_client_name = "absperf-validator"
config.chef.validation_key_path = File.expand_path(File.dirname(__FILE__) + '/config/absperf-validator.pem')
config.chef.log_level = :info
end
Vagrant::Config.run do |config|
require 'rubygems'
require 'bundler'
Bundler.setup
require 'sinatra/base'
module ThingsController
extend Sinatra::Delegator
get '/' do
'Hello!'
require 'rubygems'
require 'bundler'
Bundler.setup
require 'active_support/core_ext/class/subclasses'
require 'sinatra/base'
module Keister
class App < Sinatra::Base
# settings

CMAKE generated file: DO NOT EDIT!

Generated by "Unix Makefiles" Generator, CMake Version 2.8

compile C with /usr/bin/gcc

C_FLAGS = -O3 -DNDEBUG -I/Users/rando/Code/vendor/X/awesome -I/usr/local/Cellar/libxcb/1.6/include -I/usr/local/Cellar/glib/2.24.1/include/glib-2.0 -I/usr/local/Cellar/glib/2.24.1/lib/glib-2.0/include -I/usr/local/Cellar/gettext/0.17/include -I/usr/local/Cellar/cairo/1.8.10/include/cairo -I/usr/local/Cellar/pixman/0.18.0/include/pixman-1 -I/usr/local/Cellar/xcb-util/0.3.6/include -I/usr/local/Cellar/pango/1.28.0/include/pango-1.0 -I/usr/local/Cellar/startup-notification/0.10/include/startup-notification-1.0 -I/usr/local/Cellar/imlib2/1.4.4/include -I/usr/local/Cellar/libxdg-basedir/1.1.0/include -I/usr/X11/include -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng12 -I/usr/local/include -std=gnu99 -ggdb3 -rdynamic -fno-strict-aliasing -Wall -Wextra -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wno-unused-parameter -Wuninitialized -Wi

> use mongo_stats
switched to db mongo_stats
> show collections
log
raw
system.indexes
system.users
> use admin
> db.runCommand({top: true}).totals["mongo_stats.raw"]["queries"]
{ "time" : 18873, "count" : 4 }
[~/Code/X/awesome] make -d | grep event
-- checking for modules 'glib-2.0;cairo;x11;pango>=1.19.3;pangocairo>=1.19.3;xcb-randr;xcb-xtest;xcb-xinerama;xcb-shape;xcb-event>=0.3.6;xcb-aux>=0.3.0;xcb-atom>=0.3.0;xcb-keysyms>=0.3.4;xcb-icccm>=0.3.6;xcb-image>=0.3.0;xcb-property>=0.3.0;cairo-xcb;libstartup-notification-1.0>=0.10;xproto>=7.0.15;imlib2;libxdg-basedir>=1.0.0'
-- found xcb-event, version 0.3.6
Considering target file `../event.h'.
Looking for an implicit rule for `../event.h'.
Trying pattern rule with stem `event.h'.
Trying implicit prerequisite `../event.h,v'.
Trying pattern rule with stem `event.h'.
Trying implicit prerequisite `../RCS/event.h,v'.
Trying pattern rule with stem `event.h'.
make
Running cmake…
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
May 7 15:15:15 neversummer org.x.startx[3298]: xauth: (argv):1: bad display name "neversummer:0" in "remove" command
May 7 15:15:15 neversummer org.x.startx[3463]: font_cache: Scanning user font directories to generate X11 font caches
May 7 15:15:15 neversummer org.x.startx[3463]: font_cache: Updating FC cache
May 7 15:15:15 neversummer org.x.startx[3463]: xauth: creating new authority file /Users/rando/.serverauth.3463
May 7 15:15:17 neversummer org.x.startx[3463]: font_cache: Done
May 7 15:15:19 neversummer org.x.startx[3463]: xauth: (argv):1: bad display name "neversummer:0" in "list" command
May 7 15:15:23 neversummer org.x.startx[3463]: xauth: (stdin):1: bad display name "neversummer:0" in "add" command
May 7 15:15:23 neversummer org.x.startx[3463]: Xquartz: Unable to locate waiting server: org.x.X11
May 7 15:15:23 neversummer org.x.startx[3463]: Xquartz: X11.app = /Applications/Utilities/X11.app/Contents/MacOS/X11
May 7 15:15:23 neversummer org.x.startx[3463]: Xquartz: Starting X server: /
% rake spec:services
(in /home/rando/development/api/core/web)
####################
Loading /home/rando/development/api/core/web/config/../config/preinitializer.rb
Command: /home/rando/.rvm/rubies/ree-1.8.7-2010.01/bin/rake
"GEM_HOME" => "/home/rando/.rvm/gems/ree-1.8.7-2010.01@ssbe"
"GEM_PATH" => "/home/rando/.rvm/gems/ree-1.8.7-2010.01@ssbe:/home/rando/.rvm/gems/ree-1.8.7-2010.01@global"
"rvm_archives_path" => "/home/rando/.rvm/archives"