Displaying 3 results from an estimated 3 matches for "appn".
Did you mean:
app
2011 Feb 23
1
web app deployment on a Debian server
...like this :
# web server node
node "prod.domain.com" inherits webserver {
webapp::project{app1:
domain => "app1.com",
package => "app1",
version => ''1.1.2''
}
# ... app2, app3, app4 ...
webapp::project{appN:
domain => "appN.com",
package => "appN",
version => ''x.y.z''
}
}
# simplified project definition
define webapp::project($domain, $package, $version ) {
apache::virtual_host { "$domain":}
package { $pack...
2005 Nov 10
1
How to export multiple files using write.table in the loop?
Hi,
I tried to split a big file into some small files seperately by R. I can only do that writing duplicated codes. When I tried to write a loop, I only got one appned or destroyed exported file. For example:
data1<- read.table(file = "C:\\Alice\\MBEI.txt", sep="\t", check.names=FALSE)
a<-subset(data1,select=c(V1,V2,V3))
write.table<-(a,file="C:\\Alice\\aa1.txt",quote=FALSE,row.names=FALSE,col.name=FALSE,sep="\t&q...
2010 Aug 03
0
curl works when testing JSON response but the functional and integration tests do not work.
I am trying to test an action which is supposed to give a json
response The url goes something line /blah/model.json
When I POST to that URL using curl like this
curl -H "Content-Type:application/json" -H "Accept:appn/json" -d
"data" http://localhost:3000/blah/model.json it works just fine.
In my test functional test I have this method
def post_json (data)
post "/blah/model.json", {:data => data.to_json}, {''Content-Type''
=> ''application/json...