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
[master] felipe:/workspaces/wave20/sehabitat$ rake inploy:remote:setup | |
(in /data/workspaces/wave20/sehabitat) | |
Inploy => ssh [email protected] 'cd /srv/sehabitat && git clone --depth 1 [email protected]:felipero/sehabitat.git release && cd release && rake inploy:local:setup environment=production' | |
[email protected]'s password: | |
Initialized empty Git repository in /srv/sehabitat/release/.git/ | |
rake aborted! | |
Could not find gem 'mysql (>= 0, runtime)' in any of the sources. | |
/srv/sehabitat/release/Rakefile:4:in `require' | |
(See full trace by running task with --trace) | |
(in /srv/sehabitat/release) |
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
felipe:/data/workspaces/assembla/platform_dev/trunk$ rake gems:install --trace | |
(in /data/workspaces/assembla/platform_dev/trunk) | |
** Invoke gems:install (first_time) | |
** Invoke gems:base (first_time) | |
** Execute gems:base | |
** Invoke environment (first_time) | |
** Execute environment | |
config.gem: Unpacked gem cached-models-0.0.3 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. | |
config.gem: Unpacked gem starling-0.9.8 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. | |
config.gem: Unpacked gem fastercsv-1.4.0 in vendor/gems has no specification file. Run 'rake gems:refresh_specs' to fix this. |
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
import groovyx.net.http.HTTPBuilder | |
import static groovyx.net.http.Method.GET | |
import static groovyx.net.http.ContentType.TEXT | |
class HTTPTester { | |
static void main(String[] args){ | |
def http = new HTTPBuilder( 'http://fratechit.appspot.com' ) |
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
# enconding: utf-8 | |
require File.join(File.dirname(__FILE__), "lib", "couch_rails", "version") | |
require 'rubygems' | |
require 'thor/rake_compat' | |
require 'spec/rake/spectask' | |
begin | |
require 'rdoc/task' | |
rescue LoadError | |
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
package com.novell.aca.snippet | |
import org.junit.runner.RunWith | |
import org.specs._ | |
import org.specs.mock.EasyMock | |
import runner.{JUnitSuiteRunner, JUnit4} | |
@RunWith(classOf[JUnitSuiteRunner]) | |
class ProfilePageTest extends JUnit4(ProfilePageSpecs) |
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
class Pessoa implements Serializable { | |
static hasMany = [atendimentos:Atendimento] | |
String nome | |
Endereco endereco | |
static constraints = { | |
endereco(nullable:true) | |
} |
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
# Clojure jar file | |
clj=/opt/clojure/clojure/clojure.jar | |
# Directory where libaries/jar files can be found | |
clj_ext=~/.clojure | |
### | |
# Various java options: | |
### |
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
;;; THIS CODE MUST BE UNDER THE ELPA CODE ADDE WHEN YOU INSTALLED ELPA | |
;; Clojure configuration | |
(clojure-slime-config "/opt/clojure") | |
;; Slime configuration | |
(require 'slime) | |
;; Adding sbcl to slime | |
(add-to-list 'slime-lisp-implementations '(sbcl ("sbcl"))) |
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
;; Clojure configuration | |
77 (clojure-slime-config "/opt/clojure") | |
78 | |
79 ;; Slime configuration | |
80 (require 'slime) | |
81 ;; Adding sbcl to slime | |
82 (add-to-list 'slime-lisp-implementations '(sbcl ("sbcl"))) |
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
(let ((buffer (url-retrieve-synchronously | |
"http://tromey.com/elpa/package-install.el"))) | |
(save-excursion | |
(set-buffer buffer) | |
(goto-char (point-min)) | |
(re-search-forward "^$" nil 'move) | |
(eval-region (point) (point-max)) | |
(kill-buffer (current-buffer)))) |