start new:
tmux
start new with session name:
tmux new -s myname
// Copyright 2012 Square, Inc. | |
package com.squareup.test; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import com.actionbarsherlock.ActionBarSherlock; | |
import com.actionbarsherlock.app.ActionBar; | |
import com.actionbarsherlock.internal.ActionBarSherlockCompat; |
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}' |
package controllers | |
import play.api.mvc.Action | |
import play.api.mvc.Controller | |
import play.api.mvc.AsyncResult | |
import views.html.index | |
import play.api.libs.openid.OpenID | |
import play.api.libs.concurrent.Redeemed | |
import play.api.libs.concurrent.Thrown | |
import play.api._ |
When we think of writing automated tests with ruby and cucumber, Windows desktop applications are not the first thing that come to mind. If you have looked into writing acceptance tests for Windows applications (native, WinForms or WPF), chances are you have come across solutions such as SpecFlow or Raconteur, but what are the options if we want to drive our tests from ruby using cucumber or RSpec?
This pre-compiler session will take you through building an acceptance test suite using some ruby gems (mohawk
, RAutomation
and cucumber
) that tap into the Microsoft UI Automation accessibility framework to automate native, WinForms and WPF applications.
find . -type f | awk -F'.' '{print $NF}' | sort| uniq -c | sort -g |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
##Some quick thoughts on tracking happiness I've done this with a couple of teams. I've used Mercury App and Google Forms.
Some things I've learned from this:
defmodule PdfObjectGrammar do | |
use Neotomex.ExGrammar | |
defp describe_object(o, prefix) do | |
IO.puts "#{prefix} received" | |
IO.inspect o | |
end | |
@root true | |
define :object, "bool / numeric_object / string_object / name / array / dictionary" |