- Ação - pró-ativo
- Comunicação - persuasivo e analítico
- Estabilidade - ágil
- Referenciais - inovador
- Orientação - resultados
- Decisão - risco
- Lente - generalista
- Estilo - pró-ativo
  
    
      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 | |
| @posts = PublishedQuery.new(self, Post).published | |
| 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
    
  
  
    
  | module MediaMagick | |
| module ApplicationHelper | |
| def attachment_container(model, relation, options = {}) | |
| data = data_attributes(model, relation, options) | |
| id = "#{model.class.to_s.downcase}-#{relation.to_s}" | |
| classes = "attachmentUploader #{relation.to_s}" | |
| content_tag :div, id: id, class: classes, data: data do | |
| if block_given? | |
| yield | 
  
    
      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
    
  
  
    
  | http://wagn.org/ | |
| http://www.redmine.org/ | |
| https://github.com/kete/kete/ | |
| ----------------------------------- | |
| https://github.com/parasew/instiki | 
  
    
      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
    
  
  
    
  | function initUploader(relation){ | |
| $(".attachmentUploader" + "." + relation).pluploadIt(); | |
| $("a." + relation + "ToggleSortable").bind('click', function () { | |
| mediaMagick.toggleSortable($("div.attachmentUploader." + relation + " .loadedAttachments"), '/update_priority', { | |
| linkSelector: 'a.' + relation + 'ToggleSortable', | |
| loadData: function () { | |
| return { | |
| elements: function () { | |
| return $("div.attachmentUploader." + relation + " .loadedAttachments").sortable('toArray'); | 
  
    
      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
    
  
  
    
  | <%= form_for(@post, :html => {:multipart => true}) do |f| %> | |
| <% if @post.errors.any? %> | |
| <div id="error_explanation"> | |
| <h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2> | |
| <ul> | |
| <% @post.errors.full_messages.each do |msg| %> | |
| <li><%= msg %></li> | |
| <% end %> | |
| </ul> | 
  
    
      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
    
  
  
    
  | #initial installation | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion | |
| #rvm | |
| curl -L https://get.rvm.io | bash -s stable --ruby | |
| rvm use 1.9.3 --default | 
  
    
      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
    
  
  
    
  | no seu terminal local: | |
| $ mongo | |
| no console do mongo: | |
| use nome_do_banco_development; | |
| db.copyDatabase("from_dbname", "to_dbname", "from_hostname", "username", "password"); | 
  
    
      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
    
  
  
    
  | -- juliana | |
| - não comprar bolachas, o povo não come muito, mas bolo em compensação... foi destruído em questão de minutos; | |
| - quanto mais quente a época, mais o pessoal consome líquidos; | |
| - ainda que sobre pouca coisa, é melhor sobrar do que faltar! | |
| - variedade é tudo o que importa, se tiver variedade de coisas a se servir... a galera come, nem que seja de um em um; | |
| - não dá pra perder (muito) tempo em busca de patrocínio, senão as coisas ficam corridas demais. Ou dá a DDL na primeira semana, ou faz sem patrocínio mesmo. | |
| -- priscila | 
  
    
      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
    
  
  
    
  | require "benchmark" | |
| require "mongoid" | |
| require "./lib/perf/models" | |
| Mongoid.configure do |config| | |
| config.master = Mongo::Connection.new("localhost", 27017).db("embedded_referenced_development") | |
| end | |
| Mongoid.purge! | |
| puts "Creating indexes..." |