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
# autocomplete fuzzy search | |
if yes?(">> Do you want to add no_fuzz") | |
plugin "no_fuzz", :git => "git://github.com/Chrononaut/no_fuzz.git" | |
end | |
if yes?(">> Do you want to add auto_complete") | |
plugin "auto_complete", :git => "git://github.com/rails/auto_complete.git" | |
end | |
if yes?(">> Do you want to add mislav-will_paginate") |
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 'open-uri' | |
data = YAML.load( | |
open('http://2009.foss4g.org/workshops_and_tutorials.yml').read | |
) |
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
# http://2009.foss4g.org/schedule.yml | |
workshops: | |
workshop_01: | |
title: "Geospatial BI with FOSS: an introduction to GeoMondrian and Spatialytics" | |
user: Advanced User | |
presenters: | |
1: presenter_01 # Thierry Badard | |
2: presenter_02 # Etienne Dubé | |
short_description: | |
'This workshop offers a practical introduction to two new Open Source projects in the Geospatial Business Intelligence field: GeoMondrian, a Spatial OLAP server based on Mondrian (Pentaho Analysis Services), and Spatialytics, a web-mapping client for building Geo BI solutions (dashboards and web Spatial OLAP clients) based on OpenLayers.' |
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 'open-uri' | |
data = YAML.load(open('http://2009.foss4g.org/schedule.yml').read) |
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
data['tutorials'].each do |s| | |
session_name = e[0] | |
# create a session ical file for tutorials | |
end | |
data['workshops'].each do |e| | |
session_name = e[0] | |
# create a session ical file for workshops | |
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
require "yaml" | |
require "open-uri" | |
data = YAML.load(open('http://2009.foss4g.org/schedule.yml').read) | |
data.each do |k, v| | |
puts k | |
v.sort.each do |k, v| | |
puts " #{k}" | |
end | |
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
# http://2009.foss4g.org/presenters.yml | |
presenters: | |
presenter_01: | |
name: Thierry Badard | |
address: 'Quebec City, QC, Canada' | |
location_wkt: SRID=4326;POINT(-71.270199 46.782536) | |
biography: Dr. Thierry Badard is professor in geoinformatics at the Department of geomatics sciences of Laval University in Quebec City (Canada). He heads the GeoSOA research group and is a full time researcher and a member of the steering committee of the Centre for Research in Geomatics (CRG). He is also a regular researcher of the GEOIDE Network of Centres of Excellence in geomatics. He has more than 13 years of experience and he has been involved and has led national and international R & D projects of importance. His research interest deals with geospatial (Web) Services Oriented Architectures (SOA), location-based and context-aware web services, geospatial Business Intelligence and geo-analytical tools and the design of intelligent mobile applications for better decision support. Dr. Thierry Badard is also involve |
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/env ruby | |
# | |
# A hook script to verify that only syntactically valid ruby code is commited. | |
# Called by git-commit with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# Put this code into a file called "pre-commit" inside your .git/hooks | |
# directory, and make sure it is executable ("chmod +x .git/hooks/pre-commit") | |
# |
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
system('sudo gem install GeoRuby') | |
system('git clone git://github.com/fragility/spatial_adapter.git') | |
$:.unshift(File.join(File.dirname(__FILE__), 'spatial_adapter', 'lib')) | |
require "rubygems" | |
require "active_record" | |
ActiveRecord::Base.establish_connection( | |
:adapter => "postgresql", |
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
$:.unshift(File.join(File.dirname(__FILE__), 'spatial_adapter', 'lib')) | |
$:.unshift(File.join(File.dirname(__FILE__), '..', 'utils')) | |
require 'rubygems' | |
require 'pp' | |
require 'active_record' | |
require 'active_record/connection_adapters/oracle_enhanced_adapter' | |
require 'geo_ruby' | |
require 'oci8' | |
require 'sdo_geometry.rb' |
OlderNewer