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
Example 1: | |
function add(oneNumber, anotherNumber){ | |
return (oneNumber + anotherNumber); | |
} | |
add(3,4); | |
----------- |
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
[Software Craftsmanship] | |
http://manifesto.softwarecraftsmanship.org/ | |
"Manifesto for Software Craftsmanship" | |
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
Then /^I should see a table where a row contains the cells? "([^\"]*)"$/ do |cells| | |
response.should have_tag('table') do |table| | |
table.should have_tag('tr') do |tr| | |
cells.split(/\s*,\s*/).each do |cell| | |
tr.should have_tag('td', :text => /#{cell}/) | |
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
DIVWLM-52FSYJZ:hallpass comcast$ jruby -S rake db:migrate | |
(in /Users/comcast/Documents/workspace/hallpass) | |
no such file to load -- activerecord-jdbcsqlite3-adapter | |
/Users/comcast/dev/jruby-1.3.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
/Users/comcast/dev/jruby-1.3.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
/Users/comcast/dev/jruby-1.3.1/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' | |
/Users/comcast/dev/jruby-1.3.1/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in' | |
/Users/comcast/dev/jruby-1.3.1/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' | |
/Users/comcast/dev/jruby-1.3.1/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/gem_dependency.rb:179:in `load' | |
/Users/comcast/dev/jruby-1.3.1/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/initializer.rb:305:in `load_gems' |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<repositories> | |
<repository> | |
<id>flex-mojos-repository</id> | |
<url>http://svn.sonatype.org/flexmojos/repository</url> | |
<releases> | |
<enabled>true</enabled> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*" | |
creationComplete="onCreationComplete()"> | |
<!--can't use velocity, got: | |
java.io.InvalidClassException: org.apache.velocity.runtime.parser.node.ASTprocess; class invalid for deserialization--> | |
<mx:Script> | |
<![CDATA[ | |
import flexunit.junit.JUnitTestRunner; | |
import flexunit.framework.TestSuite; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<repositories> | |
<repository> | |
<id>flex-mojos-repository</id> | |
<url>http://svn.sonatype.org/flexmojos/repository/</url> | |
<releases> | |
<enabled>true</enabled> |
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
// Fancast search ubiquity verb | |
if(typeof(KFDotNet) == 'undefined') { | |
KFDotNet = {}; | |
} | |
jQuery.extend(KFDotNet, { | |
fancast_util: { | |
generate_query: function(searchText){ | |
var location = "http://cimjoyent.ath.cx/~kfitzpat/fancastSearchProxy/searchProxy.php?q="+escape(searchText); | |
return location; |