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
/* | |
TypeError: can't convert nil into String | |
Backtrace: | |
/Users/karl/.rvm/gems/ruby-1.9.1-p378/gems/haml-2.2.17/lib/sass/files.rb:94:in `join' | |
/Users/karl/.rvm/gems/ruby-1.9.1-p378/gems/haml-2.2.17/lib/sass/files.rb:94:in `sassc_filename' | |
/Users/karl/.rvm/gems/ruby-1.9.1-p378/gems/haml-2.2.17/lib/sass/files.rb:23:in `tree_for' | |
/Users/karl/.rvm/gems/ruby-1.9.1-p378/gems/haml-2.2.17/lib/sass/plugin.rb:96:in `update_stylesheet' | |
/Users/karl/.rvm/gems/ruby-1.9.1-p378/gems/haml-2.2.17/lib/sass/plugin.rb:82:in `block (2 levels) in update_stylesheets' | |
/Users/karl/.rvm/gems/ruby-1.9.1-p378/gems/haml-2.2.17/lib/sass/plugin.rb:77:in `each' |
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
rails compass_test | |
cd compass_test/ | |
rake rails:template LOCATION=http://compass-style.org/rails/installer | |
script/generate nifty_scaffold building name:string --haml | |
script/generate nifty_layout --haml | |
rake db:migrate | |
-- added stylesheet_link_tag 'compiled/screen.css' to | |
application.html.haml | |
script/server |
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 'mysql' | |
require 'time' | |
puts "[#{File.basename(__FILE__)}] running..." | |
time_in = Time.now | |
time_in_db = time_in.strftime("%Y-%m-%d %H:%M:%S") | |
puts "start time: " << time_in.strftime("%Y-%m-%d %H:%M:%S") |
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
Sub main(params) | |
Set WshShell = CreateObject( "WScript.Shell" ) | |
WshShell.Run("ruby C:\PROGRA~1\homeseer\scripts\ThermoLogger.rb " & params ) | |
End Sub |
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
#!/usr/bin/perl | |
use ElkM1::Control; | |
use Switch; | |
use Log::Log4perl qw(:easy); | |
use HTTP::Date; | |
use strict; | |
use File::Basename; | |
use File::Spec; |
NewerOlder