This file contains 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
stat("/data/peoplejar/releases/20081016222500/app/controllers/users_controller/delete_account_system.rb", 0x7fff74262680) = -1 ENOENT (No such file or directory) | |
stat("/data/peoplejar/releases/20081016222500/app/users_controller/delete_account_system.rb", 0x7fff74262680) = -1 ENOENT (No such file or directory) | |
stat("/data/peoplejar/releases/20081016222500/app/models/users_controller/delete_account_system.rb", 0x7fff74262680) = -1 ENOENT (No such file or directory) | |
stat("/data/peoplejar/releases/20081016222500/app/controllers/users_controller/delete_account_system.rb", 0x7fff74262680) = -1 ENOENT (No such file or directory) | |
stat("/data/peoplejar/releases/20081016222500/app/helpers/users_controller/delete_account_system.rb", 0x7fff74262680) = -1 ENOENT (No such file or directory) | |
stat("/data/peoplejar/releases/20081016222500/config/users_controller/delete_account_system.rb", 0x7fff74262680) = -1 ENOENT (No such file or directory) |
This file contains 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
$ curl -vX GET http://127.0.0.1:5984 | |
* About to connect() to 127.0.0.1 port 5984 (#0) | |
* Trying 127.0.0.1... Connection refused | |
* couldn't connect to host | |
* Closing connection #0 | |
curl: (7) couldn't connect to host | |
$ ps aux | grep beam | |
root 4080 0.0 0.5 28560 8956 ? Sl Jul22 0:05 /usr/lib/erlang/erts-5.6.3/bin/beam -Bd -K true -- -root /usr/lib/erlang -progname erl -- -home /home/deploy -noshell -noinput -smp auto -sasl errlog_type error -pa /usr/local/lib/couchdb/erlang/lib/couch-0.9.0a/ebin /usr/local/lib/couchdb/erlang/lib/mochiweb-r97/ebin /usr/local/lib/couchdb/erlang/lib/ibrowse-1.4.1/ebin -eval application:load(ibrowse) -eval application:load(crypto) -eval application:load(couch) -eval crypto:start() -eval ibrowse:start() -eval couch_server:start([ "/usr/local/etc/couchdb/default.ini", "/usr/local/etc/couchdb/local.ini"]), receive done -> done end. | |
deploy 8248 0.0 0.0 3300 740 pts/0 R+ 21:44 0:00 grep beam |
This file contains 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
$ script/console | |
Loading production environment (Rails 2.3.2) | |
P>> Person.all | |
RestClient::RequestFailed: HTTP status code 400 | |
from /var/lib/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:195:in `process_result' | |
from /var/lib/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:125:in `transmit' | |
from /usr/lib/ruby/1.8/net/http.rb:543:in `start' | |
from /var/lib/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:123:in `transmit' | |
from /var/lib/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:49:in `execute_inner' | |
from /var/lib/gems/1.8/gems/rest-client-1.0.3/lib/restclient/request.rb:39:in `execute' |
This file contains 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 opennlp.maxent.io; | |
/////////////////////////////////////////////////////////////////////////////// | |
// Copyright (C) 2001 Jason Baldridge and Gann Bierner | |
// | |
// This library is free software; you can redistribute it and/or | |
// modify it under the terms of the GNU Lesser General Public | |
// License as published by the Free Software Foundation; either | |
// version 2.1 of the License, or (at your option) any later version. | |
// |
This file contains 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
import com.mongodb.{Mongo, DB, DBObject} | |
import com.mongodb.util.JSON | |
import org.junit.{Assert, Test} | |
/** | |
* | |
* User: @tommychheng | |
* Date: Sep 24, 2010 | |
* Time: 9:36:41 AM | |
* | |
* |
This file contains 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
<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> | |
<groupId>com.chheng</groupId> | |
<artifactId>factorie-example</artifactId> | |
<packaging>jar</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<scala.version>2.8.1</scala.version> |
This file contains 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
<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> | |
<groupId>casbah-test</groupId> | |
<artifactId>testing</artifactId> | |
<packaging>jar</packaging> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<scala.version>2.8.1</scala.version> |
This file contains 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
[info] == casbah / publish-local == | |
[info] Installing locally... | |
scala.MatchError: (ArrayBuffer(Artifact(casbah_2.8.1,jar,jar,None,List(),None,Map()), Artifact(casbah_2.8.1,pom,pom,None,List(),None,Map())),ArrayBuffer()) | |
at maven.Engine.buildArtifacts(Engine.scala:252) | |
at maven.Engine.install(Engine.scala:271) | |
at maven.MavenDependencies$$anonfun$publishLocal$1.apply(MavenDependencies.scala:92) | |
at maven.MavenDependencies$$anonfun$publishLocal$1.apply(MavenDependencies.scala:90) | |
at sbt.TaskManager$Task.invoke(TaskManager.scala:62) | |
at sbt.impl.RunTask.doRun$1(RunTask.scala:77) | |
at sbt.impl.RunTask$$anonfun$runTask$1.apply(RunTask.scala:83) |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='UTF-8'> | |
<title>Eat2Treat</title> | |
<link rel='stylesheet' href='http://code.jquery.com/mobile/1.0a2/jquery.mobile-1.0a2.min.css' /> | |
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js'></script><script type='text/javascript' src='http://code.jquery.com/mobile/1.0a2/jquery.mobile-1.0a2.min.js'></script><script src="/javascripts/rails.js?1294419395" type="text/javascript"></script> | |
<meta name="csrf-param" content="authenticity_token"/> | |
<meta name="csrf-token" content="IXX1G7xPHNZy+lo3XiNqz4GmIu+3ym01YDjn4opc1Ow="/> |
This file contains 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
#!/bin/bash | |
set -e -x | |
export DEBIAN_FRONTEND=noninteractive | |
### create deploy user | |
sudo useradd -m -s /bin/bash deploy | |
echo "deploy ALL=(ALL) ALL" | sudo bash -c 'cat >> /etc/sudoers' | |
sudo cp -R /home/ubuntu/.ssh /home/deploy/ | |
sudo chown -R deploy:deploy /home/deploy/.ssh |
OlderNewer