Skip to content

Instantly share code, notes, and snippets.

View davidray's full-sized avatar

David Christiansen davidray

  • SyncTimes
  • Springville, UT
View GitHub Profile
%script{ :type => "text/javascript" }
$(function() {
$('.inlinesparkline').sparkline();
var myvalues = [10,8,5,7,4,4,1];
$('.dynamicsparkline').sparkline(myvalues);
$('.pie').sparkline('html', { type: 'pie', height: '40px', offset: '90', sliceColors: ["green","yellow","red","black"] });
$('.small_pie').sparkline('html', { type: 'pie', height: '15px', offset: '90', sliceColors: ["green","red"] });
dave@trisano-ee-trial-core:/opt/csi/trial/current$ rake db:create RAILS_ENV=production
(in /opt/csi/trial/current)
PGError: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)
HINT: Use the same encoding as in the template database, or use template0 as template.
: CREATE DATABASE "trisano" ENCODING = 'utf8'
/opt/csi/trial/current/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:219:in `log'
/opt/csi/trial/current/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:550:in `execute'
/opt/csi/trial/current/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:633:in `create_database'
/opt/csi/trial/current/vendor/rails/railties/lib/tasks/databases.rake:70:in `create_database'
/opt/csi/trial/current/vendor/rails/railties/lib/tasks/databases.rake:31
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_20/jre/lib/amd64/server:/usr/java/jdk1.6.0_20/jre/lib/amd64:/usr/java/jdk1.6.0_20/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Jul 16, 2010 11:47:28 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-18080
Jul 16, 2010 11:47:28 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1217 ms
Jul 16, 2010 11:47:29 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 16, 2010 11:47:29 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.28
Jul 16, 2010 11:47:29 AM org.apache.catalina.core.StandardHost start
david@bigubu:~/trisano/webapp$ jruby -S rake trisano:ee:load_defaults --trace
(in /home/david/trisano/webapp)
no such file to load -- cucumber/rake/task
** Invoke trisano:ee:load_defaults (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute trisano:ee:load_defaults
/home/david/trisano/webapp/vendor/trisano/trisano_ee/tasks/../script/load_defaults.rb -e development
/home/david/trisano/webapp/script/../config/../vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
/home/david/trisano/webapp/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection': Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (no such file to load -- pg) (RuntimeError)
root@trooptrack:~# ./listcron
cat: /etc/cron.d/*: No such file or directory
mi h d m w user command
14 * * * * root /etc/cron.hourly/webalizer.sh
34 * * * * root ruby /var/lib/mongrel/trooptrack/current/script/expire_sessions
31 17 * * 7 root /etc/cron.weekly/man-db
31 17 * * 7 root /etc/cron.weekly/sysklogd
44 17 1 * * root /etc/cron.monthly/standard
46 17 * * * root /etc/cron.daily/apache2
46 17 * * * root /etc/cron.daily/apt
module Trisano
module Locales
module Controllers
module AdminController
hook! "AdminController"
reloadable!
class << self
def included(base)
base.before_filter :manage_passwords_links
/Users/david/projects/trisano/webapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:585:in `to_constant_name': Anonymous modules have no name to be referenced by (ArgumentError)
from /Users/david/projects/trisano/webapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:391:in `qualified_name_for'
from /Users/david/projects/trisano/webapp/vendor/rails/activesupport/lib/active_support/dependencies.rb:104:in `const_missing'
from /Users/david/.rvm/gems/ree-1.8.7-2010.01/gems/faker-0.3.1/lib/faker/company.rb:5:in `name'
from /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:705:in `_real_class_and_mod'
from /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:736:in `_register_method'
from /System/Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/oc_import.rb:774:in `singleton_method_added'
from /Users/david/.rvm/gems/ree-1.8.7-2010.01/gems/faker-0.3.1/lib/faker/company.rb:4
from /Library/Ruby/Site/1.8/
echo "===========================================" >> /home/pentaho/refresh-log
date >> /home/pentaho/refresh-log
echo "===========================================" >> /home/pentaho/refresh-log
cd /opt/csi/trisano-dw/warehouse
./etl.sh >> /home/pentaho/refresh-log
cd /usr/local/pentaho/server/biserver-ce/pentaho-solutions/TriSano
./build_metadata.sh >> /home/pentaho/refresh-log
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springsource.org/dtd/spring-beans.dtd">
<!--+
| Application context containing FilterChainProxy.
+-->
<beans>
<!-- ======================== FILTER CHAIN ======================= -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springsource.org/dtd/spring-beans.dtd">
<!--+
| Application context containing JDBC AuthenticationProvider
| implementation.
+-->
<beans>
<bean id="daoAuthenticationProvider"