This file contains hidden or 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
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. | |
# It is recommended to regenerate this file in the future when you upgrade to a | |
# newer version of cucumber-rails. Consider adding your own code to a new file | |
# instead of editing this one. Cucumber will automatically load all features/**/*.rb | |
# files. | |
ENV["RAILS_ENV"] ||= "test" | |
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment') | |
require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support |
This file contains hidden or 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
# lib/monkey.rb | |
module Authlogic | |
module ControllerAdapters | |
class RailsAdapter | |
def cookie_domain | |
#cookie domain can be found in ApplicationController | |
controller.cookie_domain | |
end | |
end | |
end |
This file contains hidden or 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 suncertify.db; | |
/** | |
* An interface implemented by classes that allow access to the | |
* bookings database. | |
* | |
* @author Sun Microsystems | |
* @version 1.0 | |
*/ | |
public interface DBMain { |
This file contains hidden or 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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package nl.kabisa.mgl.rssninja.beans; | |
import java.io.IOException; | |
import java.util.Date; | |
import java.util.logging.Level; |
This file contains hidden or 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
/* | |
* To change this template, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package nl.kabisa.mgl.rssninja.beans; | |
import java.io.IOException; | |
import java.util.Date; | |
import java.util.logging.Level; |
This file contains hidden or 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
λ brew doctor | |
Some "config" scripts were found in your path, but not in system or Homebrew folders. | |
`./configure` scripts often look for *-config scripts to determine if software packages | |
are installed, and what additional flags to use when compiling and linking. | |
Having additional scripts in your path can confuse software installed via Homebrew if | |
the config script overrides a system or Homebrew provided script of the same name. | |
/Users/ariejan/.rvm/gems/ruby-1.8.7-p249/bin |
This file contains hidden or 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
ruby-1.8.7-p249 ~ λ which install | |
/usr/local/bin/install | |
ruby-1.8.7-p249 ~ λ cd /usr/local/bin | |
ruby-1.8.7-p249 /usr/local/bin master λ ls -lah install* | |
lrwxrwxrwx 1 ariejan staff 15B 20 Apr 13:08 install -> ./[email protected] | |
lrwxrwxrwx 1 ariejan staff 51B 20 Apr 13:08 [email protected] -> ../lib/node/.npm/brequire/0.0.5/package/bin/install | |
ruby-1.8.7-p249 /usr/local/bin master λ |
This file contains hidden or 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 rake | |
# Add your own tasks in files placed in lib/tasks ending in .rake, | |
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | |
require File.expand_path('../config/application', __FILE__) | |
Falcon::Application.load_tasks |
This file contains hidden or 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
# you'd obviously have more settings somewhere | |
set :scm, :git | |
set :repository, "[email protected]:defunkt/github.git" | |
set :branch, "origin/master" | |
set :migrate_target, :current | |
set :use_sudo, false | |
set :ssh_options, {:forward_agent => true} | |
set :rails_env, 'production' | |
set(:latest_release) { fetch(:current_path) } |
This file contains hidden or 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 'rdiscount' | |
require 'nokogiri' | |
require 'coderay' | |
module Falcon | |
class Content | |
# Return a summary if a delimiter is found, otherwise | |
# return the full body. | |
def self.summary_of(text, delimiter = "~\n") | |
summary = if text =~ /#{delimiter}/i |