Congratulations!

[Valid Atom 1.0] This is a valid Atom 1.0 feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://www.obloggueiro.pt/feeds/posts/default

  1. <?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:blogger='http://schemas.google.com/blogger/2008' 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-1555411709787228843</id><updated>2018-08-29T16:18:42.092+01:00</updated><category term="Videos"/><category term="Noticias"/><category term="linux"/><category term="Fails"/><category term="Programação"/><category term="Vala"/><category term="Famosos"/><category term="Outros"/><category term="Estados emocionais"/><category term="Imagens"/><category term="windows"/><category term="tutoriais"/><category term="Games"/><category term="Passatempos"/><title type='text'>O Bloggueiro</title><subtitle type='html'>Blog pessoal, onde vou partilhar algumas coisas.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>50</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-1057602128587427114</id><published>2015-03-28T11:00:00.000+00:00</published><updated>2015-03-28T11:00:02.196+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fails"/><category scheme="http://www.blogger.com/atom/ns#" term="Outros"/><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>Os 3 Gandulos: 3ª PARTE</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Era uma vez 3 Gandulos em Evry, França.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;E o resultado é este..............&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://i.ytimg.com/vi/CTEhU1g5hTo/0.jpg&quot; frameborder=&quot;0&quot; height=&quot;330&quot; src=&quot;http://www.youtube.com/embed/CTEhU1g5hTo?feature=player_embedded&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-s7KsBWMb4Rg/VRX48DnsrmI/AAAAAAAAAp8/geVIEsAfelw/s1600/Capturar.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-s7KsBWMb4Rg/VRX48DnsrmI/AAAAAAAAAp8/geVIEsAfelw/s1600/Capturar.PNG&quot; height=&quot;195&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/1057602128587427114/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2015/03/os-3-gandulos-3-parte.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/1057602128587427114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/1057602128587427114'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2015/03/os-3-gandulos-3-parte.html' title='Os 3 Gandulos: 3ª PARTE'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/CTEhU1g5hTo/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-273795589642943588</id><published>2015-02-01T00:31:00.004+00:00</published><updated>2015-02-01T00:34:58.347+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Famosos"/><category scheme="http://www.blogger.com/atom/ns#" term="Imagens"/><category scheme="http://www.blogger.com/atom/ns#" term="Noticias"/><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>Atriz Portuguesa como nunca ninguém a viu!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-7kfP45A4RWw/VM1urAvhKTI/AAAAAAAAAok/-lsRWgRn0pw/s1600/Captura%2Bde%2Becr%C3%A3%2B-%2B01-02-2015%2B-%2B00%3A05%3A16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-7kfP45A4RWw/VM1urAvhKTI/AAAAAAAAAok/-lsRWgRn0pw/s1600/Captura%2Bde%2Becr%C3%A3%2B-%2B01-02-2015%2B-%2B00%3A05%3A16.png&quot; height=&quot;176&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: right;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-C_0JSkTX7aM/VM1urZwvwJI/AAAAAAAAAoo/OIJ5bTWzEUI/s1600/Captura%2Bde%2Becr%C3%A3%2B-%2B01-02-2015%2B-%2B00%3A06%3A14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-C_0JSkTX7aM/VM1urZwvwJI/AAAAAAAAAoo/OIJ5bTWzEUI/s1600/Captura%2Bde%2Becr%C3%A3%2B-%2B01-02-2015%2B-%2B00%3A06%3A14.png&quot; height=&quot;266&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-bSdEDw9M2tk/VM1ure0w2uI/AAAAAAAAAos/9_ax4OZZLdA/s1600/Captura%2Bde%2Becr%C3%A3%2B-%2B01-02-2015%2B-%2B00%3A07%3A33.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-bSdEDw9M2tk/VM1ure0w2uI/AAAAAAAAAos/9_ax4OZZLdA/s1600/Captura%2Bde%2Becr%C3%A3%2B-%2B01-02-2015%2B-%2B00%3A07%3A33.png&quot; height=&quot;220&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Deixo-vos aqui um vídeo da sessão fotográfica da atriz portuguesa, &lt;b&gt;Bárbara Norton de Matos&lt;/b&gt;, para a revista MAXMIM!&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Deixem a vossa opinião nos comentários a baixo.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;YOUTUBE-iframe-video&quot; data-thumbnail-src=&quot;https://ytimg.googleusercontent.com/vi/cWc3RlqAiTQ/0.jpg&quot; frameborder=&quot;0&quot; height=&quot;330&quot; src=&quot;http://www.youtube.com/embed/cWc3RlqAiTQ?feature=player_embedded&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/273795589642943588/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2015/02/atriz-portuguesa-como-nunca-ninguem-viu.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/273795589642943588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/273795589642943588'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2015/02/atriz-portuguesa-como-nunca-ninguem-viu.html' title='Atriz Portuguesa como nunca ninguém a viu!'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-7kfP45A4RWw/VM1urAvhKTI/AAAAAAAAAok/-lsRWgRn0pw/s72-c/Captura%2Bde%2Becr%C3%A3%2B-%2B01-02-2015%2B-%2B00%3A05%3A16.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-5975232524818422429</id><published>2015-01-21T18:00:00.000+00:00</published><updated>2015-01-21T18:00:00.595+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="tutoriais"/><title type='text'>Limpar a cache de memória e agendar no cron do Linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;[How To] Limpar a cache de memória e agendar no cron do Linux&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/--dfyzcpaS7A/VL_NToWZYqI/AAAAAAAAAoU/EVnCnQZOEnI/s1600/crontab.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/--dfyzcpaS7A/VL_NToWZYqI/AAAAAAAAAoU/EVnCnQZOEnI/s1600/crontab.png&quot; height=&quot;162&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A memória em cache no Linux é usada para acelerar as respostas do sistema. Porém acontece de a maquina precisar utilizar os recursos e acaba por não conseguir utilizar os recursos por causa da cache.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Neste &lt;b&gt;tutorial&lt;/b&gt; vou mostrar como libertar a memória cache do linux sem precisar reiniciar a máquina.&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;OBS 1:&lt;/b&gt; Para seguir este tutorial deve estar como usuário &lt;b&gt;root&lt;/b&gt; no seu &lt;b&gt;Terminal de Comandos&lt;/b&gt;.&lt;/blockquote&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Para limpar a &lt;b&gt;memória cache&lt;/b&gt; use o comando abaixo:&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;sync; echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Agora vamos agendar um &lt;b&gt;script&lt;/b&gt; que faça esse trabalho de tempos em tempos no &lt;b&gt;crontab&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Crie o script (&lt;i&gt;memorycache.sh&lt;/i&gt;) com o &lt;b&gt;nano&lt;/b&gt; ( &lt;i&gt;ou podes usar o editor grafico como o &lt;b&gt;gedit&lt;/b&gt;&lt;/i&gt; ):&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;No meu caso usei o &lt;b&gt;Gedit&lt;/b&gt;:&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;[email protected]_linux:# gedit memorycache.sh&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Dentro do ficheiro que acabamos de criar vamos escrever o seguinte comando (&lt;i&gt;podemos fazer &lt;b&gt;Copy&amp;amp;Past&lt;/b&gt;&lt;/i&gt;):&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;#!/bin/sh&lt;br /&gt;sync; echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Agora temos de salvar o ficheiro e sair.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Após salvar o script temos de dar permissão &quot;&lt;b&gt;755&lt;/b&gt;&quot;, para isso vamos dar os seguintes comandos, (&lt;i&gt;Continuando como usuário &lt;b&gt;root&lt;/b&gt;&lt;/i&gt;):&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;cd /root/&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;[email protected]_linux:# chmod 755 memorycache.sh&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Agora vamos editar o &lt;b&gt;Crontab&lt;/b&gt; para definir-mos de quanto em quanto tempo será feita a limpeza da &lt;b&gt;Memory Cache&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Para isso vamos usar o seguinte comando:&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;[email protected]_linux:# crontab -e&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Depois de dar-mos o comando a cima, vamos até ao final do ficheiro, usamos o &lt;b&gt;page down&lt;/b&gt; para o efeito.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Adicionamos no final o seguinte comando para agendar a limpeza de &lt;b&gt;hora a hora&lt;/b&gt; (&lt;i&gt;control + shift + v&lt;/i&gt;):&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;# Limpar cache de hora a hora&lt;br /&gt;0 * * * * /root/memorycache.sh&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Ou para agendar de &lt;b&gt;30 em 30 minutos&lt;/b&gt;:&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;# Limpar cache de 30 em 30 minutos&lt;br /&gt;*/30 * * * * /root/memorycache.sh&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;OBS 2:&lt;/b&gt; Para quem não sabe o que é o &lt;b&gt;Crontab&lt;/b&gt;, fica aqui um link onde podemos ler um artigo que explica o que é o Crontab:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;http://www.infowester.com/linuxcron.php&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Usando cron e crontab para agendar tarefas&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Fontes deste &lt;b&gt;[How To]&lt;/b&gt;:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://linuxecompanhia.foruns.com.pt/&quot; target=&quot;_blank&quot;&gt;Linux&amp;amp;Companhia&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;a href=&quot;http://www.defendendoolinux.in/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Defendendo o Linux&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/5975232524818422429/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2015/01/limpar-cache-de-memoria-e-agendar-no.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5975232524818422429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5975232524818422429'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2015/01/limpar-cache-de-memoria-e-agendar-no.html' title='Limpar a cache de memória e agendar no cron do Linux'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/--dfyzcpaS7A/VL_NToWZYqI/AAAAAAAAAoU/EVnCnQZOEnI/s72-c/crontab.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-8290513248266347310</id><published>2014-06-07T10:00:00.000+01:00</published><updated>2014-06-07T10:00:00.977+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Programação"/><category scheme="http://www.blogger.com/atom/ns#" term="Vala"/><title type='text'>Criar uma Barras de Ferramentas [Vala]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;-A barra de ferramentas fornece um conjunto bem organizado de ícones/botões para a execução de vários comandos ou ações. Ao contrário de um menu que também é utilizado para a execução de ações, as barras de ferramentas estão sempre visíveis para o usuário e de fácil acesso.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;As barras de ferramentas podem ser utilizadas quando há várias ações que precisam ser apresentados para o usuário. Em vez de fornecer um botão para cada ação, uma barra de ferramentas pode ser usado em seu lugar.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;Criar uma barra de ferramentas;&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Salve o seguinte código como &lt;b&gt;app2.vala&lt;/b&gt;&lt;/div&gt;&lt;blockquote style=&quot;text-align: justify;&quot;&gt;using Gtk;&lt;br /&gt;class MainWindow : Window &amp;nbsp;{&lt;br /&gt;&amp;nbsp; public static int main (string[] args)&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; Gtk.init(ref args); &amp;nbsp;//Gtk intialization&lt;br /&gt;&amp;nbsp; &amp;nbsp; var window = new MainWindow (); //Create a window&lt;br /&gt;&amp;nbsp; &amp;nbsp; window.destroy.connect (Gtk.main_quit); //Quit app after window is closed&lt;br /&gt;&amp;nbsp; &amp;nbsp; window.show_all (); //Makes all widgets visible&lt;br /&gt;&amp;nbsp; &amp;nbsp; Gtk.main(); //Start the main loop&lt;br /&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; public MainWindow()&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.title = &quot;Toolbars&quot;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.set_default_size (250, 60);&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.window_position = WindowPosition.CENTER;&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.destroy.connect(Gtk.main_quit); //Quit app when window is closed&lt;br /&gt;&amp;nbsp; &amp;nbsp; // vboxMain&lt;br /&gt;&amp;nbsp; &amp;nbsp; var vboxMain = new Box (Orientation.VERTICAL, 0);&lt;br /&gt;&amp;nbsp; &amp;nbsp; add (vboxMain);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Create Toolbar&lt;br /&gt;&amp;nbsp; &amp;nbsp; var toolbar = new Gtk.Toolbar ();&lt;br /&gt;&amp;nbsp; &amp;nbsp; toolbar.toolbar_style = ToolbarStyle.BOTH_HORIZ;&lt;br /&gt;&amp;nbsp; &amp;nbsp; toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);&lt;br /&gt;&amp;nbsp; &amp;nbsp; vboxMain.pack_start (toolbar, false, false, 0);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Create Toolbar buttons&lt;br /&gt;&amp;nbsp; &amp;nbsp; var btnAdd = new Gtk.ToolButton.from_stock (Gtk.Stock.ADD);&lt;br /&gt;&amp;nbsp; &amp;nbsp; btnAdd.is_important = true;&lt;br /&gt;&amp;nbsp; &amp;nbsp; toolbar.add (btnAdd);&lt;br /&gt;&amp;nbsp; &amp;nbsp; var btnRemove = new Gtk.ToolButton.from_stock (Gtk.Stock.REMOVE);&lt;br /&gt;&amp;nbsp; &amp;nbsp; toolbar.add (btnRemove);&lt;br /&gt;&amp;nbsp; &amp;nbsp; var btnClear = new Gtk.ToolButton.from_stock (Gtk.Stock.CLEAR);&lt;br /&gt;&amp;nbsp; &amp;nbsp; toolbar.add (btnClear);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Create a treeview showing a list of Items&lt;br /&gt;&amp;nbsp; &amp;nbsp; var treeview = new TreeView();&lt;br /&gt;&amp;nbsp; &amp;nbsp; treeview.insert_column_with_attributes (-1, &quot;Item&quot;, new CellRendererText(), &quot;text&quot;, 0);&lt;br /&gt;&amp;nbsp; &amp;nbsp; // Add the treeview to a scrollable window&lt;br /&gt;&amp;nbsp; &amp;nbsp; var scrolledwin = new ScrolledWindow(treeview.get_hadjustment (), treeview.get_vadjustment ());&lt;br /&gt;&amp;nbsp; &amp;nbsp; scrolledwin.set_shadow_type (ShadowType.ETCHED_IN);&lt;br /&gt;&amp;nbsp; &amp;nbsp; scrolledwin.add (treeview);&lt;br /&gt;&amp;nbsp; &amp;nbsp; scrolledwin.set_size_request (-1, 150);&lt;br /&gt;&amp;nbsp; &amp;nbsp; vboxMain.pack_start (scrolledwin, true, true, 0);&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;}&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;Vamos &lt;b&gt;compilá-lo&lt;/b&gt; com o seguinte comando:&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;valac --pkg gtk+-3.0 app2.vala -o app2&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;Agora para o executar vamos abrir um Terminal no lucal onde temos o Ficheiro &lt;b&gt;app2.vala&lt;/b&gt; e executa-lo com o seguinte comando;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;./app2&lt;/blockquote&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-dzf8iBoqWxM/U5JdifEt-FI/AAAAAAAAAmA/QyxsR0SzGsk/s1600/Captura+de+ecr%C3%A3+-+07-06-2014+-+01:31:19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-dzf8iBoqWxM/U5JdifEt-FI/AAAAAAAAAmA/QyxsR0SzGsk/s1600/Captura+de+ecr%C3%A3+-+07-06-2014+-+01:31:19.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Vamos agora adicionar um botão acrescentando o seguinte código;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;var btnAdd = new Gtk.ToolButton.from_stock (Gtk.Stock.ADD);&lt;br /&gt;btnAdd.is_important = true;&lt;br /&gt;toolbar.add (btnAdd);&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Criamos o botão da barra de ferramentas usando o construtor &lt;b&gt;ToolButton.from_stock ()&lt;/b&gt;. Esse construtor cria um botão com um &lt;b&gt;ícone padrão&lt;/b&gt; e &lt;b&gt;texto padrão&lt;/b&gt;. O ícone é definido a partir do tema de ícones do sistema e que o texto é definido com base no idioma do sistema. O ícone e o texto também podem ser configurados manualmente.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;Vamos definir o estilo;&lt;/h4&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;toolbar.toolbar_style = ToolbarStyle.BOTH_HORIZ;&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;ToolbarStyle.ICONS&lt;/b&gt; - Somente os ícones são exibidos.&lt;/li&gt;&lt;li&gt;&lt;b&gt;ToolbarStyle.TEXT&lt;/b&gt; - Somente os rótulos são exibidos.&lt;/li&gt;&lt;li&gt;&lt;b&gt;ToolbarStyle.BOTH&lt;/b&gt; - Rótulo será exibido verticalmente abaixo do ícone para todos os botões da barra de ferramentas.&lt;/li&gt;&lt;li&gt;&lt;b&gt;ToolbarStyle.BOTH_HORIZ&lt;/b&gt; (&lt;i&gt;Recomendado&lt;/i&gt;) - Rótulo será exibido horizontalmente para a direita do ícone. Etiqueta é exibida somente se a propriedade &quot;&lt;b&gt;is_important&lt;/b&gt;&quot; é verdadeiro para o &lt;b&gt;ToolButton&lt;/b&gt;. Esta propriedade tem de ser ajustada manualmente para os botões que devem mostrar o rótulo.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;Vamos agora especificar os botões importantes;&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Defina o &lt;b&gt;is_important&lt;/b&gt; propriedade para &lt;b&gt;TRUE&lt;/b&gt; para todos os botões da barra de ferramentas que são importantes. &lt;b&gt;Labels&lt;/b&gt; será exibido para esses itens quando o estilo da barra de ferramentas é &lt;b&gt;BOTH_HORIZ&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;Agora definimos o fundo;&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;GTK3&lt;/b&gt; tem uma opção para especificar se uma barra de ferramentas em particular é a barra de ferramentas principal numa janela. A barra de ferramentas principal será &lt;b&gt;highlighed&lt;/b&gt; com um agradável efeito de fundo, se o tema &lt;b&gt;GTK&lt;/b&gt; suportar o estilo.&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR);&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Por favor, note que todos os temas &lt;b&gt;GTK3&lt;/b&gt; não suportam esta propriedade.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: justify;&quot;&gt;Colocar botões à direita;&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Adicionar um separador e definir o empate e expandir as propriedades como mostrado abaixo. Todos os itens adicionados após o separador serão colocados no lado direito da barra de ferramentas.&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: left;&quot;&gt;var separator = new Gtk.SeparatorToolItem();&lt;br /&gt;separator.set_draw (false);&lt;br /&gt;separator.set_expand (true);&lt;br /&gt;toolbar.add (separator);&lt;/blockquote&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: left;&quot;&gt;var btnSettings = new Gtk.ToolButton.from_stock&lt;br /&gt;(Gtk.Stock.PREFERENCES);&lt;br /&gt;toolbar.add (btnSettings);&lt;/blockquote&gt;&amp;nbsp;A imagem que se segue, mostra este ultimo &lt;b&gt;botão&lt;/b&gt; adicionado a &lt;b&gt;Barra de Ferramentas&lt;/b&gt;;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-8YZ53xEMwu8/U5JsDnjQYJI/AAAAAAAAAmQ/kG3VscCFjZ0/s1600/Captura+de+ecr%C3%A3+-+07-06-2014+-+02:32:14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-8YZ53xEMwu8/U5JsDnjQYJI/AAAAAAAAAmQ/kG3VscCFjZ0/s1600/Captura+de+ecr%C3%A3+-+07-06-2014+-+02:32:14.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Fonte;&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://www.teejeetech.in/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;TeeJee Tech&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Deixem os vossos comentários a respeito deste artigo.&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/8290513248266347310/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2014/06/criar-uma-barras-de-ferramentas-vala.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/8290513248266347310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/8290513248266347310'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2014/06/criar-uma-barras-de-ferramentas-vala.html' title='Criar uma Barras de Ferramentas [Vala]'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-dzf8iBoqWxM/U5JdifEt-FI/AAAAAAAAAmA/QyxsR0SzGsk/s72-c/Captura+de+ecr%C3%A3+-+07-06-2014+-+01:31:19.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-4250554913300886209</id><published>2014-06-03T21:49:00.000+01:00</published><updated>2014-06-03T21:54:53.792+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fails"/><category scheme="http://www.blogger.com/atom/ns#" term="Noticias"/><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>O preço da Arrogância!!!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Um usuário do Facebook partilhou no seu mural um video onde podemos ouvir uma transmissão de rádio entre um &lt;b&gt;Navio da Marinha Americana&lt;/b&gt; e o &lt;b&gt;Noroeste de Espanha&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Por esta eles não esperavam!!!&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;E depois só dizem &quot;&lt;b&gt;OK, recebido. Desligo.&lt;/b&gt;&quot;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div id=&quot;fb-root&quot;&gt;&lt;/div&gt;&lt;script&gt;(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = &quot;//connect.facebook.net/pt_PT/all.js#xfbml=1&quot;; fjs.parentNode.insertBefore(js, fjs); }(document, &#39;script&#39;, &#39;facebook-jssdk&#39;));&lt;/script&gt; &lt;br /&gt;&lt;div class=&quot;fb-post&quot; data-href=&quot;https://www.facebook.com/photo.php?v=10152863201664838&quot; data-width=&quot;466&quot;&gt;&lt;div class=&quot;fb-xfbml-parse-ignore&quot;&gt;&lt;a href=&quot;https://www.facebook.com/photo.php?v=10152863201664838&quot;&gt;Publicação&lt;/a&gt; de &lt;a href=&quot;https://www.facebook.com/celsoamaral&quot;&gt;Celso Carvalho Do Amaral&lt;/a&gt;.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-ruzd_Q0rGJE/U442CNQPOCI/AAAAAAAAAlw/1bp4DKMuh94/s1600/Captura+de+ecr%C3%A3+-+03-06-2014+-+21:53:48.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-ruzd_Q0rGJE/U442CNQPOCI/AAAAAAAAAlw/1bp4DKMuh94/s1600/Captura+de+ecr%C3%A3+-+03-06-2014+-+21:53:48.png&quot; height=&quot;228&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Deixem os vossos comentários coma vossa opinião. &lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/4250554913300886209/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2014/06/o-preco-da-arrogancia.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4250554913300886209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4250554913300886209'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2014/06/o-preco-da-arrogancia.html' title='O preço da Arrogância!!!'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-ruzd_Q0rGJE/U442CNQPOCI/AAAAAAAAAlw/1bp4DKMuh94/s72-c/Captura+de+ecr%C3%A3+-+03-06-2014+-+21:53:48.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-5449441353724649261</id><published>2014-06-02T18:00:00.000+01:00</published><updated>2014-06-02T18:00:02.914+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Programação"/><category scheme="http://www.blogger.com/atom/ns#" term="Vala"/><title type='text'>[Vala] Usando makefiles com Geany</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator tr_bq&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-jjTN6H8HVQA/U4TJb5b8QJI/AAAAAAAAAkA/ffWnUG3Oc1Q/s1600/Imagem+1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-jjTN6H8HVQA/U4TJb5b8QJI/AAAAAAAAAkA/ffWnUG3Oc1Q/s1600/Imagem+1.png&quot; height=&quot;253&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;No último artigo aprendemos como &lt;b&gt;configurar Geany para compilar as nossas aplicações Vala&lt;/b&gt;. Agora vamos ver como podemos &lt;b&gt;criar um makefile para a construção de todo o projeto&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;O comando [&lt;b&gt;Valac &quot;% f&quot;&lt;/b&gt;] que nós atribuímos ao botão &quot;&lt;b&gt;Gerar&lt;/b&gt;&quot; no artigo anterior só funciona no arquivo atual que está aberto no editor. Isso é suficiente se o projeto tiver um único arquivo fonte &quot;&lt;b&gt;.vala&lt;/b&gt;&quot;. No entanto, a maioria dos projetos geralmente consistem de vários arquivos de origem e precisamos de uma forma de compilar e vincular todos os arquivos para gerar o executável final.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Este é o lugar onde o &quot;&lt;b&gt;makefiles&lt;/b&gt;&quot; entra em cena. &quot;&lt;b&gt;Make&lt;/b&gt;&quot; é um utilitário Unix clássico que é usado para a construção de arquivos executáveis ​​a partir do código fonte. Ele lê instruções de um makefile que contém comandos para a construção e instalação do projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A execução do comando &quot;&lt;b&gt;make&lt;/b&gt;&quot; do diretório do projeto irá construir o projeto usando os comandos no &quot;&lt;b&gt;makefile&lt;/b&gt;&quot;. Ele também pode ser usado para instalar e desinstalar o arquivo executável (&lt;i&gt;e arquivos relacionados&lt;/i&gt;).&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Criando um makefile;&lt;/b&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Vamos criar um makefile para o nosso projeto. Vamos usar o mesmo exemplo que usamos no artigo anterior.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Adicione um novo arquivo de texto para o projeto e cole o seguinte texto:&lt;/div&gt;&lt;blockquote style=&quot;text-align: justify;&quot;&gt;all:&lt;br /&gt;&amp;nbsp; &amp;nbsp; valac --pkg gtk+-3.0 *.vala -o app1&lt;br /&gt;clean:&lt;br /&gt;&amp;nbsp; &amp;nbsp; rm -rf *.o app1&lt;br /&gt;install:&lt;br /&gt;&amp;nbsp; &amp;nbsp; cp -f app1 /usr/bin&lt;br /&gt;uninstall:&lt;br /&gt;&amp;nbsp; &amp;nbsp; rm -f /usr/bin/app1&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Guarde-o com o nome do arquivo &quot;&lt;b&gt;makefile&lt;/b&gt;&quot; na pasta do projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A seção &quot;&lt;b&gt;all&lt;/b&gt;&quot; contém os comandos para a construção do projeto. Nós simplesmente vamos executar o compilador &lt;b&gt;Valac&lt;/b&gt; para elaboração do arquivo &lt;b&gt;.vala&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A seção &quot;&lt;b&gt;install&lt;/b&gt;&quot; contém comandos para instalar o aplicativo. Vamos usar o comando &quot;&lt;b&gt;cp&lt;/b&gt;&quot; para instalar o arquivo executável para o sistema pasta &quot;&lt;b&gt;/usr/bin&lt;/b&gt;&quot;. Arquivos colocados nessa pasta estão disponíveis para todos os usuários e podem ser executados a partir de qualquer diretório, digitando o nome do executável em uma janela de terminal.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A seção &quot;&lt;b&gt;uninstall&lt;/b&gt;&quot; contém comandos para desinstalar o aplicativo. Vamos usar o comando &quot;&lt;b&gt;rm&lt;/b&gt;&quot; para remover o arquivo executável no diretório &quot;&lt;b&gt;/usr/bin&lt;/b&gt;&quot;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Teste o makefile no Terminal;&lt;/b&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Abra uma janela de terminal (&lt;b&gt;CTRL + ALT + T&lt;/b&gt;) e &quot;&lt;b&gt;cd&lt;/b&gt;&quot; para a pasta do projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Execute &quot;&lt;b&gt;makefile&lt;/b&gt;&quot; do diretório do projeto para a construção do projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Isto irá compilar os arquivos de &quot;&lt;b&gt;.Vala&lt;/b&gt;&quot; Para criar o arquivo executável &quot;&lt;b&gt;app1&lt;/b&gt;&quot; no diretório do projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Execute o comando &quot;&lt;b&gt;sudo make install&lt;/b&gt;&quot; para instalar o aplicativo&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Isto irá instalar o &quot;&lt;b&gt;app1&lt;/b&gt;&quot; executável em seu sistema. Qualquer usuário em seu sistema pode agora executar o &quot;&lt;b&gt;app1&lt;/b&gt;&quot; aplicativo digitando &quot;&lt;b&gt;app1&lt;/b&gt;&quot; em uma janela de terminal.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Execute o comando &quot;&lt;b&gt;sudo make uninstall&lt;/b&gt;&quot; para desinstalar o aplicativo&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Isto irá remover o &quot;&lt;b&gt;app1&lt;/b&gt;&quot; executável do seu sistema.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Nota:&lt;/b&gt; Para a instalação e desinstalação, copiar ou remover arquivos do sistema de diretório &quot;&lt;b&gt;/usr/bin&lt;/b&gt;&quot;, precisamos executar &quot;&lt;b&gt;make install&lt;/b&gt;&quot; e &quot;&lt;b&gt;make uninstall&lt;/b&gt;&quot; usando &quot;&lt;b&gt;sudo&lt;/b&gt;&quot;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Usando makefile com Geany;&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Altere o comando de compilação:&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;valac --pkg gtk+-3.0 &quot;%f&quot;&lt;/blockquote&gt;Para;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&amp;nbsp;make all&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Clique no botão &quot;&lt;b&gt;Gerar&lt;/b&gt;&quot; na barra de ferramentas do &quot;&lt;b&gt;IDE&lt;/b&gt;&quot; agora vai construir todo o seu projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Fonte;&amp;nbsp;&lt;a href=&quot;http://www.teejeetech.in/&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;TeeJee Tech&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/5449441353724649261/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2014/06/vala-usando-makefiles-com-geany.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5449441353724649261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5449441353724649261'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2014/06/vala-usando-makefiles-com-geany.html' title='[Vala] Usando makefiles com Geany'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-jjTN6H8HVQA/U4TJb5b8QJI/AAAAAAAAAkA/ffWnUG3Oc1Q/s72-c/Imagem+1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-5920278180133048143</id><published>2014-05-27T18:59:00.000+01:00</published><updated>2014-05-29T20:29:43.241+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Programação"/><category scheme="http://www.blogger.com/atom/ns#" term="Vala"/><title type='text'>[Vala] Configurando um IDE</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;Compilar e executar programas, digitando comandos numa janela de terminal pode ser uma tarefa tediosa, especialmente quando temos de o fazer a cada 5 minutos. Para facilitar a tarefa podemos usar um &lt;b&gt;&lt;a href=&quot;http://pt.wikipedia.org/wiki/Ambiente_de_desenvolvimento_integrado&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;IDE&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;. Usando um IDE torna a tarefa de compilar e executar um programa tão simples como clicar num botão.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Existem alguns &lt;b&gt;IDE&#39;s&lt;/b&gt; que podem ser usados ​​para a &lt;b&gt;programação Vala&lt;/b&gt;. &lt;b&gt;Plugins&lt;/b&gt; estão disponíveis para MonoDevelop, NetBeans e Eclipse IDE&#39;s que fornecem destaque de sintaxe e código de obras. No entanto, esses plugins não são 100% viáveis. Conclusão de código às vezes para de funcionar sem razão aparente (MonoDevelop 2.8 com monodevelop-vala plugin) e alguns dos outros plugins podem ser difíceis de configurar.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Atualmente estou a usar o &lt;b&gt;Geany&lt;/b&gt; para a &lt;b&gt;programação Vala&lt;/b&gt;. Geany é um IDE leve que &lt;b&gt;suporta Vala&lt;/b&gt; e uma série de outras &lt;b&gt;linguagens de programação&lt;/b&gt;. Você pode configurá-lo para compilar o código para quase todas as linguagens de programação. Você pode até escrever comandos personalizados para os botões de &quot;&lt;i&gt;construir&lt;/i&gt;&quot; em barra de ferramentas do IDE &quot;Compilar&quot;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Agora vamos ver como é que pode configurar Geany para compilar e executar o exemplo GTK que foi apresentado anteriormente. Primeiro vamos instalá-lo digitando o comando numa janela de terminal:&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;apt-get install geany libgtk-3-dev libgee-dev&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Estou assumindo que você está usando um sistema Linux/Debian. Pode também procurar pelo Geany nos repositórios da Distribuição que está a usar ou então no &lt;b&gt;&lt;a href=&quot;http://www.geany.org/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Site Oficial&lt;/span&gt;&lt;/a&gt;&lt;/b&gt; e ainda em &lt;b&gt;&lt;a href=&quot;https://wiki.gnome.org/Projects/Vala/Tools&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: lime;&quot;&gt;Ferramentas Vala&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-jjTN6H8HVQA/U4TJb5b8QJI/AAAAAAAAAj8/MJoeN91L67M/s1600/Imagem+1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-jjTN6H8HVQA/U4TJb5b8QJI/AAAAAAAAAj8/MJoeN91L67M/s1600/Imagem+1.png&quot; height=&quot;253&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Inicie o Geany e clique em &quot;&lt;b&gt;Projeto&lt;/b&gt;&quot; --&amp;gt; &quot;&lt;b&gt;Novo&lt;/b&gt;&quot;;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-jhBg2jC6cYc/U4TKlZR7BOI/AAAAAAAAAkI/K7W7Ck-XK_Q/s1600/Imagem+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-jhBg2jC6cYc/U4TKlZR7BOI/AAAAAAAAAkI/K7W7Ck-XK_Q/s1600/Imagem+2.png&quot; height=&quot;99&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Digite o nome do projeto e Diretório Base;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-ow5_BiVuoJc/U4TK4lOSkfI/AAAAAAAAAkQ/sd-4ZcfwXX0/s1600/Imagem+3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-ow5_BiVuoJc/U4TK4lOSkfI/AAAAAAAAAkQ/sd-4ZcfwXX0/s1600/Imagem+3.png&quot; height=&quot;136&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Geany criará automaticamente uma pasta de projeto e um arquivo &quot;&lt;b&gt;.geany&lt;/b&gt;&quot; no caminho base. A pasta do projeto contém todos os arquivos que você adicionar ao seu projeto geany, o arquivo conterá as configurações do projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Nota:&lt;/span&gt;&lt;/b&gt; O arquivo &quot;&lt;b&gt;.geany&lt;/b&gt;&quot; é um arquivo de texto simples, que pode ser editado com um editor de texto. Dê uma olhada no arquivo para ver as informações que geany usa para cada projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Agora adicione um novo arquivo de origem para o projeto usando o botão da barra de ferramentas.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-aqNBDoBp2-I/U4TLzIabwKI/AAAAAAAAAkc/N1uJJC999Vk/s1600/Imagem+4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-aqNBDoBp2-I/U4TLzIabwKI/AAAAAAAAAkc/N1uJJC999Vk/s1600/Imagem+4.png&quot; height=&quot;236&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Copie e cole o código para o aplicativo que criamos no &lt;a href=&quot;http://www.obloggueiro.pt/2014/04/vala-criando-aplicativos-simples.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Artigo Anterior&lt;/b&gt;&lt;/a&gt;.&lt;/div&gt;&lt;blockquote style=&quot;text-align: justify;&quot;&gt;using Gtk;&lt;br /&gt;class MainWindow : Window &amp;nbsp;{&lt;br /&gt;&amp;nbsp; public static int main (string[] args)&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; Gtk.init(ref args); &amp;nbsp;//inicia Gtk&lt;br /&gt;&amp;nbsp; &amp;nbsp; var window = new MainWindow (); //Criar uma janela&lt;br /&gt;&amp;nbsp; &amp;nbsp; window.destroy.connect (Gtk.main_quit); //Sai do aplicativo depois de fechar a janela&lt;br /&gt;&amp;nbsp; &amp;nbsp; window.show_all (); //Torna todos os widgets visíveis&lt;br /&gt;&amp;nbsp; &amp;nbsp; Gtk.main(); //Inicia o loop principal&lt;br /&gt;&amp;nbsp; &amp;nbsp; return 0;&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; public MainWindow()&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.title = &quot;Minha 1ª App&quot;;&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.border_width = 25;&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.set_default_size (250, 100);&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.window_position = WindowPosition.CENTER;&lt;br /&gt;&amp;nbsp; &amp;nbsp; this.destroy.connect(Gtk.main_quit); //Saia do aplicativo quando a janela é fechada&lt;br /&gt;&amp;nbsp; &amp;nbsp; var btnClear = new Button.with_label (&quot;Apagar Documentos Recentes&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; btnClear.clicked.connect (clear_history); //Ligua o evento à função&lt;br /&gt;&amp;nbsp; &amp;nbsp; add(btnClear); &amp;nbsp;//Adicionar botão a janela&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; public void clear_history ()&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; string HOME = Environment.get_home_dir ();&lt;br /&gt;&amp;nbsp; &amp;nbsp; try {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Process.spawn_command_line_sync (@&quot;rm $HOME/.local/share/recently-used.xbel&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Process.spawn_command_line_sync (@&quot;touch $HOME/.local/share/recently-used.xbel&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; messagebox_show (&quot;Sucesso&quot;, &quot;Histórico de Documentos recentes eliminado&quot;);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; &amp;nbsp; catch (Error e){&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; string msg = e.message;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; stderr.printf(msg);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; messagebox_show (&quot;Error&quot;, msg);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;&amp;nbsp; public void messagebox_show(string title, string message)&lt;br /&gt;&amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; var dialog = new Gtk.MessageDialog(&lt;br /&gt;&amp;nbsp; &amp;nbsp;null,&lt;br /&gt;&amp;nbsp; &amp;nbsp;Gtk.DialogFlags.MODAL,&lt;br /&gt;&amp;nbsp; &amp;nbsp;Gtk.MessageType.INFO,&lt;br /&gt;&amp;nbsp; &amp;nbsp;Gtk.ButtonsType.OK,&lt;br /&gt;&amp;nbsp; &amp;nbsp;message);&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; dialog.set_title(title);&lt;br /&gt;&amp;nbsp; &amp;nbsp; dialog.run();&lt;br /&gt;&amp;nbsp; &amp;nbsp; dialog.destroy();&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;}&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Pressione CTRL + S e salve o arquivo como &quot;&lt;b&gt;main.vala&lt;/b&gt;&quot;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Antes que possamos compilar a nossa aplicação precisamos informar Geany fazer a compilação. Vá para o Projeto, Menu e Clique em &quot;&lt;b&gt;Propriedades&lt;/b&gt;&quot;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-feeWGC4pgzw/U4TNIwh7gdI/AAAAAAAAAko/-sK-oOxC43g/s1600/Imagem+5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-feeWGC4pgzw/U4TNIwh7gdI/AAAAAAAAAko/-sK-oOxC43g/s1600/Imagem+5.png&quot; height=&quot;105&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Le77IU-TW5I/U4TNd5Hip1I/AAAAAAAAAkw/ovvHR52f9QM/s1600/Imagem+6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-Le77IU-TW5I/U4TNd5Hip1I/AAAAAAAAAkw/ovvHR52f9QM/s1600/Imagem+6.png&quot; height=&quot;288&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Vá para a guia &quot;&lt;b&gt;Gerar&lt;/b&gt;&quot;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-L5NYain0BhE/U4TNske_MoI/AAAAAAAAAk4/KW4IOcc38Qg/s1600/Imagem+7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-L5NYain0BhE/U4TNske_MoI/AAAAAAAAAk4/KW4IOcc38Qg/s1600/Imagem+7.png&quot; height=&quot;288&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Como você pode ver, Geany já adicionou os comandos para compilar e construir a nossa aplicação. No entanto, precisamos adicionar uma referência para a biblioteca &lt;b&gt;GTK&lt;/b&gt; uma vez que a nossa aplicação usa GTK.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Altere o comando de compilação:&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;valac &quot;%f&quot;&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Para;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;valac --pkg gtk+-3.0 &quot;%f&quot;&lt;/blockquote&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-EmGegLI2h1U/U4TOQ5Ru4NI/AAAAAAAAAlA/fpXhTGch3wQ/s1600/Imagem+8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-EmGegLI2h1U/U4TOQ5Ru4NI/AAAAAAAAAlA/fpXhTGch3wQ/s1600/Imagem+8.png&quot; height=&quot;288&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Agora podemos construir a aplicação usando o botão &quot;&lt;b&gt;Gerar&lt;/b&gt;&quot; na barra de ferramentas.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Clique no botão &quot;&lt;b&gt;Gerar&lt;/b&gt;&quot; para compilar a aplicação.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-C4ZjsvtQJbQ/U4TOq9ssixI/AAAAAAAAAlI/-_UKAWNUuCA/s1600/Imagem+9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-C4ZjsvtQJbQ/U4TOq9ssixI/AAAAAAAAAlI/-_UKAWNUuCA/s1600/Imagem+9.png&quot; height=&quot;85&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Você pode ver as mensagens do compilador no painel de status.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-WS-XJ30z7cg/U4TO6MJWyUI/AAAAAAAAAlQ/FNjbxomVfKY/s1600/Imagem+10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-WS-XJ30z7cg/U4TO6MJWyUI/AAAAAAAAAlQ/FNjbxomVfKY/s1600/Imagem+10.png&quot; height=&quot;74&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Clique no botão &quot;&lt;b&gt;Executar&lt;/b&gt;&quot; para testar a aplicação.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-iU1dGKS75Cs/U4TPKxbuBII/AAAAAAAAAlY/eUw2YvOeDPY/s1600/Imagem+11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-iU1dGKS75Cs/U4TPKxbuBII/AAAAAAAAAlY/eUw2YvOeDPY/s1600/Imagem+11.png&quot; height=&quot;66&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-8lLX27eu58g/U4TPQcTL26I/AAAAAAAAAlg/x-5Itc2nxos/s1600/Imagem+12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-8lLX27eu58g/U4TPQcTL26I/AAAAAAAAAlg/x-5Itc2nxos/s1600/Imagem+12.png&quot; height=&quot;197&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;E pronto, aqui está a aplicação criada com o &lt;b&gt;IDE Geany&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Se gostou deste artigo considere subscrever a nossa&amp;nbsp;Newsletter escrevendo o seu E-mail a baixo e clicando em &quot;Submit&quot;;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;widget-content&quot;&gt;&lt;div class=&quot;follow-by-email-inner&quot;&gt;&lt;form action=&quot;http://feedburner.google.com/fb/a/mailverify&quot; method=&quot;post&quot; onsubmit=&quot;window.open(&amp;quot;http://feedburner.google.com/fb/a/mailverify?uri=OBloggueiroblog&amp;quot;, &amp;quot;popupwindow&amp;quot;, &amp;quot;scrollbars=yes,width=550,height=520&amp;quot;); return true&quot; target=&quot;popupwindow&quot;&gt;&lt;table style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;input class=&quot;follow-by-email-address&quot; name=&quot;email&quot; placeholder=&quot;Email address...&quot; type=&quot;text&quot; /&gt;&lt;/td&gt;&lt;td width=&quot;64px&quot;&gt;&lt;input class=&quot;follow-by-email-submit&quot; type=&quot;submit&quot; value=&quot;Submit&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div style=&quot;text-align: right;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Fonte; &lt;a href=&quot;http://www.teejeetech.in/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;TeeJee Tech&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;input name=&quot;uri&quot; type=&quot;hidden&quot; value=&quot;OBloggueiroblog&quot; /&gt;&lt;input name=&quot;loc&quot; type=&quot;hidden&quot; value=&quot;en_US&quot; /&gt;&lt;/form&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/5920278180133048143/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2014/05/vala-criacao-de-um-ide.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5920278180133048143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5920278180133048143'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2014/05/vala-criacao-de-um-ide.html' title='[Vala] Configurando um IDE'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-jjTN6H8HVQA/U4TJb5b8QJI/AAAAAAAAAj8/MJoeN91L67M/s72-c/Imagem+1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-1256833535179131925</id><published>2014-04-22T18:30:00.000+01:00</published><updated>2014-04-22T18:30:00.022+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Programação"/><category scheme="http://www.blogger.com/atom/ns#" term="tutoriais"/><category scheme="http://www.blogger.com/atom/ns#" term="Vala"/><title type='text'>[Vala] Criando aplicativos simples</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;No meu artigo anterior escrevi uma &lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;a href=&quot;http://www.obloggueiro.pt/2014/04/introducao-linguagem-vala.html&quot; target=&quot;_blank&quot;&gt;Introdução a Linguagem Vala&lt;/a&gt;&lt;/span&gt;, neste artigo vou ensinar como Criar aplicativos simples usando o &lt;b&gt;&lt;a href=&quot;https://wiki.gnome.org/Projects/Vala/Tutorial&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Tutorial Oficial&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;. Para começar-mos vamos instalar o &lt;b&gt;compilador vala&lt;/b&gt;, digitando o seguinte comando numa janela de terminal:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;text-align: justify;&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;apt&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; install valac libgtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;dev&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;OBS 1;&lt;/b&gt; Este comando é para um sistema &lt;b&gt;Linux/Debian&lt;/b&gt;, caso esteja a usar um sistema diferente recomendo que faça uma pesquisa rápida na Internet &amp;nbsp;para instalar o compilador vala no o seu sistema.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;OBS 2;&lt;/b&gt;&amp;nbsp;Iram reparar que aparecem algumas frases em Português nos códigos que vou usar para criar as aplicações, mas os códigos originais no tutorial Oficial usam apenas frases em Inglês.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Aplicação&amp;nbsp;simples &quot;&lt;b&gt;Olá Mundo&lt;/b&gt;&quot;;&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Começamos por criar um arquivo de texto e vamos dar-lhe o nome de &quot;&lt;b&gt;hello.vala&lt;/b&gt;&quot;, depois de criado o arquivo abram-no e colem lá este &lt;b&gt;código&lt;/b&gt;;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; main&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #008800;&quot;&gt;O&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;lá Mundo&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;white-space: normal;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;\&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;n&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;Guarda-mos as alterações ao ficheiro, feito isto abrimos um terminal no local onde acabamos de guardar o ficheiro que acabamos de criar, digitamos no terminal o seguinte comando;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;valac &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;hello.vala&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;o hello&lt;/span&gt;&lt;/blockquote&gt;Isso irá criar um arquivo executável chamado &quot;hello&quot; no directório actual. Execute o arquivo a partir de um terminal usando o seguinte comando;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;./&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;hello&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-dN20L-z1UtE/U1aCTo9TkVI/AAAAAAAAAi0/9NE-mbSE-aQ/s1600/Captura+de+ecr%C3%A3+-+22-04-2014+-+15:52:33.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-dN20L-z1UtE/U1aCTo9TkVI/AAAAAAAAAi0/9NE-mbSE-aQ/s1600/Captura+de+ecr%C3%A3+-+22-04-2014+-+15:52:33.png&quot; height=&quot;196&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Aplicação&amp;nbsp;simples &quot;Olá mundo&quot; usando objetos;&lt;/b&gt;&lt;/h3&gt;&lt;div&gt;Aqui está o mesmo exemplo escrito novamente, desta vez usando recursos orientados a objectos Vala. O programa vai simplesmente exibir o primeiro argumento que é passado para ele. Para isso criamos um novo arquivo de texto com o nome de &quot;&lt;b&gt;hello2.vala&lt;/b&gt;&quot;, depois inserimos este código no arquivo e guarda-mos as alterações;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Example&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;GLib&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; main&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; ex &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Example&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;if&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;length &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;            &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Hello World\n&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;        &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;else&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;            ex&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;]);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; display&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; message&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;        stdout&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;message &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;\n&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;Agora vamos compilar o arquivo abrindo um terminal no local onde temos arquivo que acabamos de criar, digitamos no terminal o seguinte comando;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;valac &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;hello2.vala&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;o hello2&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;Isso irá criar um arquivo executável chamado &quot;hello&quot; no directório actual. Execute o arquivo a partir de um terminal usando o seguinte comando;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;./&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;hello2 &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Welcome to Vala&quot;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-OvmYt8Xboxw/U1aHQrv3p9I/AAAAAAAAAjE/SHi3xrDWbeQ/s1600/Captura+de+ecr%C3%A3+-+22-04-2014+-+16:03:35.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-OvmYt8Xboxw/U1aHQrv3p9I/AAAAAAAAAjE/SHi3xrDWbeQ/s1600/Captura+de+ecr%C3%A3+-+22-04-2014+-+16:03:35.png&quot; height=&quot;196&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Aplicação simples GUI usando GTK&lt;/h3&gt;&lt;div&gt;Agora iremos aprender a criar uma aplicação que pode realmente ser útil.&amp;nbsp;Vamos criar uma aplicação &lt;b&gt;GUI&lt;/b&gt; para eliminar os &quot;&lt;b&gt;Documentos Recentes&lt;/b&gt;&quot; do histórico de um &lt;b&gt;PC Linux/Debian&lt;/b&gt;. Vamos criar um novo arquivo de texto com o nome de &quot;&lt;b&gt;app1.vala&lt;/b&gt;&quot;, depois inserimos este código no arquivo e guarda-mos as alterações;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;using&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MainWindow&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Window&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;int&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; main &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;[]&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;init&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;ref&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; args&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Inicia Gtk&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; window &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MainWindow&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Cria uma Janela&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    window&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;destroy&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;connect &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;main_quit&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Sai do aplicativo depois de fechar a Janela&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    window&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;show_all &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Torna todos os widgets visíveis&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;main&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Inicia o loop principal&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MainWindow&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;title &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Minha 1ª App&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;border_width &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;set_default_size &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;250&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;60&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;window_position &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;WindowPosition&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;CENTER&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;this&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;destroy&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;connect&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;main_quit&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Sai do aplicativo quando a janela é fechada&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; btnClear &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Button&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;with_label &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Apagar Documentos Recentes&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    btnClear&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;clicked&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;connect &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;clear_history&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Liga o evento à função&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    add&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;btnClear&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;com&quot; style=&quot;color: #880000;&quot;&gt;//Adiciona botão a janela&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; clear_history &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; HOME &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Environment&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;get_home_dir &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;try&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;      &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Process&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;spawn_command_line_sync &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(@&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;rm $HOME/.local/share/recently-used.xbel&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;      &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Process&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;spawn_command_line_sync &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(@&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;touch $HOME/.local/share/recently-used.xbel&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;      messagebox_show &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Sucesso&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Histórico de documentos recentes eliminado&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;catch&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Error&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;){&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;      &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; msg &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; e&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;message&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;      stderr&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;printf&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;msg&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;      messagebox_show &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;Error&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; msg&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; messagebox_show&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; title&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;string&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; message&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; dialog &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;new&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MessageDialog&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088;&quot;&gt;null&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;DialogFlags&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;MODAL&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;br /&gt;   &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;MessageType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;INFO&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;br /&gt;   &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;Gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;color: #660066;&quot;&gt;ButtonsType&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;OK&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;br /&gt;   message&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;   &lt;br /&gt;    dialog&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;set_title&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;);&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    dialog&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;run&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;    dialog&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;destroy&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;();&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;  &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;Temos o código escrito para a criação de uma janela simples com um único botão. O evento Click do botão está ligado à função &lt;i&gt;clear_history&lt;/i&gt; (). O &lt;i&gt;clear_history ()&lt;/i&gt; função executa comandos para eliminar um arquivo na sua pasta pessoal. Este arquivo contém a lista de documentos que foram recentemente acessados ​​por você.&lt;br /&gt;&lt;br /&gt;Agora vamos compilar o arquivo abrindo um terminal no local onde temos arquivo que acabamos de criar, digitamos no terminal o seguinte comando;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;valac &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;pkg gtk&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;+-&lt;/span&gt;&lt;span class=&quot;lit&quot; style=&quot;color: #006666;&quot;&gt;3.0&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;color: #008800;&quot;&gt;&quot;app1.vala&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;o app1&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;A biblioteca &lt;b&gt;GTK3&lt;/b&gt; contém uma coleção de classes para criar &lt;b&gt;widgets&lt;/b&gt; como janelas e botões. Uma vez que estamos criando um aplicativo &lt;b&gt;GTK&lt;/b&gt;, precisamos &lt;i&gt;linkar&lt;/i&gt; o programa com a biblioteca &lt;b&gt;GTK3&lt;/b&gt; (isto é semelhante a adicionar uma referência a um arquivo &lt;b&gt;DLL&lt;/b&gt; no projeto &lt;b&gt;C#&lt;/b&gt;).&lt;br /&gt;&lt;br /&gt;O &quot;&lt;b&gt;-- pkg gtk + -3.0&lt;/b&gt;&quot; argumento diz ao compilador &lt;b&gt;Vala&lt;/b&gt; para fazer a ligação. Podemos adicionar vários &quot;&lt;b&gt;-- pkg&lt;/b&gt;&quot; argumentos para cada biblioteca usada pela nossa aplicação. Você pode consultar o &lt;a href=&quot;http://valadoc.org/#!wiki=index&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;site oficial ValaDoc&lt;/span&gt;&lt;/b&gt;&lt;/a&gt; para a lista completa de bibliotecas que você pode usar em seus projectos.&lt;br /&gt;&lt;br /&gt;Vou recomendar que você mantenha esta página aberta numa janela de navegador quando você está programando com Vala. Ele permitirá que você procurar rapidamente bibliotecas e funções que você pode usar em seu projeto. Ele contém a referência completa para tudo que você precisa saber sobre como usar as classes e funções built-in.&lt;br /&gt;&lt;br /&gt;Execute o arquivo a partir de um terminal usando o seguinte comando;&lt;br /&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: ghostwhite; border: 1px solid rgb(136, 136, 136); color: #333333; padding: 5px; text-align: start;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600;&quot;&gt;./&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black;&quot;&gt;app1&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-booSS4g6RYY/U1aQU16P1WI/AAAAAAAAAjU/McyoSpUxd7k/s1600/Captura+de+ecr%C3%A3+-+22-04-2014+-+16:51:26.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-booSS4g6RYY/U1aQU16P1WI/AAAAAAAAAjU/McyoSpUxd7k/s1600/Captura+de+ecr%C3%A3+-+22-04-2014+-+16:51:26.png&quot; height=&quot;195&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Clique no botão &quot;&lt;b&gt;Apagar Documentos recentes&lt;/b&gt;&quot; para limpar o seu histórico;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-BTlVqJvkuaA/U1aQ8Jyg_cI/AAAAAAAAAjc/TaSVj8LGMFY/s1600/Captura+de+ecr%C3%A3+-+22-04-2014+-+16:51:53.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-BTlVqJvkuaA/U1aQ8Jyg_cI/AAAAAAAAAjc/TaSVj8LGMFY/s1600/Captura+de+ecr%C3%A3+-+22-04-2014+-+16:51:53.png&quot; height=&quot;123&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Como esta é uma aplicação &lt;b&gt;GUI&lt;/b&gt;, também pode executá-lo &lt;b&gt;clicando duas vezes&lt;/b&gt; no arquivo do &lt;b&gt;Nautilus&lt;/b&gt; ou qualquer outro gerenciador de arquivos. Executando-o a partir de uma janela de terminal é melhor porque será capaz de ver as mensagens que o programa grava na saída padrão (&lt;i&gt;stdout&lt;/i&gt;) e erro padrão (&lt;i&gt;stderr&lt;/i&gt;).&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Clicando em &lt;a href=&quot;https://wiki.gnome.org/Projects/Vala/GTKSample&quot; style=&quot;color: red; font-weight: bold;&quot; target=&quot;_blank&quot;&gt;Exemplos GTK&lt;/a&gt;, poderá ver mais alguns exemplos &lt;b&gt;GTK&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;Fonte; &lt;a href=&quot;http://www.teejeetech.in/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;TeeJee Tech&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/1256833535179131925/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2014/04/vala-criando-aplicativos-simples.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/1256833535179131925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/1256833535179131925'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2014/04/vala-criando-aplicativos-simples.html' title='[Vala] Criando aplicativos simples'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-dN20L-z1UtE/U1aCTo9TkVI/AAAAAAAAAi0/9NE-mbSE-aQ/s72-c/Captura+de+ecr%C3%A3+-+22-04-2014+-+15:52:33.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-55265520925895481</id><published>2014-04-21T10:30:00.000+01:00</published><updated>2014-05-03T00:23:51.628+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Programação"/><category scheme="http://www.blogger.com/atom/ns#" term="Vala"/><title type='text'>[Introdução] Linguagem Vala</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-CaHDDzvj9Gw/U1PeN-NQxlI/AAAAAAAAAik/VaBGSRAxAMQ/s1600/Captura+de+ecr%C3%A3+-+20-04-2014+-+15:47:37.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-CaHDDzvj9Gw/U1PeN-NQxlI/AAAAAAAAAik/VaBGSRAxAMQ/s1600/Captura+de+ecr%C3%A3+-+20-04-2014+-+15:47:37.png&quot; height=&quot;247&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;conhece a linguagem de programação &lt;b&gt;Vala&lt;/b&gt;?&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;É uma nova linguagem de &lt;b&gt;programação&lt;/b&gt; orientada a objetos que recentemente se tornou muito popular. Baseia-se em &lt;b&gt;C&lt;/b&gt; com uma sintaxe semelhante a &lt;b&gt;C#&lt;/b&gt;. Esta linguagem fornece muitas &lt;b&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Construct_(philosophy)&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Constructs&lt;/span&gt;&lt;/a&gt;&lt;/b&gt; linguagem de alto nível que está faltando em uma linguagem de baixo nível, como &lt;b&gt;C&lt;/b&gt;. A linguagem Vala fornece propriedades, genéricos, gerenciamento de memória, loops foreach, e uma série de outras características que até agora, estava disponível apenas para desenvolvedores de &lt;b&gt;C#&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;Então, que questões você poderá colocar?&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Não há falta de linguagens de programação nos dias de hoje. Uma nova linguagem se inventou a cada dois dias e torna-se impossível para qualquer desenvolvedor manter o controlo de todas as linguagens. Na superfície &lt;b&gt;Vala&lt;/b&gt; parece apenas mais uma linguagem de programação, que modela a sintaxe de uma linguagem existente (&lt;b&gt;C#&lt;/b&gt;) ao tentar fornecer recursos ausentes em outro (&lt;b&gt;C&lt;/b&gt;).&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 style=&quot;text-align: justify;&quot;&gt;O que é diferente sobre Vala é assim que compila o código-fonte.&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Quando se trata de &lt;b&gt;compilação&lt;/b&gt;, Vala faz algo maravilhosamente diferente. O código fonte Vala é primeiro traduzido para o código &lt;b&gt;&lt;i&gt;C&lt;/i&gt;&lt;/b&gt; equivalente, em seguida, o código &lt;b&gt;&lt;i&gt;C&lt;/i&gt;&lt;/b&gt; resultante é compilado para um arquivo &lt;b&gt;executável&lt;/b&gt; usando o &lt;b&gt;compilador &lt;i&gt;C&lt;/i&gt; padrão&lt;/b&gt;. O resultado líquido? - Um arquivo executável nativo que não depende de outra coisa que o tempo de execução &lt;b&gt;&lt;i&gt;C&lt;/i&gt;&lt;/b&gt;. Ele não depende de qualquer quadro ou intérprete. O código pode ser compilado e executado em qualquer sistema que tem um compilador &lt;b&gt;&lt;i&gt;C&lt;/i&gt;&lt;/b&gt; para produzir um executável nativo. É quase tão rápido quanto um programa escrito em código &lt;b&gt;&lt;i&gt;C&lt;/i&gt;&lt;/b&gt; puro e muitas vezes mais rápido do que um programa que é interpretado ou executado por um tempo de execução (&lt;b&gt;&lt;i&gt;C#&lt;/i&gt;&lt;/b&gt;, etc). Se você é alguém que trabalha com código &lt;b&gt;C / C++&lt;/b&gt; ou alguém que trabalha com &lt;b&gt;C#&lt;/b&gt; . e &lt;b&gt;NET&lt;/b&gt;, Vala é algo que você poderá gostar de experimentar.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Clique no link abaixo para obter um excelente tutorial:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;a href=&quot;https://wiki.gnome.org/Projects/Vala/Tutorial&quot; target=&quot;_blank&quot;&gt;Tutorial Vala no GNOME Vivo&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;Fontes;&amp;nbsp;&lt;a href=&quot;http://www.teejeetech.in/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;TeeJee Tech&lt;/span&gt;&lt;/a&gt;, &lt;a href=&quot;http://en.wikibooks.org/wiki/Vala_Programming/Intro/Programming_Style&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Vala&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/55265520925895481/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2014/04/introducao-linguagem-vala.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/55265520925895481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/55265520925895481'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2014/04/introducao-linguagem-vala.html' title='[Introdução] Linguagem Vala'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-CaHDDzvj9Gw/U1PeN-NQxlI/AAAAAAAAAik/VaBGSRAxAMQ/s72-c/Captura+de+ecr%C3%A3+-+20-04-2014+-+15:47:37.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-8205452052698044554</id><published>2013-06-22T22:47:00.000+01:00</published><updated>2014-04-15T14:44:30.903+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Noticias"/><title type='text'>Falha de segurança no Facebook expõe milhões de utilizadores!!!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-au4RdsLkzbg/UcYZwCahGlI/AAAAAAAAAek/fjYP96t3wAs/s1600/facebook-google-reader-630x344.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-au4RdsLkzbg/UcYZwCahGlI/AAAAAAAAAek/fjYP96t3wAs/s400/facebook-google-reader-630x344.jpg&quot; height=&quot;216&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;Uma &lt;b&gt;falha de segurança&lt;/b&gt; tornou&amp;nbsp;visível&amp;nbsp; esta sexta-feira, para outros utilizadores os contatos de e-mail e telemóvel de seis milhões de utilizadores da rede social Facebook.&lt;br /&gt;&lt;br /&gt;Esta sexta-feira, o Facebook admitiu que um erro (&quot;bug&quot;) tornou informações privadas - números de telemóvel e endereços de e-mail - acidentalmente acessíveis a outros utilizadores que tiveram oportunidade de fazer download das informações dos afetados.&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Segundo a empresa, o erro verificou-se no método de sugestão de amigos a novos membros, pelo que apenas alguns utilizadores conseguiram ter acesso aos dados, e não empresas de publicidade ou programadores.&lt;br /&gt;&lt;br /&gt;&quot;O erro ocorreu em situações limitadas, em geral, em que um utilizador já tinha informações desse contacto e não temos nenhuma prova de que essas informações tenham sido usadas de forma maliciosa. Já&amp;nbsp;notificamos&amp;nbsp;os utilizadores afetados e&amp;nbsp;recompensamos&amp;nbsp;a pessoa que encontrou o erro pela sua contribuição para a segurança do Facebook&quot;, diz a empresa, em comunicado, após ter resolvido a falha de segurança.&lt;br /&gt;&lt;br /&gt;Os utilizadores que foram afetados pela falha de segurança receberam notificações por e-mail. Contudo, o impacto foi &quot;mínimo&quot; já que a possibilidade de aceder a informações privadas deu-se apenas entre utilizadores com ligações entre si.&lt;br /&gt;&lt;br /&gt;O erro foi encontrado por um utilizador, através do programa &quot;&lt;a href=&quot;https://www.facebook.com/whitehat&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;White Hat&lt;/b&gt;&lt;/a&gt;&quot; que oferece recompensas, no mínimo de 500 dólares (cerca de 380 euros) por cada &quot;bug&quot; encontrado.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: right;&quot;&gt;Fonte; &lt;a href=&quot;http://www.jn.pt/PaginaInicial/Tecnologia/Interior.aspx?content_id=3285263&quot; target=&quot;_blank&quot;&gt;JN&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/8205452052698044554/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/06/falha-de-seguranca-no-facebook-expoe.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/8205452052698044554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/8205452052698044554'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/06/falha-de-seguranca-no-facebook-expoe.html' title='Falha de segurança no Facebook expõe milhões de utilizadores!!!'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-au4RdsLkzbg/UcYZwCahGlI/AAAAAAAAAek/fjYP96t3wAs/s72-c/facebook-google-reader-630x344.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-7638845477117035549</id><published>2013-06-22T00:03:00.000+01:00</published><updated>2013-06-22T00:13:04.922+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>O verdadeiro motivo pela qual o povo brasileiro saiu à rua…</title><content type='html'>&lt;b style=&quot;text-align: justify;&quot;&gt;Felipe Neto&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;, um conhecido &lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;YouTuber&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt; brasileiro com mais de &lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;2 milhões de seguidores&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt; que faz vídeos sobre a&amp;nbsp;atualidade&amp;nbsp;e crítica os comportamentos e atitudes de artistas e da própria população, publicou recentemente um vídeo intitulado “&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;MUDA BRASIL – FAZ SENTIDO&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;” que retrata bem o porquê do &lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;Povo Brasileiro&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt; estar nas ruas, descontente e revoltado com a política do país.&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Em 3 dias conta com um feedback positivo de mais de 220 mil “Gostos”… Porque será?&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/v9rgOwH99nc&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-4WI95eJGrX0/UcTd7RSBVaI/AAAAAAAAAeU/oLFle2ltcMQ/s1600/Captura+de+ecra+de+2013-06-22+00:12:08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;http://2.bp.blogspot.com/-4WI95eJGrX0/UcTd7RSBVaI/AAAAAAAAAeU/oLFle2ltcMQ/s400/Captura+de+ecra+de+2013-06-22+00:12:08.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/7638845477117035549/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/06/o-verdadeiro-motivo-pela-qual-o-povo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/7638845477117035549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/7638845477117035549'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/06/o-verdadeiro-motivo-pela-qual-o-povo.html' title='O verdadeiro motivo pela qual o povo brasileiro saiu à rua…'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/v9rgOwH99nc/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-8029778315363823272</id><published>2013-06-16T01:41:00.000+01:00</published><updated>2014-04-15T14:56:01.696+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Games"/><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Metal Slug 1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/--qdTeEF2YLM/Ub0IAjeQf5I/AAAAAAAAAAs/tMVsRVgH8og/s1600/MetalSlug1_img1_emulapc.blogspot.com.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/--qdTeEF2YLM/Ub0IAjeQf5I/AAAAAAAAAAs/tMVsRVgH8og/s400/MetalSlug1_img1_emulapc.blogspot.com.jpg&quot; height=&quot;292&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Hoje trago-vos um video do jogo Metal Slug, para aqueles que tiveram a sorte de jogar este grande jogo poderem relembrar o mesmo. Deixem um comentário e digam se já o jogaram ou não.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/PO1Bf0Vpr_o&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/8029778315363823272/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/06/metal-slug-1.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/8029778315363823272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/8029778315363823272'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/06/metal-slug-1.html' title='Metal Slug 1'/><author><name>O bloggueiro</name><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/--qdTeEF2YLM/Ub0IAjeQf5I/AAAAAAAAAAs/tMVsRVgH8og/s72-c/MetalSlug1_img1_emulapc.blogspot.com.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-7796679244208131648</id><published>2013-06-01T02:00:00.001+01:00</published><updated>2014-04-15T14:49:38.526+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estados emocionais"/><category scheme="http://www.blogger.com/atom/ns#" term="Imagens"/><title type='text'>Triste</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-suwuo9JA8-o/UalHXRjlyjI/AAAAAAAAAAY/ACiMvWNnVlY/s1600/Triste.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-suwuo9JA8-o/UalHXRjlyjI/AAAAAAAAAAY/ACiMvWNnVlY/s400/Triste.gif&quot; height=&quot;300&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Se gostas-te partilha....&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/7796679244208131648/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/06/triste.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/7796679244208131648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/7796679244208131648'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/06/triste.html' title='Triste'/><author><name>O bloggueiro</name><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-suwuo9JA8-o/UalHXRjlyjI/AAAAAAAAAAY/ACiMvWNnVlY/s72-c/Triste.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-2015983806595887704</id><published>2013-04-18T12:43:00.000+01:00</published><updated>2014-04-15T14:50:00.203+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Noticias"/><title type='text'>A água no microondas</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-LB7Tec-GcEw/UW_a_p2Zx9I/AAAAAAAAAa0/2jVqCotG_gU/s1600/Microondas.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-LB7Tec-GcEw/UW_a_p2Zx9I/AAAAAAAAAa0/2jVqCotG_gU/s400/Microondas.jpg&quot; height=&quot;300&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&quot;Faz 5 dias que meu filho de 26 anos decidiu tomar uma xícara de café instantâneo. A tragédia começou.&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Ele pôs para aquecer no microondas uma xícara somente com água (algo que já havía feito antes em várias ocasiões). Não sei exatamente por quanto tempo o programou, mas me disse que queria apenas que a água fervesse. Quando o tempo acabou o forno se apagou, e ele abriu e tirou a xícara do forno..&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Enquanto olhava a xícara, se deu conta que a água não estava fervendo; todavia, foi aí que a água saltou diretamente para seu rosto. Ele soltou a xícara de suas mãos depois que a água havia saltado para seu rosto, devido a energia acumulada. Todo seu rosto têm feridas de 1º e 2º graus e é muito provável que o rosto ficará marcado. Além de haver perdido a vista parcialmente do olho esquerdo. Enquanto estávamos no hospital, o doutor que o atendía comentou que estes tipos de acidentes eram muito frequentes, e que nunca deveria pôr somente água para aquecer em microondas. Se nós aquecermos água desta forma (em microondas), sempre se deve pôr algo na água, exemplo: um palito de madeira (de dente mesmo) ou um sachê de chá; mas se formos aquecer somente a água, é melhor usar o fogão à gás.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Isto é o que um professor de física disse a respeito:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&quot;Obrigado por me enviar a mensagem advertido-me a cerca da água em microondas. Soube de vários casos. Isto é causado por um fenômeno conhecido como super-aquecimento&quot;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Pode acontecer em qualquer momento que a água está aquecendo..... especialmente se o utensílio que se está usando é novo. O que acontece é que a água se aquece muito mais rápido que as borbulhas que começarão a se formar. Se a xícara é nova, não há nenhum raspão ou ranhura por onde as borbulhas possam ir e possam começar a borbulhar na água que já está fervendo, de tal maneia que a água vai aquecendo&amp;nbsp;sob-repassando&amp;nbsp;o tempo de ferver (como quem diz: ferve...e ferve... e ferve....). O que acontece então é que a água se obstrui, fica estancada e ao contato com o ar a água salta com força pela energia contida.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Por favor enviem esta mensagem a todos seus amigos, poderão evitar uma grande dor e sofrimento..&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;(autor desconhecido - recebido por e-mail)&lt;/b&gt;&quot;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;Fonte; &lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;https://pt-pt.facebook.com/&quot; target=&quot;_blank&quot;&gt;Vi no FaceBook&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/2015983806595887704/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/04/a-agua-no-microondas.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/2015983806595887704'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/2015983806595887704'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/04/a-agua-no-microondas.html' title='A água no microondas'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-LB7Tec-GcEw/UW_a_p2Zx9I/AAAAAAAAAa0/2jVqCotG_gU/s72-c/Microondas.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-4789995506057007719</id><published>2013-04-15T23:18:00.000+01:00</published><updated>2013-04-15T23:19:12.007+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Noticias"/><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>Mosca Africana no Pé de um Homem</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Ele diz que a princípio, pensou que se teria magoado e coçava.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A última coisa que ele pensou é que seria uma mosca dentro da pele do seu pé. Então ele percebeu que havia um buraco pequeno e algo branco.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Achava que era seu próprio tendão ou algo assim. Mas acabou por reparar que não era o seu tendão mas sim uma Larva. Na primeira tentativa de remover a larva, falhou e a mesma voltou para dentro da sua pele. Na segunda tentativa, ele foi capaz de agarrá-la e removê-la do seu pé.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;O anfitrião disse que o procedimento normal é sufocar a larva com vaselina.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Não acredita, veja o Video;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;480&quot; src=&quot;https://www.youtube.com/embed/JWR5W-3pF7w&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-XaRUrlVqmwI/UWx8J7uY9hI/AAAAAAAAAag/PdY6fTFcggE/s1600/Buraco.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-XaRUrlVqmwI/UWx8J7uY9hI/AAAAAAAAAag/PdY6fTFcggE/s320/Buraco.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: right;&quot;&gt;Fonte; &lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://www.portaldenoticia.com/&quot; target=&quot;_blank&quot;&gt;Portal de Noticia&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/4789995506057007719/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/04/mosca-africana-no-pe-de-um-homem.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4789995506057007719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4789995506057007719'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/04/mosca-africana-no-pe-de-um-homem.html' title='Mosca Africana no Pé de um Homem'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/JWR5W-3pF7w/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-4270918115998408846</id><published>2013-04-10T19:52:00.000+01:00</published><updated>2013-04-10T19:52:15.384+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fails"/><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>Braço de ferro Fail!!!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;480&quot; src=&quot;http://www.youtube.com/embed/mQoYAZ2BLDM&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-o0Oe6NbQL9s/UWW0iYkEOtI/AAAAAAAAAZ0/oJd3R6bpOo0/s1600/fail.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://3.bp.blogspot.com/-o0Oe6NbQL9s/UWW0iYkEOtI/AAAAAAAAAZ0/oJd3R6bpOo0/s320/fail.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;UUUUUUUUUUUUUUUIIIIIIIIIII!!!!!&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/4270918115998408846/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/04/braco-de-ferro-fail.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4270918115998408846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4270918115998408846'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/04/braco-de-ferro-fail.html' title='Braço de ferro Fail!!!'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/mQoYAZ2BLDM/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-2889275767636874841</id><published>2013-04-06T00:47:00.000+01:00</published><updated>2013-04-06T00:47:04.579+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Estados emocionais"/><title type='text'>Parabéns!!!!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Feliz aniversário!!!&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-E2XfE_y7QEk/UV9ht_wIzZI/AAAAAAAAAZE/4VVaHg7K2jY/s1600/Parabens.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://1.bp.blogspot.com/-E2XfE_y7QEk/UV9ht_wIzZI/AAAAAAAAAZE/4VVaHg7K2jY/s320/Parabens.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Se queres dar os parabéns a alguém que conheças envia-lhe esta imagem...&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/2889275767636874841/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/04/parabens.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/2889275767636874841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/2889275767636874841'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/04/parabens.html' title='Parabéns!!!!'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-E2XfE_y7QEk/UV9ht_wIzZI/AAAAAAAAAZE/4VVaHg7K2jY/s72-c/Parabens.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-5537636869246502960</id><published>2013-04-03T15:17:00.002+01:00</published><updated>2013-04-03T15:17:39.369+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fails"/><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>A Trolada mais foda do mundo. hahahahaha!!!!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;480&quot; src=&quot;http://www.youtube.com/embed/aaTT4bGC4vQ&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;Hahahahahaha!!!!&lt;br /&gt;Gostaram? Partilha!!!!&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/5537636869246502960/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/04/a-trolada-mais-foda-do-mundo-hahahahaha.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5537636869246502960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5537636869246502960'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/04/a-trolada-mais-foda-do-mundo-hahahahaha.html' title='A Trolada mais foda do mundo. hahahahaha!!!!'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/aaTT4bGC4vQ/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-6470324449091294043</id><published>2013-03-06T17:44:00.001+00:00</published><updated>2013-03-06T18:24:17.735+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>Reação de um menino ao conhecer um Casal Gay</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;&lt;/div&gt;Reação de um menino ao encontrar pela primeira vez com um casal gay e tentar entender essa relação.&lt;br /&gt;Prestem atenção na reação do menino e na conclusão a que ele chega.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;480&quot; src=&quot;http://www.youtube.com/embed/-4-UXtROdGo&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-Fqz7UAase2M/UTeJs3_T6oI/AAAAAAAAAWc/ZuUE1_zQpj4/s1600/Capturar.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; src=&quot;http://2.bp.blogspot.com/-Fqz7UAase2M/UTeJs3_T6oI/AAAAAAAAAWc/ZuUE1_zQpj4/s320/Capturar.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;O que acharam???&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/6470324449091294043/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/03/reacao-de-um-menino-ao-conhecer-um.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/6470324449091294043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/6470324449091294043'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/03/reacao-de-um-menino-ao-conhecer-um.html' title='Reação de um menino ao conhecer um Casal Gay'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/-4-UXtROdGo/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-6238684066608506540</id><published>2013-03-06T17:39:00.000+00:00</published><updated>2013-03-24T15:46:02.139+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Noticias"/><title type='text'>F-Secure recomenda que internautas não utilizem o Internet Explorer 9</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-4TzXId_SFM4/UTd83D6OXSI/AAAAAAAAAWY/SShVLJWAN24/s1600/internet-explorer-9-beta-1-walkthrough-video--1279e0d7b0.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;http://2.bp.blogspot.com/-4TzXId_SFM4/UTd83D6OXSI/AAAAAAAAAWY/SShVLJWAN24/s400/internet-explorer-9-beta-1-walkthrough-video--1279e0d7b0.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Falha de segurança identificada no navegador permite a entrada de malwares do tipo Cavalo de Tróia nos computadores dos usuários.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-iPB1zzfSruU/UTd823UpLtI/AAAAAAAAAWU/2wzR7bCgEGk/s1600/122228.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;403&quot; src=&quot;http://2.bp.blogspot.com/-iPB1zzfSruU/UTd823UpLtI/AAAAAAAAAWU/2wzR7bCgEGk/s640/122228.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A F-Secure alerta para que os internautas não utilizem o navegador &lt;a href=&quot;http://www.baixaki.com.br/download/internet-explorer-9-0.htm&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Internet Explorer 9&lt;/b&gt;&lt;/a&gt; ou suas versões anteriores para navegarem na internet, uma vez que ele está sendo fortemente explorado por hackers para injetar um vírus do tipo trojan chamado “Poison Ivy” nos PCs dos usuários. A recomendação da F-Secure é que o internauta utilize outros browsers, como o &lt;b&gt;&lt;a href=&quot;http://www.google.com/intl/pt-PT/chrome/browser/&quot; target=&quot;_blank&quot;&gt;Google Chrome&lt;/a&gt;&lt;/b&gt;, o &lt;b&gt;&lt;a href=&quot;http://www.mozilla.org/pt-PT/firefox/new/&quot; target=&quot;_blank&quot;&gt;Mozilla Firefox&lt;/a&gt;&lt;/b&gt; ou o &lt;b&gt;&lt;a href=&quot;http://windows.microsoft.com/pt-pt/internet-explorer/downloads/ie-10/worldwide-languages&quot; target=&quot;_blank&quot;&gt;Internet Explorer 10&lt;/a&gt;&lt;/b&gt;, que não foram afetados.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;“Sabemos que essa vulnerabilidade tem sido usada por criminosos cibernéticos. E este incidente é diferente de qualquer outra ataque hacker, uma vez que o usuário não pode fazer nada para se proteger. Por isso a única maneira segura de usar a internet é trocar o seu navegador&quot;, alerta o diretor global de pesquisas da empresa, Mikko Hypponen.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Enquanto a correção para esta falha presente nas versões 6, 7, 8 e 9 do Internet Explorer não é liberada, a F-Secure recomenda que os usuários habilitem uma das ferramentas de proteção da companhia para bloquear a instalação de arquivos maliciosos ou removê-los do sistema.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A &lt;b&gt;&lt;a href=&quot;http://www.microsoft.com/pt-pt/default.aspx&quot; target=&quot;_blank&quot;&gt;Microsoft&lt;/a&gt;&lt;/b&gt; anunciou que está investigando as causas dessa vulnerabilidade e pediu aos usuários que reforcem suas medidas de segurança por meio da instalação de ferramentas para evitar ataques cibernéticos.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: right;&quot;&gt;Fonte; &lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://www.tecmundo.com.br/&quot; target=&quot;_blank&quot;&gt;TecMundo&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/6238684066608506540/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/03/f-secure-recomenda-que-internautas-nao.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/6238684066608506540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/6238684066608506540'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/03/f-secure-recomenda-que-internautas-nao.html' title='F-Secure recomenda que internautas não utilizem o Internet Explorer 9'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-4TzXId_SFM4/UTd83D6OXSI/AAAAAAAAAWY/SShVLJWAN24/s72-c/internet-explorer-9-beta-1-walkthrough-video--1279e0d7b0.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-4730795837498907451</id><published>2013-03-02T18:19:00.001+00:00</published><updated>2013-03-02T18:19:42.095+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Imagens"/><title type='text'>A milagrosa cura</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-8MZ62Hklmmc/UTJCUo8G2FI/AAAAAAAAAV8/lvLv1py-kYw/s1600/Cura.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-8MZ62Hklmmc/UTJCUo8G2FI/AAAAAAAAAV8/lvLv1py-kYw/s1600/Cura.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;É...Corou mesmo!!!&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/4730795837498907451/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/03/a-milagrosa-cura.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4730795837498907451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4730795837498907451'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/03/a-milagrosa-cura.html' title='A milagrosa cura'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-8MZ62Hklmmc/UTJCUo8G2FI/AAAAAAAAAV8/lvLv1py-kYw/s72-c/Cura.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-5430977351509354278</id><published>2013-02-27T13:34:00.000+00:00</published><updated>2013-02-27T13:34:10.849+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>O Menino e a Árvore</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;O video fala por si. Não acredita então veja;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/bNIoNXFNiFY&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-JRSos6U42_o/US4K3inUSFI/AAAAAAAAAVo/Gtfzd9WFeJM/s1600/Capturar.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;187&quot; src=&quot;http://4.bp.blogspot.com/-JRSos6U42_o/US4K3inUSFI/AAAAAAAAAVo/Gtfzd9WFeJM/s320/Capturar.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Vocês também ajudariam o rapaz ou esperavam que parasse de Chover?&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/5430977351509354278/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/02/o-menino-e-arvore.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5430977351509354278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/5430977351509354278'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/02/o-menino-e-arvore.html' title='O Menino e a Árvore'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/bNIoNXFNiFY/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-4127445921500101721</id><published>2013-02-27T12:55:00.002+00:00</published><updated>2013-03-24T15:46:33.771+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Noticias"/><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>Descubra o Jedi que há em si com o Myo</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A ideia não é nova, e existem várias formas de controlar um computador apenas com gestos. Mas o &lt;b&gt;Myo&lt;/b&gt; parece ser mais preciso: esta &lt;b&gt;pulseira&lt;/b&gt; é capaz de detetar a atividade elétrica dos músculos bem como os movimentos do braço, para transformar esta informação em controlo à distância, seja ele de um computador ou de gadgets eletrónicos.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-YvFXZL3GMRQ/US4BndqzwEI/AAAAAAAAAVE/pSXjpob60D8/s1600/transferir.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://4.bp.blogspot.com/-YvFXZL3GMRQ/US4BndqzwEI/AAAAAAAAAVE/pSXjpob60D8/s320/transferir.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;O vídeo demonstra as possibilidades do Myo: controlar um jogo usando os mesmos movimentos da personagem (por exemplo, para retirar a arma do coldre a apontar), usar um conjunto de gestos para controlar a leitura de um vídeo ou usar o braço para controlar um quadricóptero.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://getmyo.com/&quot; target=&quot;_blank&quot;&gt;O site da empresa já está a aceitar pré-reservas&lt;/a&gt;&lt;/b&gt; deste aparelho que custa &lt;b&gt;149 dólares&lt;/b&gt; (cerca de &lt;b&gt;115 euros&lt;/b&gt;). Todavia, o Myo só estará à venda no final do ano e em quantidades limitadas.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe frameborder=&quot;0&quot; height=&quot;360&quot; scrolling=&quot;no&quot; src=&quot;http://videos.sapo.pt/playhtml?file=http://rd3.videos.sapo.pt/g10M1IM0TlBwyP76ziM4/mov/1&amp;amp;quality=sd&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;O que acham da ideia???&lt;/b&gt;&lt;br /&gt;&lt;div style=&quot;text-align: right;&quot;&gt;Fonte; &lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://exameinformatica.sapo.pt/&quot; target=&quot;_blank&quot;&gt;Exame Informatica&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/4127445921500101721/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/02/descubra-o-jedi-que-ha-em-si-com-o-myo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4127445921500101721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4127445921500101721'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/02/descubra-o-jedi-que-ha-em-si-com-o-myo.html' title='Descubra o Jedi que há em si com o Myo'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-YvFXZL3GMRQ/US4BndqzwEI/AAAAAAAAAVE/pSXjpob60D8/s72-c/transferir.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-4613304229840368233</id><published>2013-02-27T12:25:00.002+00:00</published><updated>2013-02-27T12:46:39.619+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Videos"/><title type='text'>Atitude digna do ser Humano</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;No dia &lt;b&gt;23&lt;/b&gt; de &lt;b&gt;Fevereiro&lt;/b&gt; do decorrente ano, em&amp;nbsp;Nottingham, Reino Unido no decorrer de uma manifestação organizada por membros do coletivo &lt;b&gt;&lt;a href=&quot;http://pt.wikipedia.org/wiki/Anonymous&quot; target=&quot;_blank&quot;&gt;Anonymous&lt;/a&gt;, &lt;/b&gt;tiveram uma atitude de um verdadeiro ser Humano. Enquanto passavam numa das ruas que&amp;nbsp;percorreram&amp;nbsp;deram de caras com um pedinte sentado na calça, de imediato vários membros do coletivo &lt;b&gt;&lt;a href=&quot;http://anonymouspt.blogspot.pt/&quot; target=&quot;_blank&quot;&gt;Anonymous&lt;/a&gt;&lt;/b&gt;&amp;nbsp;dispuseram-se a dar algum dinheiro ao pedinte. Ao que parece um dos manifestantes chega mesmo a sentar-se ao lado do pedinte e enquanto o abraça chora pela situação deste Sr. ali sentado a espera de uma esmola para poder sobreviver.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;Veja o video e tire as suas&amp;nbsp;conclusões;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;http://www.youtube.com/embed/CyY0Bct6qz8&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-VL4cfPtZDv8/US3631JpVYI/AAAAAAAAAUw/MLdH8IzDhSM/s1600/Capturar.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;347&quot; src=&quot;http://1.bp.blogspot.com/-VL4cfPtZDv8/US3631JpVYI/AAAAAAAAAUw/MLdH8IzDhSM/s640/Capturar.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;b&gt;Deixem a vossa opinião...&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/4613304229840368233/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/02/atitude-digna-do-ser-humano.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4613304229840368233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/4613304229840368233'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/02/atitude-digna-do-ser-humano.html' title='Atitude digna do ser Humano'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/CyY0Bct6qz8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1555411709787228843.post-3210132569902222487</id><published>2013-02-25T15:05:00.002+00:00</published><updated>2013-03-24T15:47:07.868+00:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Outros"/><title type='text'>10 Fatos estranhos sobre a gravidez que pouca gente sabe</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Se você é uma mulher e ainda não engravidou, ou um homem que quer compreender melhor o que uma gestante passa, atente a essa lista. Aqui existem 10 coisas estranhas e talvez até perturbadoras que acontecem durante a gravidez, e que provavelmente ninguém vai lhe contar.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;10) O pai também pode ter sintomas de gravidez;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-5Z9CzBjJz3U/USt0wXGosaI/AAAAAAAAATU/oeLZLo97txo/s1600/10.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-5Z9CzBjJz3U/USt0wXGosaI/AAAAAAAAATU/oeLZLo97txo/s400/10.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;É surpreendentemente comum que um futuro pai comece a ganhar peso, ter enjoo matinal ou até sentir dores no seu&amp;nbsp;abdómen&amp;nbsp;inferior. A condição é conhecida como Síndrome de Couvade, que vem da palavra francesa “couvee” que significa “chocar”&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;9) O pé da mulher pode crescer um número de sapato;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-5DNj8gUCju0/USt1W-Dh0zI/AAAAAAAAATc/KBaNq3Io6uk/s1600/9.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-5DNj8gUCju0/USt1W-Dh0zI/AAAAAAAAATc/KBaNq3Io6uk/s400/9.jpg&quot; width=&quot;393&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Se está querendo saber por que os seus pés ficam tão grandes, se você só precisa ganhar 11 quilos, tem a ver com o excesso de pressão nos pés com os ligamentos relaxados no seu corpo. Conforme a gravidez avança, o seu corpo começa a liberar a tensão dos seus ligamentos para ajudar com o processo do parto. Infelizmente para os seus sapatos, isso também significa que o seu pé começa a se estender para ambos os lados. Isso provavelmente será temporário, mas se eles crescerem muito, a mudança poderá ser permanente. Se os seus pés ficarem um pouco maiores, certamente servirá como uma ótima desculpa para comprar mais sapatos.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;8 ) A mulher não precisa comer por dois;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-32oRCzpYgYw/USt2Fxm-psI/AAAAAAAAATk/zIvAx_U4_L0/s1600/8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;248&quot; src=&quot;http://1.bp.blogspot.com/-32oRCzpYgYw/USt2Fxm-psI/AAAAAAAAATk/zIvAx_U4_L0/s400/8.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Apesar dos boatos de que as grávidas precisam ganhar todo o peso que podem para terem um bebé saudável, a verdade é que a maioria das mulheres só tem que comer um extra de 300 calorias por dia. Isso é equivalente a cerca de um iogurte e metade de um pão, por exemplo. Também, a maioria das mulheres só precisa ganhar cerca de 11 quilos durante a gravidez inteira. Claro que você pode ignorar o fato e usar isso como desculpa para comer em dobro. Ninguém vai ter coragem de falar alguma coisa a uma grávida.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;7) As contrações não param com o nascimento;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-tHbHpjFM3Us/USt2oDkVPNI/AAAAAAAAATs/9mTa13fV0mQ/s1600/7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298&quot; src=&quot;http://4.bp.blogspot.com/-tHbHpjFM3Us/USt2oDkVPNI/AAAAAAAAATs/9mTa13fV0mQ/s400/7.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A maioria das mães tem contrações até os primeiros dias após o nascimento do seu filho(a). As cãibras musculares são a maneira do corpo parar a perda de sangue em excesso. Porém, se você dá à luz no hospital, pode estar ainda muito drogada e provavelmente mal vai perceber o fato.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;6) O seu olfato melhora;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-iSHHk2VllOc/USt3IPTeQGI/AAAAAAAAAT0/GLD02CDRUhY/s1600/6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-iSHHk2VllOc/USt3IPTeQGI/AAAAAAAAAT0/GLD02CDRUhY/s400/6.jpg&quot; width=&quot;305&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Durante a gravidez, o seu olfato aumenta drasticamente, assim como o seu paladar. Os cientistas acreditam que isso ajuda as grávidas a evitar o consumo de pequenos níveis de toxinas que não são perigosos para um adulto, mas podem ser mortais para o feto. E já que o álcool, a tabaco e o café são particularmente notáveis às mulheres grávidas, essa teoria parece estar no caminho certo.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;5) A mulher realmente vai brilhar;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-LFRH4OoR7Ik/USt3qCz2XwI/AAAAAAAAAT8/HLrQWX6vVBY/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;377&quot; src=&quot;http://3.bp.blogspot.com/-LFRH4OoR7Ik/USt3qCz2XwI/AAAAAAAAAT8/HLrQWX6vVBY/s400/5.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Não, isso não é um elogio pela sua excitação em se tornar uma mamãe. Como se constata, a pele brilhante é muito real em mulheres grávidas. Enquanto você estiver grávida, a quantidade de sangue no seu corpo aumenta 50%. O sangue extra acaba aparecendo através da pele em muitas áreas, especialmente nas bochechas. Além disso, os hormônios fazem com que as glândulas de óleo se tornem mais ativas, resultando em uma aparência mais suave e brilhante. Quando o aumento do fluxo sanguíneo combina com essa aparência, o resultado é um brilho bastante perceptível.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;4) A mulher pode defecar em si mesma;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-et1eHZU7PqE/USt4Gjig_cI/AAAAAAAAAUE/SRVKBfECu30/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-et1eHZU7PqE/USt4Gjig_cI/AAAAAAAAAUE/SRVKBfECu30/s400/4.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Durante o parto, é extremamente comum que uma mulher acidentalmente expulse o “conteúdo” do seu corpo. Há uma boa razão para isso: os músculos que você usa para empurrar o bebé para fora são os mesmos que você normalmente usa durante uma evacuação. Como se isso não fosse suficiente, o bebé empurra diretamente o reto quando está nascendo, ajudando a espremer qualquer coisa perto dessa saída. Hoje em dia, os médicos e enfermeiros estão prontos para ajudar a limpar numa situação dessas. Na maioria dos casos, eles nem sequer avisam a paciente, para que ela não saiba a diferença. Mas isso com certeza faz você pensar duas vezes sobre filmar o nascimento do seu filho(a), não?&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;3) Sua vagina pode precisar de alguns (ou muitos) pontos;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-Nce2k82qXBs/USt43oT_B5I/AAAAAAAAAUM/3kvCbHg4jJc/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;387&quot; src=&quot;http://2.bp.blogspot.com/-Nce2k82qXBs/USt43oT_B5I/AAAAAAAAAUM/3kvCbHg4jJc/s400/3.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;O último lugar que qualquer mulher gostaria de levar pontos é na sua vagina, mas muitas mães têm que fechar essa área cirurgicamente. Nove em cada dez mulheres têm algum tipo de rasgo vaginal após o nascimento do seu filho(a). Há muitos graus de ruptura. Alguns rasgos só exigem um pouco de cuidado ou alguns pontos, mas os casos realmente ruins vão da vagina ao ânus. Alguns podem até mesmo afetar os músculos além do ânus. Mas esse caso é raro e afeta apenas uma em cada cem mães. Massagear a área antes do nascimento da criança pode reduzir a chance de rasgo, mas, mesmo assim, não o impede totalmente de acontecer. Já decidiu pela cesariana?&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;2) O feto masculino pode ter ereção dentro do útero;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-yhCbU4SZ3Mk/USt5mXOq5PI/AAAAAAAAAUU/_Yl4MWxuC48/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;341&quot; src=&quot;http://1.bp.blogspot.com/-yhCbU4SZ3Mk/USt5mXOq5PI/AAAAAAAAAUU/_Yl4MWxuC48/s400/2.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Está bem, esse é realmente perturbador. A maioria das mães não gosta de pensar nos seus filhos tendo ereções nem mesmo quando adolescentes, mas o fato é que o bebé começa a ter ereções ainda dentro do útero. Os cientistas afirmam que os&amp;nbsp;bebés&amp;nbsp;de ambos os sexos se masturbam no útero, mas os meninos são os únicos que podem ser “apanhados no ato” na ecografia.&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;1) Você pode ficar grávida por um ano inteiro;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-ikLBIiz2jlg/USt6JHeFVlI/AAAAAAAAAUc/mI3q8fVXKjc/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;266&quot; src=&quot;http://2.bp.blogspot.com/-ikLBIiz2jlg/USt6JHeFVlI/AAAAAAAAAUc/mI3q8fVXKjc/s400/1.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;A maioria das mães espera cerca de nove meses, e os médicos podem induzir o parto se a gravidez continuar por muito tempo. Porém, sim, é possível estar grávida durante um ano inteiro. A gestação mais longa do mundo durou 375 dias, e, estranhamente, o bebé tinha apenas cerca de 3 quilos. Isso certamente coloca toda uma nova perspectiva em algumas semanas de atraso.&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;a href=&quot;http://iorbix.com/index.php?i=5308782970766&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;http://pubimages.iorbix.com/420x60-AD-PT.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Deixem um comentário com a vossa opinião....&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.obloggueiro.pt/feeds/3210132569902222487/comments/default' title='Enviar comentários'/><link rel='replies' type='text/html' href='http://www.obloggueiro.pt/2013/02/10-fatos-estranhos-sobre-gravidez-que.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/3210132569902222487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1555411709787228843/posts/default/3210132569902222487'/><link rel='alternate' type='text/html' href='http://www.obloggueiro.pt/2013/02/10-fatos-estranhos-sobre-gravidez-que.html' title='10 Fatos estranhos sobre a gravidez que pouca gente sabe'/><author><name>Joaquim Venâncio</name><uri>https://plus.google.com/112061637124394327382</uri><email>[email protected]</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-4FeJki-99Sg/AAAAAAAAAAI/AAAAAAAAAgE/rPZ1qcceb6w/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-5Z9CzBjJz3U/USt0wXGosaI/AAAAAAAAATU/oeLZLo97txo/s72-c/10.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid Atom 1.0" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//www.obloggueiro.pt/feeds/posts/default

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda