Skip to content

Instantly share code, notes, and snippets.

View cannikin's full-sized avatar
🔨
Woodworking

Rob Cameron cannikin

🔨
Woodworking
View GitHub Profile
Samba version 3.2.3
PID Username Group Machine
-------------------------------------------------------------------
8519 casting casting 10.209.118.197 (10.209.118.197)
8520 casting casting 10.254.237.237 (10.254.237.237)
Service pid machine Connected at
-------------------------------------------------------
uploads 8519 10.209.118.197 Fri Aug 21 22:21:03 2009
uploads 8520 10.254.237.237 Fri Aug 21 22:21:04 2009
tesla:WebKit rob$ WebKitTools/Scripts/build-webkit
Updating /Users/rob/Desktop/WebKit/WebKitBuild/Release/libWebKitSystemInterfaceTiger.a
Updating /Users/rob/Desktop/WebKit/WebKitBuild/Release/libWebKitSystemInterfaceLeopard.a
Updating /Users/rob/Desktop/WebKit/WebKitBuild/Release/libWebKitSystemInterfaceSnowLeopard.a
Updating /Users/rob/Desktop/WebKit/WebKitBuild/Release/libWebCoreSQLite3.a
Updating /Users/rob/Desktop/WebKit/WebKitBuild/Release/usr/local/include/WebKitSystemInterface.h
Updating /Users/rob/Desktop/WebKit/WebKitBuild/Release/WebCoreSQLite3
=== BUILD AGGREGATE TARGET Derived Sources OF PROJECT JavaScriptCore WITH CONFIGURATION Release ===
Check dependencies
#!/usr/bin/env ruby
# If you have a ratio of two numbers that you want to scale up or down you can
# use this command line tool to provide the three known parts and it will
# calculate the fourth.
#
# Usage
#
# ratio a/b x/y
#
@cannikin
cannikin / gist:234084
Created November 13, 2009 19:19
rake db:schema:load output for Warehouse
tesla:warehouse rob$ rake db:schema:load RAILS_ENV=production --trace
(in /Users/rob/Sites/warehouse)
** Invoke db:schema:load (first_time)
** Invoke environment (first_time)
** Execute environment
!! Error loading plugins: Mysql::Error: Table 'warehouse_production.plugins' doesn't exist: SELECT * FROM `plugins` WHERE (name IN ('photo_gallery'))
!! Make sure the database was created successfully and migrated.
rake aborted!
undefined method `destroy' for #<Svn::Ext::Core::Apr_pool_wrapper_t:0x1031bbb70>
/Library/Ruby/Site/1.8/svn/util.rb:60:in `svn_fs_initialize'
[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...
[DEBUG] copy resources from /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/Resources to /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/build/iphone/tmp
[DEBUG] copying: /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/Resources/app.js to /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/build/iphone/tmp/app.js
[DEBUG] copying: /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/Resources/cricket.wav to /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/build/iphone/tmp/cricket.wav
[DEBUG] copying: /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/Resources/default_app_logo.png to /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/build/iphone/tmp/default_app_logo.png
[DEBUG] copying: /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/Resources/jquery-1.3.2.js to /Users/rob/Desktop/titanium/KitchenSink/1.0.x/KitchenSink/build/ip
var win = Ti.UI.currentWindow;
var scrollView = Ti.UI.createScrollView({
contentWidth:'auto',
contentHeight:'auto',
showVerticalScrollIndicator:true,
showHorizontalScrollIndicator:true,
layout:'vertical' });
// title
// Read temperature/humidity from sensor and display on LCD screen
#include <SoftwareSerial.h>
#include <Sensirion.h>
#define lcdTxPin 2
#define sensorDataPin 3
#define sensorClockPin 4
float temperature;
tesla:rubinius rob$ ./configure
Configuring LLVM...
Checking for existing LLVM tree: not found.
Checking for 'llvm-config': not found
Checking for prebuilt LLVM build...
[ 100% (7422504 of 7422504) ]: done!
No MD5 checksum for llvm-x86_64-apple-darwin10.3.0.tar.bz2 available on server.
Using LLVM library without checksum validation.
Prebuilt packages updated.
Unpacking prebuilt LLVM for x86_64-apple-darwin10.3.0: done!
- if RAILS_ENV == 'development'
#debug
= link_to_function('Params Trace', "$('debug_params').toggle()")
#debug_params
%table
- params.keys.sort.each do |key|
%tr
%td= key
%td= params[key]
- if RAILS_ENV == 'development'
#debug
= link_to_function('Params Trace', "$('debug_params').toggle()")
#debug_params
%table
- params.keys.sort.each do |key|
%tr
%td= key
%td= params[key]