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
# Cleaning up and extending the Gemfile | |
remove_file 'Gemfile' | |
create_file 'Gemfile', <<-GEMFILE | |
source 'http://rubygems.org' | |
gem 'rails', '3.0.1' | |
gem 'sqlite3-ruby', :require => 'sqlite3' | |
gem 'haml', '~> 3.0.12' |
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
<evschoemaker> http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js | |
<evschoemaker> there's an ie9 version too | |
<evschoemaker> yeah we use filter() stuff too | |
<evschoemaker> oh gradients | |
<evschoemaker> cool | |
<evschoemaker> http://code.google.com/p/ie7-js/. [13:51] | |
<evschoemaker> http://code.google.com/p/ie7-js/ | |
<evschoemaker> my app haml looks like: | |
<evschoemaker> /[if lt IE 9] [13:52] | |
<evschoemaker> = javascript_include_tag |
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
@import compass/reset | |
@import compass/css3/gradient | |
=box-shadow | |
-moz-box-shadow: 3px 3px 3px #666 | |
-webkit-box-shadow: 3px 3px 3px #666 | |
box-shadow: 3px 3px 3px #666 | |
=border-radius(!radius) |
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
;; This buffer is for notes you don't want to save, and for Lisp evaluation. | |
;; If you want to create a file, visit that file with C-x C-f, | |
;; then enter the text in that file's own buffer. | |
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 'hpricot' | |
require 'fileutils' | |
class RendererController < ApplicationController | |
before_filter :login_required, :only => %w[render_page_as_html save_changes_to_site] | |
before_filter :load_paths, :only => %w[index load_page_from_disk save_changes_to_site] | |
layout "renderer" |
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
package au.com.sdx.plan_processing.service.impl; | |
/** | |
* imports and logging statements elided | |
*/ | |
@SuppressWarnings("restriction") | |
public class TiffProcessor implements IPlanImageService { | |
private static final int BLACK = 0; | |
private static final int WHITE = 1; |
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
using System; | |
using DDSGpsNav.ServiceLayer.Invoker; | |
namespace DDSGpsNav.ServiceLayer.Invoker.MFData | |
{ | |
/// <summary> | |
/// Class which gets the latest Truck Master file from the server | |
/// </summary> | |
public class MasterFileUpdateCommand : ICommand | |
{ |
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
using System; | |
using System.Collections.Generic; | |
using System.Data; | |
using System.Data.Common; | |
using DDSGpsNav.Classes; | |
using DDSGpsNav.DB; | |
namespace DDSGpsNav.DB | |
{ | |
public class CoordinateDAO : DAO<Coordinate>, IMasterFileDAO |