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
require 'oauth' | |
require 'httpclient' | |
require 'json' | |
class SimpleTwitter | |
def initialize(config) | |
@config = config | |
@http_client = HTTPClient.new | |
end |
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
module Foo | |
def self.included base | |
base.send :include, InstanceMethods | |
base.extend ClassMethods | |
end | |
module InstanceMethods | |
def bar1 | |
'bar1' | |
end |
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
module Foo | |
def self.included base | |
base.extend ClassMethods | |
end | |
module ClassMethods | |
def bar2 | |
puts 'bar2' | |
end | |
end |
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
############################ | |
# _ | |
# | |_ _ __ ___ _ ___ __ | |
# | __| '_ ` _ \| | | \ \/ / | |
# | |_| | | | | | |_| |> < | |
# \__|_| |_| |_|\__,_/_/\_\ | |
# | |
############################# | |
# | |
# COPY AND PASTE |
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
sem dependencia | |
ruby-jeweller https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816744 | |
ruby-sup-mail (esse é do ruby-xapian) | |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816486 | |
ruby-thinking-sphinks | |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816307 |
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
QUILT_PATCHES=debian/patches | |
QUILT_NO_DIFF_INDEX=1 | |
QUILT_NO_DIFF_TIMESTAMPS=1 | |
QUILT_REFRESH_ARGS="-p ab" | |
QUILT_DIFF_ARGS="--color=auto" # If you want some color when using `quilt diff`. |
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
commit 38019bb3e2194d2fd08553ea9f9edaa26035f478 | |
Author: Thiago Ribeiro <thiagitosouza@gmail.com> | |
Date: Mon Mar 7 17:54:34 2016 -0300 | |
Apply revision | |
diff --git a/debian/copyright b/debian/copyright | |
index ba09587..9195e89 100644 | |
--- a/debian/copyright | |
+++ b/debian/copyright |
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
No debian: | |
- instale o pacote docker.io | |
- Entre na raiz do projeto noosfero clonado via git | |
- sudo docker pull noosfero/dev-rails4 (Vai demorar um pouco) | |
- sudo docker run -it -p 3000:3000 noosfero/dev-rails4 | |
- ./scritp/quick-start | |
- ./script/development | |
Enjoy =) |
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
<dirv class="page-header"> | |
<%= simple_form_for(@atendimento, :html => {:class => 'form-horizontal' }) do |f| %> | |
<div class="actions"> | |
<button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> |
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
<div class="page-header"> | |
<%= simple_form_for(@atendimento, :html => {:class => 'form-horizontal' }) do |f| %> | |
</div> |