- 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 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 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 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 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 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 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 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 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
Performance Driven | |
Key Characteristics: | |
• Goal/Results-driven | |
• Commitment to Results | |
• Personal Effectiveness | |
• Stakeholder Focus | |
You are customer and results-oriented. You know that people have limited time. Words and ideas may be important to you, but you care most about actions. |
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
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
Create a /etc/apt/sources.list.d/10gen.list file using the following command. | |
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/10gen.list | |
sudo apt-get update |