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
def index | |
#@activity = Activity.find(params[:activity_id]) | |
#@accomplishments = @activity.accomplishments.completed.paginate :per_page => 4, :page => params[:page], :order => "created_at DESC" | |
@accomplishments = Accomplishment.completed.paginate :per_page => 4, :page => params[:page], :order => "created_at DESC" | |
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
#!/usr/bin/expect -- | |
# Test expect script to telnet. | |
spawn telnet localhost 5554 | |
expect "OK" | |
send "geo fix -122.03180 37.33081\r" | |
expect "OK" | |
send "exit\r" | |
# end of expect script. |
NewerOlder