<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2695903651278858292</id><updated>2011-07-28T15:59:28.195-07:00</updated><category term='Humor'/><category term='Frases'/><category term='Engenharia de Software'/><category term='Dicas'/><category term='Cursos'/><category term='Olá'/><category term='Lógica de Programação'/><category term='Linux'/><category term='Jogos'/><category term='Java Web'/><title type='text'>Aprendizado Colaborativo</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-7875780602459126713</id><published>2010-03-28T14:34:00.000-07:00</published><updated>2010-03-28T15:26:13.525-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Java Web'/><title type='text'>Web</title><content type='html'>Ao estudarmos o mundo web temos dois aspectos básicos de se entender:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;==O PROTOCOLO HTTP== &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Hypertext Transfer Protocol, esse é o protocolo que trabalha com requisições a servidores (Requests), e respostas do servidor (Response).&lt;br /&gt;Na prática as requisições mais comuns são via browse (ao pedir uma página), e as respostas são enviadas pelos servidores espalhados pela internet.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;==METHOD==&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;São parte de uma requisição/resposta, eles ajudam a informar qual tipo de requisição/resposta estamos usando. Um tipo de requisição pode ser "Segura, e encapsulada no corpo da mensagem"(method Post). Outro tipo: "Não é tão seguro, é limitado,  mais é rápido e atende a requisições simples"(method Get).&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;METHOD POST&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Ao chegar uma requisição no servidor http com esse método,  ele sabe que é uma informação encapsulada no corpo da mensagem e que pode ser não trivial seu tratamento. Dados confidenciais ou que precisam de um tratamento especializado, como senhas, nº de documentos, valor de transferência em conta, dentro de um formulário que precisa ser atualizado no banco de dados, são alguns exemplos.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;METHOD GET&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Ao chegar uma requisição no servidor http com esse método, ele sabe que é uma informação que está ligada ao endereço que está no browse. Isso é feito via parâmetro. Um exemplo:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;http://www.blogger.com/post-create.g?blogID=2695903651278858292&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Toda requisição via método get tem o formato parecido com o acima. o endereço da página&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;http://www.blogger.com/post-create.g&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Uma interrogação para separar o que é parâmetro&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;http://www.blogger.com/post-create.g&lt;span style="color: rgb(255, 0, 0);"&gt;? &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;E depois da interrogação os parâmetros&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;http://www.blogger.com/post-create.g?&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(255, 0, 0);"&gt;blogID&lt;span style="color: rgb(0, 0, 0);"&gt;=2695903651278858292&lt;/span&gt;&lt;/span&gt;,&lt;br /&gt;&lt;br /&gt;E seus valores&gt;&lt;span style="font-weight: bold;"&gt; http://www.blogger.com/post-create.g?blogID=&lt;span style="color: rgb(255, 0, 0);"&gt;2695903651278858292&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Quando temos mais de um parâmetro eles são separados por&lt;span style="font-weight: bold;"&gt; &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;http://portal.revistas.bvs.br/index.php?&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;issn&lt;/span&gt;=1517-3151&lt;/span&gt;&amp;amp;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;lang&lt;/span&gt;=&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;pt&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;==REFERÊNCIAS==&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;VILLAFUERTE&lt;/span&gt;, Daniel. &lt;span style="font-weight: bold;"&gt;Programação Web: Introdução a Programação Web&lt;/span&gt;. Tradução Versão 1. &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;JEDI&lt;/span&gt;:  2007.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-7875780602459126713?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/7875780602459126713/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=7875780602459126713&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/7875780602459126713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/7875780602459126713'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2010/03/web.html' title='Web'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-6675938761380990295</id><published>2009-10-13T05:28:00.000-07:00</published><updated>2009-10-13T05:29:17.691-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dicas'/><title type='text'>Teclas de Atalho Google Reader</title><content type='html'>&lt;strong&gt;1&lt;/strong&gt; - Mostra as notícias de forma expandida&lt;br /&gt;&lt;strong&gt;2 &lt;/strong&gt;- Mostra somente os títulos&lt;br /&gt;&lt;strong&gt;J &lt;/strong&gt;- Vai à próxima notícia&lt;br /&gt;&lt;strong&gt;K&lt;/strong&gt; - Vai à notícia anterior&lt;br /&gt;&lt;strong&gt;V&lt;/strong&gt; - Abre a página original da notícia em uma nova aba ou janela&lt;br /&gt;&lt;strong&gt;- &lt;/strong&gt;- Diminui o zoom nas notícias&lt;br /&gt;&lt;strong&gt;=&lt;/strong&gt; - Aumenta o zoom nas notícias&lt;br /&gt;&lt;strong&gt;S&lt;/strong&gt; - Marca uma notícia com estrela&lt;br /&gt;&lt;strong&gt;Shift&lt;/strong&gt;+&lt;strong&gt;S&lt;/strong&gt; - Marca uma notícia para compartilhamento&lt;br /&gt;&lt;strong&gt;Shift&lt;/strong&gt;+&lt;strong&gt;A&lt;/strong&gt; - Marca todos os itens do canal atual como lidos&lt;br /&gt;&lt;strong&gt;Shift&lt;/strong&gt;+&lt;strong&gt;N &lt;/strong&gt;- Seleciona o próximo canal&lt;br /&gt;&lt;strong&gt;Shift&lt;/strong&gt;+&lt;strong&gt;P&lt;/strong&gt; - Seleciona o canal anterior&lt;br /&gt;&lt;strong&gt;Shift&lt;/strong&gt;+&lt;strong&gt;O&lt;/strong&gt; - Abre o canal selecionado&lt;br /&gt;&lt;strong&gt;G&lt;/strong&gt; + &lt;strong&gt;S&lt;/strong&gt; - Acessa os itens com estrela&lt;br /&gt;&lt;strong&gt;G,&lt;/strong&gt; seguido por &lt;strong&gt;Shift&lt;/strong&gt;+&lt;strong&gt;S&lt;/strong&gt; - Acessa os itens compartilhados&lt;br /&gt;&lt;br /&gt;Fonte : Info&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-6675938761380990295?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/6675938761380990295/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=6675938761380990295&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/6675938761380990295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/6675938761380990295'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/10/teclas-de-atalho-google-reader.html' title='Teclas de Atalho Google Reader'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-1316768701331706999</id><published>2009-08-21T08:45:00.000-07:00</published><updated>2009-08-21T08:46:53.238-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Frases'/><title type='text'>Frases Inesquecíveis</title><content type='html'>http://www.slideshare.net/atilareal/proverbios-verbetes-pre-apresentacao?type=powerpoint&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-1316768701331706999?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/1316768701331706999/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=1316768701331706999&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/1316768701331706999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/1316768701331706999'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/08/frases-inesqueciveis.html' title='Frases Inesquecíveis'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-4691440983376389103</id><published>2009-08-21T08:34:00.000-07:00</published><updated>2009-08-21T08:39:44.003-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lógica de Programação'/><title type='text'>Código Lógica de programação em Python</title><content type='html'>Faz uma função que lê 3 números do utilizador e imprime a quantidade de dígitos desse número.&lt;br /&gt;&lt;br /&gt;def tamanho(n):&lt;br /&gt; aux = 10&lt;br /&gt; cont = 1&lt;br /&gt; while 1:&lt;br /&gt;   if n &gt;= aux:&lt;br /&gt;     aux = aux*10&lt;br /&gt;     cont = cont + 1&lt;br /&gt;   else:&lt;br /&gt;     return cont&lt;br /&gt;&lt;br /&gt;def checa(n1):&lt;br /&gt; try:&lt;br /&gt;   n1 = int(n1)&lt;br /&gt; except ValueError:&lt;br /&gt;   print "Numero invalido!"&lt;br /&gt;   return&lt;br /&gt; else:&lt;br /&gt;   if n1 &lt; 0:&lt;br /&gt;     n1 = n1*-1&lt;br /&gt; print (tamanho(n1))&lt;br /&gt;n = raw_input()&lt;br /&gt;checa(n)&lt;br /&gt;n = raw_input()&lt;br /&gt;checa(n)&lt;br /&gt;n = raw_input()&lt;br /&gt;checa(n)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-4691440983376389103?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/4691440983376389103/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=4691440983376389103&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/4691440983376389103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/4691440983376389103'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/08/faz-uma-funcao-que-le-3-numeros-do.html' title='Código Lógica de programação em Python'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-7455275977584616405</id><published>2009-08-21T08:31:00.000-07:00</published><updated>2010-07-10T15:10:56.732-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Humor'/><title type='text'>Comandos Mágicos. Leia o Manual!</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_95CdBsNIDCk/SoV2h_gLiwI/AAAAAAAABfQ/A7p_SfmfGyk/s1600/nerdson170.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 492px; height: 710px;" src="http://2.bp.blogspot.com/_95CdBsNIDCk/SoV2h_gLiwI/AAAAAAAABfQ/A7p_SfmfGyk/s1600/nerdson170.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-7455275977584616405?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/7455275977584616405/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=7455275977584616405&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/7455275977584616405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/7455275977584616405'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/08/comandos-magicos-leia-o-manual.html' title='Comandos Mágicos. Leia o Manual!'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_95CdBsNIDCk/SoV2h_gLiwI/AAAAAAAABfQ/A7p_SfmfGyk/s72-c/nerdson170.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-7303424276389180890</id><published>2009-08-21T05:16:00.000-07:00</published><updated>2010-07-10T15:12:22.495-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Lógica de Programação'/><title type='text'>Código de Lógica de programação em Python</title><content type='html'>&lt;p  style="font-family:arial;"&gt;&lt;span style="font-size:130%;"&gt;Faz um programa que imprima: &lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;1&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;2 2&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;3 3 3&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt; .....&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;n n n n n n ... n&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic;font-family:arial;font-size:130%;"  &gt;Código:&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);font-family:arial;font-size:130%;"  &gt;#Função pirâmide&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;def&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;piramide&lt;/span&gt;(n):&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;   for i &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;in&lt;/span&gt; range(1,n+1):&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;       &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;print&lt;/span&gt; "%d "%(i)*(i-1)+"%d"%(i)&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 153, 0);font-family:arial;font-size:130%;"  &gt;#Testando a função com entrada do usuário&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;n= input()&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:130%;"  &gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;piramide&lt;/span&gt;(n)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;Explicando o Código:&lt;br /&gt;&lt;br /&gt;- A função input lê uma entrada de valor inteiro do usuário;&lt;br /&gt;- O comando for para n = 3 ter 3 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;incrementos&lt;/span&gt; começando de 1,&lt;br /&gt;ele tem que ir de 1 a 4, ou seja, de n a n+1;&lt;br /&gt;- O &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;print&lt;/span&gt; imprime a saída ao usuário onde há toda a lógica da pirâmide:&lt;br /&gt;* Ao imprimir a variável i até i-1 vezes&lt;br /&gt;* Quando i = 3 eu vou &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;imprir&lt;/span&gt; 3 (3-1) vezes que é 2 vezes&lt;br /&gt;* Já o ultimo comando na linha do &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;print&lt;/span&gt;: &lt;/span&gt;&lt;span style=";font-family:arial;font-size:100%;"  &gt;+"%d"%(i)&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-size:100%;"&gt;coloca o valor da variável i, concatenado com o valor&lt;br /&gt; já impresso no primeiro comando:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt; "%d "%(i)*(i-1)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style: italic; color: rgb(51, 51, 51);font-size:130%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-size:130%;" &gt;&lt;span style="color: rgb(255, 102, 102); font-weight: bold;"&gt;Teste a vontade e me avise se tiver algum erro!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 102, 102); font-weight: bold;font-size:130%;" &gt;Bons Estudos! E viva a programação!&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-7303424276389180890?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/7303424276389180890/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=7303424276389180890&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/7303424276389180890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/7303424276389180890'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/08/codigos-de-logica-de-programacao-em.html' title='Código de Lógica de programação em Python'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-8356981456593424990</id><published>2009-06-15T06:35:00.000-07:00</published><updated>2009-06-15T06:37:58.468-07:00</updated><title type='text'>Sobre Aprendizado</title><content type='html'>Conta-se que um pomposo e renomado  cientista, ao atravessar largo rio&lt;br /&gt;numa canoa, perguntou ao humilde canoeiro se ele entendia de astronomia.&lt;br /&gt;- Não, senhor - respondeu o trabalhador - em toda minha vida nunca ouvi&lt;br /&gt;falar esse nome.&lt;br /&gt;O cientista soberbo replicou:&lt;br /&gt;- Sinto muito que você tenha desperdiçado a quarta parte de sua vida. &lt;br /&gt;- Você sabe alguma coisa de matemática?&lt;br /&gt;O pobre homem sorriu, meneou a cabeça e respondeu-lhe:&lt;br /&gt;- Não!&lt;br /&gt;Então, o cientista tornou a dizer:&lt;br /&gt;- Lamentavelmente, você perdeu outra quarta parte de sua vida, meu&lt;br /&gt;amigo.&lt;br /&gt;Logo em seguida, perguntou pela terceira vez:&lt;br /&gt;- Sabe algo sobre geologia?&lt;br /&gt;- Não, nunca fui à escola - replicou o canoeiro.&lt;br /&gt;- Bem amigo...quase toda a sua vida foi mal empregada.&lt;br /&gt;&lt;br /&gt;No momento em que conversavam, a canoa bateu numa pedra, e o&lt;br /&gt;canoeiro, enquanto tirava a jaqueta  para nadar até a margem do rio,&lt;br /&gt;perguntou ao pomposo cientista:&lt;br /&gt;- O senhor sabe nadar?&lt;br /&gt;- Não – respondeu o sábio.&lt;br /&gt;- Sinto muito, o senhor desperdiçou toda a sua vida com as ciências e agora,&lt;br /&gt;em poucos minutos, a canoa se afundará”.&lt;br /&gt; &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Então aprenda tudo que puder e não ache que você é o dono do conhecimento tem sempre alguém que sabe algo que você não sabe. Aprendizado Colaborativo SEMPRE!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-8356981456593424990?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/8356981456593424990/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=8356981456593424990&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/8356981456593424990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/8356981456593424990'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/06/sobre-aprendizado.html' title='Sobre Aprendizado'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-2068170445281381191</id><published>2009-05-21T19:13:00.000-07:00</published><updated>2009-05-21T19:17:09.335-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Jogos'/><title type='text'>Jogos Free</title><content type='html'>Foram selecionados os melhores jogos Free da internet e colocados em um único Site aproveitem:&lt;br /&gt;&lt;a href="http://www.1up.com/do/feature?pager.offset=6&amp;amp;cId=3174065"&gt;http://www.1up.com/do/feature?pager.offset=6&amp;amp;cId=3174065&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Veja vídeo da olhar digital:&lt;br /&gt;&lt;object width="640" height="412"&gt;&lt;param name="movie" value="http://www.olhardigital.com.br/flashes/player_embed_wide?path_video=http://p.download.uol.com.br/olhardigital/PGM215/pgm215_cv_101_melhores_jogos.flv&amp;amp;player_width=640&amp;amp;player_height=380&amp;amp;tipo_player=normal&amp;amp;titulo_video=Os melhores jogos gratuitos da Web&amp;amp;current_url=http://olhardigital.uol.com.br/central_de_videos/video_wide.php?id_conteudo=8229?id_conteudo=8229"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.olhardigital.com.br/flashes/player_embed_wide?path_video=http://p.download.uol.com.br/olhardigital/PGM215/pgm215_cv_101_melhores_jogos.flv&amp;amp;player_width=640&amp;amp;player_height=380&amp;amp;tipo_player=normal&amp;amp;titulo_video=Os melhores jogos gratuitos da Web&amp;amp;current_url=http://olhardigital.uol.com.br/central_de_videos/video_wide.php?id_conteudo=8229?id_conteudo=8229" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="412"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-2068170445281381191?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/2068170445281381191/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=2068170445281381191&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/2068170445281381191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/2068170445281381191'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/05/jogos-free.html' title='Jogos Free'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-4278299220862942820</id><published>2009-05-20T11:40:00.000-07:00</published><updated>2009-05-20T11:46:43.404-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cursos'/><title type='text'>Curso INFO Flash CS3</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_wfok_cN-3xo/ShRP_Gdq5OI/AAAAAAAAAew/L2sk76hoQ-c/s1600-h/FLASH.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 114px;" src="http://1.bp.blogspot.com/_wfok_cN-3xo/ShRP_Gdq5OI/AAAAAAAAAew/L2sk76hoQ-c/s200/FLASH.JPG" alt="" id="BLOGGER_PHOTO_ID_5337979403826291938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Aprenda a desenvolver animações na internet com a mais nova versão do Flash(CS3) disponibilizada pela revista INFO em seu site:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://info.abril.com.br/dicas/cursos/flashcs3/curso.html"&gt;http://info.abril.com.br/dicas/cursos/flashcs3/curso.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-4278299220862942820?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/4278299220862942820/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=4278299220862942820&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/4278299220862942820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/4278299220862942820'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/05/curso-info-flash-cs3.html' title='Curso INFO Flash CS3'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_wfok_cN-3xo/ShRP_Gdq5OI/AAAAAAAAAew/L2sk76hoQ-c/s72-c/FLASH.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-3407283744852634036</id><published>2009-05-09T12:12:00.001-07:00</published><updated>2009-05-09T12:54:20.007-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Engenharia de Software'/><title type='text'>Profissionais que fazem parte de cada etapa de Desenvolvimento</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Gerente de Projeto&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Coordenador de atividades do projeto. Responsabilidades: orçamento, tempo de desenvolvimento, processo de desenvolvimento, cronograma de atividades, mão de obra especializada, recursos de hardware e software.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Analistas&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Entender o domínio do negócio e traduzir em requisitos do sistema. Ele quem define os requisitos depois de uma avaliação com cliente.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Projetistas&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Avaliar as alternativas de soluções do problema antes feitas pela análise, gerando uma especificação de resolução computacional bem detalhada. Toda tecnologia usada é detalhada por esse profissional.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Programadores&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Quem codifica o projeto.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Clientes&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Contratante&lt;/li&gt;&lt;li&gt;Usuário do sistema.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Especialistas de domínio&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Conhecedor do negócio de domínio do sistema.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Grupos de Avaliação em qualidade&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Garantem a qualidade do produto. Ex: Desempenho, confiabilidade.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Obs. Diferença de &lt;span style="font-style: italic;"&gt;Analista de negócios&lt;/span&gt; para &lt;span style="font-style: italic;"&gt;Analista de sistemas&lt;/span&gt;&lt;br /&gt;O &lt;span style="font-style: italic; font-weight: bold;"&gt;Analista de negócios&lt;/span&gt; &lt;span class="postbody"&gt;é o cara que conhece o fluxo do negócio&lt;/span&gt; e como aplica-lo a TI.&lt;br /&gt;O &lt;span style="font-weight: bold;"&gt;Analista de sistemas&lt;/span&gt; somente traduz as necessidades do cliente em produto de software.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-3407283744852634036?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/3407283744852634036/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=3407283744852634036&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/3407283744852634036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/3407283744852634036'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/05/profissionais-que-fazem-parte-de-cada.html' title='Profissionais que fazem parte de cada etapa de Desenvolvimento'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-1224935709116046074</id><published>2009-05-09T11:24:00.000-07:00</published><updated>2009-05-09T17:13:07.491-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Engenharia de Software'/><title type='text'>Etapas Processo de Desenvolvimento de Software</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Levantamento de Requisitos&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Compreender o domínio do problema dentro das necessidades do cliente e suas restrições. Algumas técnicas: entrevista, questionário, leituras de referências como livros ou documentação de outros sistemas da empresa, etc.  Os requisitos são &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;particionados&lt;/span&gt; em dois:&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;Requisitos Funcionais - Funcionalidades do sistema. &lt;span style="font-style: italic;"&gt;Ex: controlar estoque de quantidade de leite em uma fazenda.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Requisitos Não-Funcionais - Qualidades em relação a funcionalidade. &lt;span style="font-style: italic;"&gt;Ex: Interface: Mensagens amigáveis. &lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;Análise&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Estudo dos requisitos para obter a melhor solução sem se preocupar com tecnologias. Sendo desenvolvido um modelo(documento,fluxograma) para o usuário validar e verificar se atende aos requisitos.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Projeto&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Foco no funcionamento do sistema atendendo os requisitos, e as tecnologias usadas. Definido aspectos como &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;arquitetura&lt;/span&gt;, linguagem de programação, banco de dados, etc.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Implementação&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Codificação do &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;projeto&lt;/span&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Testes&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Busca por erros tanto de implementação quanto de especificação.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Implantação&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Empacotamento, distribuição e instalação do sistema. Onde os manuais e &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;treinamentos&lt;/span&gt; são &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_5"&gt;essenciais&lt;/span&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-1224935709116046074?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/1224935709116046074/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=1224935709116046074&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/1224935709116046074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/1224935709116046074'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/05/etapas-processo-de-desenvolvimento-de.html' title='Etapas Processo de Desenvolvimento de Software'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-8549404935637230499</id><published>2009-04-29T06:11:00.000-07:00</published><updated>2009-04-29T13:01:17.552-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Guia Rápido comando Kill</title><content type='html'>&lt;span style="font-style: italic;"&gt;vou mostrar com exemplo, procurar o &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;PID&lt;/span&gt; do &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;pidgin&lt;/span&gt;.&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;root@ubuntu:~# &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" class="blsp-spelling-error" id="SPELLING_ERROR_2" &gt;ps&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt; -e&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;PID&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;TTY&lt;/span&gt;          &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;TIME&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;CMD&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;51 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;kintegrityd&lt;/span&gt;/0&lt;br /&gt;52 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;kintegrityd&lt;/span&gt;/1&lt;br /&gt;54 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;kblockd&lt;/span&gt;/0&lt;br /&gt;55 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;kblockd&lt;/span&gt;/1&lt;br /&gt;224 ?        00:00:00 aio/1&lt;br /&gt;1151 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;ksuspend&lt;/span&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;usbd&lt;/span&gt;&lt;br /&gt;4825 ?        00:00:00 console-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;kit&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;dae&lt;/span&gt;&lt;br /&gt;4826 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;hald&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;runner&lt;/span&gt;&lt;br /&gt;4908 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;hald&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;addon&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;inpu&lt;/span&gt;&lt;br /&gt;4921 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;hald&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;addon&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;cpuf&lt;/span&gt;&lt;br /&gt;4922 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;hald&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;addon&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;acpi&lt;/span&gt;&lt;br /&gt;4950 ?        00:00:03 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;hald&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;addon&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;stor&lt;/span&gt;&lt;br /&gt;4982 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;bluetoothd&lt;/span&gt;&lt;br /&gt;4988 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;btaddconn&lt;/span&gt;&lt;br /&gt;4989 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;btdelconn&lt;/span&gt;&lt;br /&gt;5021 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;krfcommd&lt;/span&gt;&lt;br /&gt;5044 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;NetworkManager&lt;/span&gt;&lt;br /&gt;5054 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_34"&gt;wpa&lt;/span&gt;_&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_35"&gt;supplicant&lt;/span&gt;&lt;br /&gt;5056 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_36"&gt;nm&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_37"&gt;system&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_38"&gt;setti&lt;/span&gt;&lt;br /&gt;5082 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_39"&gt;gdm&lt;/span&gt;&lt;br /&gt;5085 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_40"&gt;gdm&lt;/span&gt;&lt;br /&gt;5089 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_41"&gt;tty&lt;/span&gt;7     00:08:18 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_42"&gt;Xorg&lt;/span&gt;&lt;br /&gt;5581 ?        00:00:02 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_43"&gt;notification&lt;/span&gt;-da&lt;br /&gt;5774 ?        00:23:26 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_44"&gt;firefox&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; 6919 ?        00:00:24 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_45"&gt;pidgin&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;7141 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_46"&gt;dbus&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_47"&gt;launch&lt;/span&gt;&lt;br /&gt;7142 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_48"&gt;dbus&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_49"&gt;daemon&lt;/span&gt;&lt;br /&gt;8785 ?        00:00:03 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_50"&gt;gcalctool&lt;/span&gt;&lt;br /&gt;9047 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_51"&gt;gnome&lt;/span&gt;-terminal&lt;br /&gt;9049 ?        00:00:00 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_52"&gt;gnome&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_53"&gt;pty&lt;/span&gt;-&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_54"&gt;helpe&lt;/span&gt;&lt;br /&gt;...&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;Esse número ao lado é o &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_55"&gt;pid&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;br /&gt;Só mostrando o processo &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" class="blsp-spelling-error" id="SPELLING_ERROR_56" &gt;pidgin&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;:&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;root@ubuntu:~# &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_57"&gt;ps&lt;/span&gt; -e | &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_58"&gt;grep&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_59"&gt;pidgin&lt;/span&gt;&lt;br /&gt;6919 ?        00:00:24 &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_60"&gt;pidgin&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Para matar o processo:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;root@ubuntu:~# &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_61"&gt;kill&lt;/span&gt; -9 &lt;pid&gt;&lt;/pid&gt;&lt;br /&gt;Neste caso:&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;root@ubuntu:~#&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_62"&gt;Kill&lt;/span&gt; - 9 6919&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;O -9 é para forçar o fechamento do processo. Sem o -9 o processo só é encerrado se estiver em funcionamento normal. Como na maioria das vezes matamos um processo por mal funcionamento o uso do -9 é &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_63"&gt;obrigatório&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;O uso do Killall é para quando você tem mais de um processo do mesmo e quer fechar todos. Se eu tivesse dois pidgins abertos usaria o &lt;span style="font-weight: bold;font-size:130%;" &gt;#&lt;span style="font-size:100%;"&gt;killall -9 pidgin&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Obs:&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;#&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Killall -9 &lt;nome&gt;&lt;/nome&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;nome do processo&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;#Kill - 9 &lt;pid&gt;&lt;pid&gt;&lt;/pid&gt;&lt;/pid&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;pid&gt;&lt;/pid&gt;&lt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;PID&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-8549404935637230499?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/8549404935637230499/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=8549404935637230499&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/8549404935637230499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/8549404935637230499'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2009/04/guia-rapido-comando-kill.html' title='Guia Rápido comando Kill'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2695903651278858292.post-6671905940205846137</id><published>2008-05-14T15:31:00.000-07:00</published><updated>2009-05-09T12:11:32.674-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Olá'/><title type='text'>Ola Mundo</title><content type='html'>Bom galera esse é meu primeiro post e quero deixar bem claro que esse blog é para aprendizado autodidata meu e seu sobre computação caro leitor, então sem mais mãos a obra!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2695903651278858292-6671905940205846137?l=aprendendosozinho.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aprendendosozinho.blogspot.com/feeds/6671905940205846137/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2695903651278858292&amp;postID=6671905940205846137&amp;isPopup=true' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/6671905940205846137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2695903651278858292/posts/default/6671905940205846137'/><link rel='alternate' type='text/html' href='http://aprendendosozinho.blogspot.com/2008/05/ola-mundo.html' title='Ola Mundo'/><author><name>Águia</name><uri>http://www.blogger.com/profile/03446595562617071957</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://1.bp.blogspot.com/_wfok_cN-3xo/SLWVQcCImYI/AAAAAAAAABE/bFa1GrKiGjg/S220/eric.jpg'/></author><thr:total>0</thr:total></entry></feed>
