<?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-594081197185341578</id><updated>2024-10-24T13:27:27.964-03:00</updated><category term="internet"/><category term="squid"/><category term="squidguard"/><category term="emulador"/><category term="iftop"/><category term="ipv6"/><category term="kernel"/><category term="livros"/><category term="mathjax"/><category term="nfe"/><category term="openfire"/><category term="python"/><category term="roteamento"/><category term="svn apache"/><category term="youtube"/><title type='text'>Alessandro Madruga</title><subtitle type='html'>Meu objetivo aqui é escrever sobre qualquer coisa, já que possuo certa dificuldade em me expressar, seja de forma escrita ou verbal ;)&#xa;E também que aqui seja um &quot;repositório&quot; de informações para quando eu precisar, ter onde consultar. Já que o cérebro não ajuda muito.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-172286968895776218</id><published>2013-09-26T14:08:00.000-03:00</published><updated>2013-09-26T14:08:42.383-03:00</updated><title type='text'>MathJax no Blogger (CDN)</title><content type='html'>&lt;br /&gt;
Este post é uma atualização de anteriores (&lt;a href=&quot;http://progressaoaritmeticaucs.blogspot.com/2010/10/mathjax-no-blogger.html&quot; target=&quot;_blank&quot;&gt;1&lt;/a&gt; e &lt;a href=&quot;http://mutleysandro.blogspot.com.br/2011/01/mathjax.html&quot; target=&quot;_blank&quot;&gt;2&lt;/a&gt;), faz algum tempo que o MathJax disponibilizou um CDN então desativei o espelho do meu servidor, e passei a utilizar nesse blog o do CDN.&lt;br /&gt;
&lt;br /&gt;
Instalação:&lt;br /&gt;
&lt;br /&gt;
Painel do Blogger &amp;gt;&amp;gt; Modelo &amp;gt;&amp;gt; Editar HTML&lt;br /&gt;
&lt;br /&gt;
Procurar a tag &amp;lt;head&amp;gt; e adicionar logo abaixo o código:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f1f8ff; border-bottom-color: rgb(103, 153, 179); border-bottom-width: 2px; border-style: solid none; border-top-color: rgb(103, 153, 179); border-top-width: 2px; color: #444444; font-size: 13px; line-height: 16px; overflow: auto; padding: 5px;&quot;&gt;&lt;span class=&quot;nt&quot; style=&quot;color: #0b5394; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;nt&quot; style=&quot;color: #0b5394; font-weight: bold;&quot;&gt;script&lt;/span&gt;&lt;span class=&quot;nt&quot; style=&quot;color: #062873; font-weight: bold;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;src=&#39;&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;http://cdn.mathjax.org/mathjax/latest/MathJax.js&#39; type=&#39;text/javascript&lt;span class=&quot;s&quot;&gt;&#39;&lt;/span&gt;&lt;span class=&quot;nt&quot; style=&quot;color: #0b5394; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;    
    &lt;span class=&quot;nx&quot;&gt;MathJax&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Hub&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;Config&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;({&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;HTML&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;input/TeX&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;output/HTML-CSS&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;],&lt;/span&gt;
        TeX&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; {&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;extensions&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;AMSmath.js&quot;,&quot;AMSsymbols.js&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;],&amp;nbsp;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;               &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;equationNumbers&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;autoNumber&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;AMS&quot;&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;&lt;/span&gt;
        extensions&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;tex2jax.js&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;],&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;        &lt;/span&gt;&lt;span class=&quot;nx&quot; style=&quot;color: #333333;&quot;&gt;jax&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;input/TeX&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;output/HTML-CSS&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;
        &lt;/span&gt;&lt;span class=&quot;nx&quot; style=&quot;color: #333333;&quot;&gt;tex2jax&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;{ &lt;/span&gt;&lt;span class=&quot;nx&quot; style=&quot;color: #333333;&quot;&gt;inlineMath&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #333333;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;$&#39;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;$&#39;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;\\(&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;\\)&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;
                   &lt;/span&gt;&lt;span class=&quot;nx&quot; style=&quot;color: #333333;&quot;&gt;displayMath&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #666666;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;$$&#39;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: #4070a0;&quot;&gt;&#39;$$&#39;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;\\[&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: #4070a0;&quot;&gt;&quot;\\]&quot;&lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot; style=&quot;color: #333333;&quot;&gt;],&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333;&quot;&gt;
                   &lt;/span&gt;&lt;span class=&quot;nx&quot; style=&quot;color: #333333;&quot;&gt;processEscapes&lt;/span&gt;&lt;span class=&quot;o&quot; style=&quot;color: #333333;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #666666;&quot;&gt;: &lt;/span&gt;&lt;b style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;true &lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt;&lt;span class=&quot;p&quot;&gt;},&lt;/span&gt;
        &lt;span class=&quot;s2&quot;&gt;&quot;HTML-CSS&quot;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;nx&quot;&gt;availableFonts&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;TeX&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;],&lt;/span&gt;
&lt;span class=&quot;nx&quot;&gt;                      &lt;/span&gt;&lt;span class=&quot;nx&quot;&gt;linebreaks&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;: { automatic:&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt; &lt;/span&gt;&lt;b style=&quot;color: #666666;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;true&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt;&lt;span class=&quot;o&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;} &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #666666;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #444444;&quot;&gt;    &lt;span class=&quot;p&quot;&gt;});&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #666666;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nt&quot; style=&quot;color: #0b5394; font-weight: bold;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Pronto! MathJax instalado e funcionando.</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/172286968895776218/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2013/09/mathjax-no-blogger-cdn.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/172286968895776218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/172286968895776218'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2013/09/mathjax-no-blogger-cdn.html' title='MathJax no Blogger (CDN)'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-7907283297192521583</id><published>2011-12-01T11:07:00.001-02:00</published><updated>2011-12-01T11:15:38.729-02:00</updated><title type='text'>Spamassassin bloqueio/liberação pelo nome do anexo</title><content type='html'>&lt;br /&gt;
Precisei liberar um e-mail que tinha um anexo com uma extensão maluca, procurei na documentação do spamassassin, e não tinha nada que ajudasse, e também no google. Demorei um tempão para encontrar.&lt;br /&gt;
&lt;br /&gt;
describe LOCAL_TEST1 adicionado para liberar extensao teste...&lt;br /&gt;
full &amp;nbsp; LOCAL_TEST1 &amp;nbsp; &amp;nbsp; /Content-Disposition: attachment; filename=[a-zA-Z0-9._-]*\.gxs/&lt;br /&gt;
score LOCAL_TEST1 -50&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Onde o .gxs era a extensão do anexo.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/7907283297192521583/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/12/spamassassin-bloqueioliberacao-pelo.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/7907283297192521583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/7907283297192521583'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/12/spamassassin-bloqueioliberacao-pelo.html' title='Spamassassin bloqueio/liberação pelo nome do anexo'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-258047843602800327</id><published>2011-10-31T14:34:00.000-02:00</published><updated>2011-10-31T14:34:06.153-02:00</updated><title type='text'>TOEFL, tips and traps</title><content type='html'>Semana passada fiz a prova do TOEFL, na verdade ela não é muito difícil e não tem pegadinhas como dizem por aí, das palavras terminadas em -ed e -ing ou coisas do gênero, as perguntas exigem apenas que você tenha entendido o texto, mas os textos não são nem um pouco fáceis de ler, são todos extensos e o tempo disponível nem sempre é o suficiente (pelo menos para mim não foi, mas eu acho que sou um pouco lento para ler mesmo ;) ou melhor o tempo é muito curto, como já tinha lido sobre isso antes, eu nem perdi meu tempo lendo os textos eu fui direto nas perguntas e então procurava a passagem no texto e respondia caso contrário duvido que dê tempo de responder.&lt;br /&gt;
O lado bom do teste do TOEFL que inicia pelo reading, pois é muito tempo de leitura e concentração nas perguntas. Entre um texto e outro tive que parar um tempinho, pois os olhos cansam...&lt;br /&gt;
Depois vem o listening, uma coisa que eu não gostei é que nas perguntas o narrador fala MUITO claro, mas quando é o diálogo para responder as perguntas que vem logo após, o som já não é tão claro assim, eu sou meio surdo, por padrão, em inglês com o audio &quot;piorado&quot; do diálogos ajudou ainda mais para minha nota horrível ;)&lt;br /&gt;
Outra coisa MUITO ruim do listening é que não tem como trocar a resposta de uma questão já respondida.&lt;br /&gt;
Depois do intervalo, vem a parte pior... speaking.&lt;br /&gt;
Como todos iniciam juntos o teste e passam pelas mesmas etapas, no speaking vira um enrosco só... No centro que eu fiz em São José - SC, na sala de testes todos ficam próximo e em forma de círculo uns de frente para os outros eu não achei muito legal isso pois eu não me senti confortável para falar (não que fosse melhorar a minha performance se eu estivesse sozinho) e fica difícil de se concentrar nas perguntas, o tempo disponível para pensar o que responder é muito pouco, e para responder parece uma eternidade hehe.&lt;br /&gt;
Em algum lugar eu li que era bom ficar atrasado e escutar o que os outros falam para usar como resposta, acho que isso não funciona mais, pelo que escutei não pareceu nada com o teste que eu tinha.&lt;br /&gt;
A última parte do teste do TOEFL é o writing, são apenas duas perguntas, uma com um texto nada pequeno seguido de um listening também grande, e então tu tem que fazer um texto respondendo/defendendo o listening e/ou o texto 150 palavras pelo menos.&lt;br /&gt;
O segundo texto já é mais complicadinho (pelo tempo), tem que ter pelo menos 300 palavras, eles fornecem um assunto e você tem que fazer um &quot;ensaio&quot; (essay), o meu era para dizer o que eu achava sobre tal assunto (quando você vai fazer o check-in, tem que assinar um termo de compromisso que não vai nem comentar sobre a prova com outra pessoa).&lt;br /&gt;
Aqui um dos problemas é o tempo (sim eu sei que sou lento para pensar...), meu texto ficou muito simples, minha pontuação ficou bem baixa, aqui o bom é usar palavras difíceis é nessa parte que eles vão ver se tu sabe um pouco de gramática ou não...&lt;br /&gt;
O legal que no resultado eles dizem mais ou menos no que tu errou e como foi o desempenho não é apenas a pontuação final e deu...&lt;br /&gt;
Bom, eu gastei quase R$ 700 e não consegui tirar a pontuação que precisava (80), mas foi legal (e cansativo, caxias - floripa é uma BOA viagem..., comprovei que sou surdo em inglês, mas me impressionei que meu speaking é melhor que meu writing (não sei como mas tudo bem...).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/258047843602800327/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/10/toefl-tips-and-traps.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/258047843602800327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/258047843602800327'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/10/toefl-tips-and-traps.html' title='TOEFL, tips and traps'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-6487067358428908466</id><published>2011-09-13T16:34:00.000-03:00</published><updated>2011-09-14T09:12:27.469-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="internet"/><category scheme="http://www.blogger.com/atom/ns#" term="roteamento"/><title type='text'>Blocos de IPs alocados para o Brasil</title><content type='html'>Como saber quais os blocos de IPs alocados para o Brasil?&lt;br /&gt;
&lt;div&gt;
Segue a dica.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
baixar a lista dos blocos de IPs que já foram delegados.&lt;/div&gt;
&lt;div&gt;
# wget ftp://ftp.lacnic.net/pub/stats/lacnic/delegated-lacnic-latest&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
# logaritmo copiado do site http://phodd.net/gnu-bc/bcfaq.html#bashlog&lt;br /&gt;
log() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;local x=$1 n=2 l=-1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;if [ &quot;$2&quot; != &quot;&quot; ];then&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;n=$x;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;x=$2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;fi;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;while ((x)); do&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;let l+=1 x/=n;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;done;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;echo $l;&lt;br /&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Assumindo que você está no mesmo diretório que baixou a lista da lacnic.&lt;/div&gt;
&lt;div&gt;
# grep &lt;b&gt;BR&lt;/b&gt; delegated-lacnic-latest | grep &lt;b&gt;ipv4&lt;/b&gt; | awk -F&#39;|&#39; &#39;{print $4, $5}&#39; | while read ip mask; do  m=$(log $mask); echo &quot;$ip/$((32-$m))&quot;;  done&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Tem alguns problemas que eu vi, mas não sei se é a lista que está desatualizada...&lt;/div&gt;
&lt;div&gt;
Exemplo os blocos: 200.20.0.0/&lt;b&gt;&lt;i&gt;16&lt;/i&gt;&lt;/b&gt;  200.96.0.0/&lt;b&gt;&lt;i&gt;13&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Se utilizar o whois, retorna respectivamente os valores 200.20.0.0/&lt;b&gt;&lt;i&gt;21&lt;/i&gt;&lt;/b&gt; 200.96.0.0/&lt;b&gt;&lt;i&gt;16&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/6487067358428908466/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/09/blocos-de-ips-alocados-para-o-brasil.html#comment-form' title='1 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/6487067358428908466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/6487067358428908466'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/09/blocos-de-ips-alocados-para-o-brasil.html' title='Blocos de IPs alocados para o Brasil'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-1213960624202529513</id><published>2011-06-21T01:58:00.001-03:00</published><updated>2011-06-21T09:32:56.275-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="livros"/><title type='text'>Mundo dos Livros</title><content type='html'>&amp;nbsp;&amp;nbsp; &amp;nbsp;A uma semana atrás comprei um livro no site&amp;nbsp;http://www.mundolivros.com.br, normalmente eu&lt;br /&gt;
faço compra de livros na estante virtual, esse site eu não conhecia, mas como era um livro que eu&lt;br /&gt;
queria e nos outros lugares &amp;nbsp;que achei o preço estava&amp;nbsp;terrivelmente&amp;nbsp;mais caro resolvi arriscar.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; A navegação no site é extremamente lenta, com certeza era do site, pois testei da empresa que tem 50Mb e não mudou nada, para criar o usuário não foi um problema, as formas de pagamento são até interessantes, não é como na estante virtual que você faz o deposito bancário, lá tem a &quot;possibilidade&quot; de pagar por boleto (não tem como pagar via depósito), ou cartão, no cartão eu não quis arriscar, se desse problema&amp;nbsp;no boleto eu teria menos prejuízo e dor de cabeça.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Tive um certo receio, pois demorou um certo para o boleto ser &quot;processado&quot;, e quando foi, recebi apenas um e-mail avisando que foi postado, mas não tinha o número de rastreio dos correios, tive que enviar 2 e-mails para receber um retorno, mas obtive, e com o número.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;Bom, me livro chegou aqui está ele.&lt;br /&gt;
&lt;br /&gt;
Introdução à Programação Linear. Editora Campus, 3ª ed., 1988 Bregalda, P.F., Oliveira, A.F. e Bornstein&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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiRhoBPwspK3d7IEd1XIx6GMLHJR0iSKOqyKNpoFdSgwCRIlF-1jQEK1NU2-aTl7ROneTOtNdcssFyWm9uYeeIXq1n6bE8yYFyktDBwI-jcvhwPMBmtMCWv0EMyp4jr6AOBFumKTHj3fA/s1600/livro.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiRhoBPwspK3d7IEd1XIx6GMLHJR0iSKOqyKNpoFdSgwCRIlF-1jQEK1NU2-aTl7ROneTOtNdcssFyWm9uYeeIXq1n6bE8yYFyktDBwI-jcvhwPMBmtMCWv0EMyp4jr6AOBFumKTHj3fA/s200/livro.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/1213960624202529513/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/06/mundo-dos-livros.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/1213960624202529513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/1213960624202529513'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/06/mundo-dos-livros.html' title='Mundo dos Livros'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiRhoBPwspK3d7IEd1XIx6GMLHJR0iSKOqyKNpoFdSgwCRIlF-1jQEK1NU2-aTl7ROneTOtNdcssFyWm9uYeeIXq1n6bE8yYFyktDBwI-jcvhwPMBmtMCWv0EMyp4jr6AOBFumKTHj3fA/s72-c/livro.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-3619153018038616960</id><published>2011-06-14T00:31:00.000-03:00</published><updated>2011-06-14T00:31:20.775-03:00</updated><title type='text'>Como se calcula a prestação do imóvel com variação pelo INCC? | Financiamento Imobiliário | Acerto de Contas | Economia, Política e Atualidades</title><content type='html'>&lt;a href=&quot;http://acertodecontas.blog.br/financiamento-imobiliario/como-se-calcula-a-prestacao-do-imovel-com-variacao-pelo-incc/&quot;&gt;Como se calcula a prestação do imóvel com variação pelo INCC? | Financiamento Imobiliário | Acerto de Contas | Economia, Política e Atualidades&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;   Comprei um apartamento pela caixa, e &quot;notei&quot; que as prestações não aumentavam com juros simples e sim composto, dai achei esse site e vi o porque, que sacanagem esse imposto heim, o cara compra um cubículo e paga o valor de um mega apartamento....Além que aqui em Caxias é um absurdo o valor de terrenos e casas...&lt;/div&gt;&lt;div&gt;  É bem interessante o blog, dêem uma olhada.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/3619153018038616960/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/06/como-se-calcula-prestacao-do-imovel-com.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/3619153018038616960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/3619153018038616960'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/06/como-se-calcula-prestacao-do-imovel-com.html' title='Como se calcula a prestação do imóvel com variação pelo INCC? | Financiamento Imobiliário | Acerto de Contas | Economia, Política e Atualidades'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-4765246322061635218</id><published>2011-06-02T11:29:00.001-03:00</published><updated>2011-06-02T11:32:06.383-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="svn apache"/><title type='text'>SVN: APR does not understand this error code</title><content type='html'>Instalei um servidor novo de subversion com apache2 e quando fui dar um commit recebi o erro:&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;amcorreia@host:~/repos/$ svn ci -m &#39;teste&#39;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;svn: Commit failed (details follow):&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;svn: Can&#39;t open activity db: APR does not understand this error code&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Resolvi meu problema da seguinte forma:&lt;br /&gt;
-Alterei as permissões para o usuário do apache (www-data)&lt;/div&gt;&lt;div&gt;-Criei o diretório dav dentro do repositório (caso não exista)&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;i&gt;root@host:/var/lib/svn/repos# pwd&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;/var/lib/svn/repos&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;root@host:/var/lib/svn/repos# ls&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;README.txt  conf  db  format  hooks  locks&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: normal;&quot;&gt;&lt;i&gt;root@host:/var/lib/svn/repos# mkdir dav&lt;/i&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;root@host:/var/lib/svn/repos# chown www-data:www-data -R *&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;root@host:/var/lib/svn/repos# find -type f -exec chmod 550 {} \;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;root@host:/var/lib/svn/repos# find -type d -exec chmod 770 {} \;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;E tudo funcionou.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/4765246322061635218/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/06/svn-apr-does-not-understand-this-error.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/4765246322061635218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/4765246322061635218'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/06/svn-apr-does-not-understand-this-error.html' title='SVN: APR does not understand this error code'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-4114770897188065765</id><published>2011-05-23T12:08:00.001-03:00</published><updated>2011-05-23T12:17:08.140-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="emulador"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><title type='text'>Javascript PC Emulator - Technical Notes</title><content type='html'>&lt;a href=&quot;http://bellard.org/jslinux/tech.html&quot;&gt;Javascript PC Emulator - Technical Notes&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Hoje pesquisando sobre memória, achei algo muito legal, um kernel emulado via Javascript, o código fonte do emulador ainda não é disponibilizado, mas no site podemos testar (roda local claro). A velocidade é bem aceitável.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/4114770897188065765/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/05/javascript-pc-emulator-technical-notes.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/4114770897188065765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/4114770897188065765'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/05/javascript-pc-emulator-technical-notes.html' title='Javascript PC Emulator - Technical Notes'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-8348911377690510884</id><published>2011-05-09T14:17:00.001-03:00</published><updated>2011-05-09T14:19:56.735-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="internet"/><title type='text'>vivo 3g</title><content type='html'>eeeeeba! finalmente depois de 5 anos sem internet em casa, assinei o mega ultra hiper plano da vivo 3G.&lt;br /&gt;
É uma beleza mesmo viver no brasil, pagar R$ 30/mês para ter uma bosta de internet e ainda ter uma limitação de transferência em 150Mb, isso é o cúmulo, eu no primeiro dia do plano estourei esse limite e olha que foi uma navegação normal, apenas olhei meu e-mails e fiz umas pesquisas para fazer um trabalho da faculdade.&lt;br /&gt;
Se não existisse a maldita venda casa de internet (net + telefone), poderia pegar uma conexão decente por um preço melhor, mas... estamos no brasil.. ah eu teria a opção de pegar a NET (tv a cabo), mas adivinhem, não tem cabo no meu bairro, que maravilha não?! isso que eu moro a ~5km do centro da cidade do lado da UCS para ser mais preciso.&lt;br /&gt;
Agora começa a peleja para fazer funcionar no meu ubuntu.</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/8348911377690510884/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/05/vivo-3g.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/8348911377690510884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/8348911377690510884'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/05/vivo-3g.html' title='vivo 3g'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-465151870211073472</id><published>2011-04-28T14:22:00.002-03:00</published><updated>2011-05-23T12:15:29.598-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ipv6"/><title type='text'>IPv6 e o suporte ao cliente</title><content type='html'>Hoje, fui olhar meu blog e como sigo meu camarada Marcio, vi o &lt;a href=&quot;http://tremarinti.blogspot.com/2011/04/ipv6-muito-em-breve.html&quot;&gt;post&lt;/a&gt; dele sobre IPv6.&lt;br /&gt;
&lt;div&gt;Isso me fez lembrar a uns anos atrás, quando eu imaginava como seria o uso do mesmo, sabemos que vai aumentar drásticamente a quantidade de endereços, mas e a forma com é escrito?&lt;/div&gt;&lt;div&gt;Para quem trabalha com informática até não será tanto problema (convenhamos que não é algo prático de lembrar de cabeça, ou mesmo ditar para outras pessoas), mas agora imagine quem trabalha com suporte (assim como eu), que muitas vezes tem que conversar com pessoas que nem o formato atual de IPs consegue nos dizer, e no telefone então? se a pessoa errar uma letra será um parto de burro corrigir.&lt;/div&gt;&lt;div&gt;Enfim, dá de ter uma ideia de que teremos muitos problemas... hehehe&lt;br /&gt;
Mas o legal é que dá de escrever frases nos IPs, f0da:5e::01, entre outras, huahuahuah&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/465151870211073472/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/04/ipv6-e-o-suporte-ao-cliente.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/465151870211073472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/465151870211073472'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/04/ipv6-e-o-suporte-ao-cliente.html' title='IPv6 e o suporte ao cliente'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-6328776822282798876</id><published>2011-04-08T15:38:00.002-03:00</published><updated>2014-06-10T21:00:42.607-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="openfire"/><title type='text'>Apagar histórico de conversas no openfire</title><content type='html'>Para quem usa o plugin de log de conversas no openfire e quer apagar as conversas, eu&lt;br /&gt;
&lt;div&gt;
escrevi um mini-script para apagar, ele apaga apenas de um determinado usuário.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Ex:&lt;/div&gt;
&lt;div&gt;
# ./ofhistdel.py zequinha@ficou.sem.log&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Segue endereço do script:&amp;nbsp;&lt;a href=&quot;https://github.com/amcorreia/openfire-cli/archive/master.zip&quot;&gt;https://github.com/amcorreia/openfire-cli/archive/master.zip&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
*****&lt;br /&gt;
Atualização (2014-04-30): Alterado nome do repositório&lt;br /&gt;
&lt;a href=&quot;https://github.com/amcorreia/openfire-cli&quot;&gt;https://github.com/amcorreia/openfire-cli&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Atualização (2012-08-28): O código está hospedado na minha conta do Github&lt;br /&gt;
&lt;a href=&quot;https://github.com/amcorreia&quot;&gt;https://github.com/amcorreia&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/6328776822282798876/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/04/apagar-historico-de-conversas-no.html#comment-form' title='20 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/6328776822282798876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/6328776822282798876'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/04/apagar-historico-de-conversas-no.html' title='Apagar histórico de conversas no openfire'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-7968451226131705506</id><published>2011-02-16T17:08:00.001-02:00</published><updated>2011-02-17T14:05:45.130-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iftop"/><title type='text'>iftop</title><content type='html'>Guia básico de utilização do iftop&lt;br /&gt;
&lt;br /&gt;
para utilizar, chamar na linha de comando&lt;br /&gt;
# iftop&lt;br /&gt;
&lt;br /&gt;
IP:PORTA                Fluxo    IPORTA                     MT1     MT2     MT3&lt;br /&gt;
200.200.200.200:51774    &lt;=&gt;    66.150.117.32:443          30.6Kb  30.6Kb  30.6Kb&lt;br /&gt;
200.200.200.200:51570    &lt;=&gt;    66.150.117.32:443          30.3Kb  30.3Kb  30.3Kb&lt;br /&gt;
&lt;br /&gt;
Fluxo é entrada/saída de tráfego senão aparecerá apenas &#39;=&gt;&#39; ou &#39;&lt;=&#39;, dependendo das opções escolhidas.
Sendo que nesse caso &#39;&lt;=&gt;&#39; indica que é o somatório do tráfego de upload/download, que pode&lt;br /&gt;
ser alterado pressionando a tecla &#39;t&#39;.&lt;br /&gt;
As colunas IP:PORTA não é garantido que na primeira coluna sempre terá os IPs&lt;br /&gt;
locais, mas nesse caso sim. A configuração padrão não mostra as portas, mas&lt;br /&gt;
é possível configurar o iftop para mostrar.&lt;br /&gt;
As colunas MTx, indicam a média de trafego nos períodos de 2, 10 e 40 segundos&lt;br /&gt;
respectivamente.&lt;br /&gt;
&lt;br /&gt;
Para monitorar a rede interna utiliza o comando (nesse caso o nome da minha placa de&lt;br /&gt;
rede é int, mas poderia ser qualquer outra coisa, eth0 eth1 etc)&lt;br /&gt;
# iftop -i int&lt;br /&gt;
&lt;br /&gt;
Para garantir que na primeira coluna de IP:PORTA apareçam apenas IPs da rede&lt;br /&gt;
interna você pode usar&lt;br /&gt;
# iftop -i int -F 192.168.1.0/24&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Caso precise monitorar apenas uma estação&lt;br /&gt;
# iftop -i int -f &#39;host 192.168.1.170&#39;&lt;br /&gt;
&lt;br /&gt;
Pode fazer o mesmo por portas&lt;br /&gt;
# iftop -i int -f &#39;port 80&#39;&lt;br /&gt;
&lt;br /&gt;
Ou uma combinação dos dois&lt;br /&gt;
# iftop -i int -f &#39;host 192.168.1.170 and port 80&#39;&lt;br /&gt;
&lt;br /&gt;
O mesmo filtro pode ser feito quando esta no modo de&lt;br /&gt;
visualização do iftop com a tecla &#39;f&#39; depois é só entrar com&lt;br /&gt;
o filtro sem as aspas.&lt;br /&gt;
&lt;br /&gt;
Como é meio chato toda hora &#39;configurar&#39; o iftop eu criei um arquivo de configuração.&lt;br /&gt;
&lt;br /&gt;
amcorreia@chronos:$ cat ~/.iftoprc &lt;br /&gt;
interface: ext&lt;br /&gt;
dns-resolution: no&lt;br /&gt;
port-resolution: no&lt;br /&gt;
port-display: on&lt;br /&gt;
line-display: one-line-both&lt;br /&gt;
max-bandwidth: 2M</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/7968451226131705506/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/02/iftop.html#comment-form' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/7968451226131705506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/7968451226131705506'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/02/iftop.html' title='iftop'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-334874852121374996</id><published>2011-01-27T14:49:00.001-02:00</published><updated>2011-02-17T14:07:53.267-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Python: variáveis de ambiente</title><content type='html'>Para exportar as variáveis de ambiente no python podemos utilizar o seguinte código:&lt;br /&gt;
&lt;br /&gt;
import os&lt;br /&gt;
print os.environ&lt;br /&gt;
&lt;br /&gt;
A variável os.environ terá todos as variáveis de ambiente para pegar apenas uma podemos usar&lt;br /&gt;
&lt;br /&gt;
print os.environ[&#39;LOGNAME&#39;]&lt;br /&gt;
&lt;br /&gt;
Que imprimirá o usuário logado.</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/334874852121374996/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/01/python-variaveis-de-ambiente.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/334874852121374996'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/334874852121374996'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/01/python-variaveis-de-ambiente.html' title='Python: variáveis de ambiente'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-6898187280241244144</id><published>2011-01-26T14:37:00.001-02:00</published><updated>2011-02-17T14:08:23.565-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mathjax"/><title type='text'>MathJax</title><content type='html'>A um tempo atrás &lt;a href=&quot;http://progressaoaritmeticaucs.blogspot.com/2010/10/mathjax-no-blogger.html&quot;&gt;postei&lt;/a&gt;&amp;nbsp;como instalar o MathJax no blogger, mas utilizava o servidor do próprio MathJax&amp;nbsp;o que não é aconselhado pois sobrecarrega o servidor deles, vi que um &lt;a href=&quot;http://mathjax.connectmv.com/&quot;&gt;cara&lt;/a&gt;&amp;nbsp;disponibilizou no hosting&amp;nbsp;dele o MathJax, como no meu também está sobrando banda, resolvi fazer o mesmo.&lt;br /&gt;
&lt;br /&gt;
Para utilizar basta usar:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&amp;lt;script type=&quot;text/javascript&quot; src=&quot;http://mathjax.zarathustra.com.br/MathJax.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
&lt;div&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;No blogger já utilizo o do meu servidor.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Código de teste.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
\[\begin{aligned}&lt;br /&gt;
\int \int_{0}^{\infty} x^2 dx \\&lt;br /&gt;
\end{aligned} \]&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/6898187280241244144/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/01/mathjax.html#comment-form' title='6 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/6898187280241244144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/6898187280241244144'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/01/mathjax.html' title='MathJax'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-8079385850823689670</id><published>2011-01-19T16:30:00.002-02:00</published><updated>2017-06-27T23:01:57.707-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="squid"/><category scheme="http://www.blogger.com/atom/ns#" term="squidguard"/><category scheme="http://www.blogger.com/atom/ns#" term="youtube"/><title type='text'>Liberar apenas alguns videos do youtube</title><content type='html'>&lt;div&gt;
Liberar apenas alguns videos do youtube&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Precisei liberar apenas um video do youtube mas mantendo todo o resto&lt;/div&gt;
&lt;div&gt;
do site bloqueado, pesquisei algum tempo no google mas não encontrei&lt;/div&gt;
&lt;div&gt;
uma forma de fazer essa liberação, o squid que eu tenho a politica&lt;/div&gt;
&lt;div&gt;
padrão é liberar tudo para os usuários autenticados, mas os bloqueios&lt;/div&gt;
&lt;div&gt;
são feitos via squidguard com as listas do shallalist, que tem o youtube&lt;/div&gt;
&lt;div&gt;
cadastrado na seção &lt;i&gt;movies&lt;/i&gt; - portanto, bloqueia o acesso).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
No squid.conf eu adicionei as seguintes ACLs:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #f1f8ff; border-bottom: 2px solid rgb(103, 153, 179); border-left-style: none; border-right-style: none; border-top: 2px solid rgb(103, 153, 179); color: #444444; font-size: 13px; line-height: 16px; overflow: auto; padding: 5px;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;289996ab6fbcc8d811e8b661d44507fd&quot; id=&quot;gist-289996ab6fbcc8d811e8b661d44507fd&quot;&gt;
acl ytb_dom dstdomain .youtube.com .ytimg.com&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
acl ytb_video_re url_regex -i&amp;nbsp;&lt;b&gt;aoiP-WK3V8o&lt;/b&gt;&amp;nbsp;generate_204 videoplayback watch_as3-vflqEsLb3.swf&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
redirector_access deny ytb_dom ytb_video_re&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
http_access allow ytb_dom ytb_video_re&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
acl ytb_css url_regex -i \.css$ \.js$ \.jpg$&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
redirector_access deny ytb_css ytb_dom&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
http_access allow ytb_css ytb_dom&lt;/div&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;span class=&quot;o&quot; style=&quot;color: #333333;&quot;&gt;&lt;span class=&quot;nt&quot; style=&quot;color: #0b5394; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;289996ab6fbcc8d811e8b661d44507fd&quot; id=&quot;gist-289996ab6fbcc8d811e8b661d44507fd&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
ytb_dom contém os domínios do youtube (pelo menos os que eu vi quando acompanhei os logs)&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;aoiP-WK3V8o&lt;/b&gt; é o video que eu quero liberar&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Liberei também os arquivos javascript e CSS do youtube, apenas para ficar com uma aparencia melhor&lt;/div&gt;
&lt;div&gt;
mas isso faz com que mostre os outros videos que &quot;podem&quot; ser assistidos.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Com uma pequena alteração é possível bloquear pelo menos as imagens dos videos que aparecem.&lt;/div&gt;
&lt;div&gt;
acl ytb_video_jpg  url_regex \/vi\/&lt;/div&gt;
&lt;div&gt;
http_access deny ytb_css ytb_dom ytb_video_jpg&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
http_access        allow       ytb_css ytb_dom&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Mais algumas alterações e o arquivo final ficou assim:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: #f1f8ff; border-bottom: 2px solid rgb(103, 153, 179); border-left-style: none; border-right-style: none; border-top: 2px solid rgb(103, 153, 179); color: #444444; font-size: 13px; line-height: 16px; overflow: auto; padding: 5px;&quot;&gt;&lt;span class=&quot;nx&quot;&gt;&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
&lt;div class=&quot;gistLoad&quot; data-id=&quot;289996ab6fbcc8d811e8b661d44507fd&quot; id=&quot;gist-289996ab6fbcc8d811e8b661d44507fd&quot;&gt;
acl ytb_video_re url_regex generate_204 videoplayback watch_as3-vflqEsLb3.swf &quot;/etc/squid/acls/youtube_video.txt&quot;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; white-space: normal;&quot;&gt;
&lt;div&gt;
acl ytb_dom dstdomain .youtube.com .ytimg.com&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
redirector_access deny ytb_dom ytb_video_re&lt;/div&gt;
&lt;div&gt;
http_access allow ytb_dom ytb_video_re&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
acl ytb_css url_regex -i \.css$ \.png$ \.jpg$ \.js$&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
redirector_access deny ytb_css ytb_dom&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
# Bloquear as imagens dos videos (sugestoes) do lado direito&lt;/div&gt;
&lt;div&gt;
acl ytb_video_jpg  url_regex \/vi\/&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
http_access    deny     ytb_css ytb_dom ytb_video_jpg&lt;/div&gt;
&lt;div&gt;
http_access    allow    ytb_css ytb_dom&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Não consegui remover completamente a barra lateral direita (vulgo sugestões) de videos,&lt;/div&gt;
&lt;div&gt;
mas dessa forma o usuário não poderá nem pesquisar por videos.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script src=&quot;https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/8079385850823689670/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2011/01/liberar-apenas-alguns-videos-do-youtube.html#comment-form' title='5 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/8079385850823689670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/8079385850823689670'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2011/01/liberar-apenas-alguns-videos-do-youtube.html' title='Liberar apenas alguns videos do youtube'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-594081197185341578.post-3388428427152352874</id><published>2010-10-21T14:37:00.002-02:00</published><updated>2011-02-17T14:10:03.236-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nfe"/><category scheme="http://www.blogger.com/atom/ns#" term="squid"/><category scheme="http://www.blogger.com/atom/ns#" term="squidguard"/><title type='text'>Gerar lista de DOMINIOS para o liberar NFE no SquidGuard</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
td.linenos { background-color: #f0f0f0; padding-right: 10px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
pre { line-height: 125%; }
body .hll { background-color: #ffffcc }
body  { background: #f8f8f8; }
body .c { color: #408080; font-style: italic } /* Comment */
body .err { border: 1px solid #FF0000 } /* Error */
body .k { color: #008000; font-weight: bold } /* Keyword */
body .o { color: #666666 } /* Operator */
body .cm { color: #408080; font-style: italic } /* Comment.Multiline */
body .cp { color: #BC7A00 } /* Comment.Preproc */
body .c1 { color: #408080; font-style: italic } /* Comment.Single */
body .cs { color: #408080; font-style: italic } /* Comment.Special */
body .gd { color: #A00000 } /* Generic.Deleted */
body .ge { font-style: italic } /* Generic.Emph */
body .gr { color: #FF0000 } /* Generic.Error */
body .gh { color: #000080; font-weight: bold } /* Generic.Heading */
body .gi { color: #00A000 } /* Generic.Inserted */
body .go { color: #808080 } /* Generic.Output */
body .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
body .gs { font-weight: bold } /* Generic.Strong */
body .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
body .gt { color: #0040D0 } /* Generic.Traceback */
body .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
body .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
body .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
body .kp { color: #008000 } /* Keyword.Pseudo */
body .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
body .kt { color: #B00040 } /* Keyword.Type */
body .m { color: #666666 } /* Literal.Number */
body .s { color: #BA2121 } /* Literal.String */
body .na { color: #7D9029 } /* Name.Attribute */
body .nb { color: #008000 } /* Name.Builtin */
body .nc { color: #0000FF; font-weight: bold } /* Name.Class */
body .no { color: #880000 } /* Name.Constant */
body .nd { color: #AA22FF } /* Name.Decorator */
body .ni { color: #999999; font-weight: bold } /* Name.Entity */
body .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
body .nf { color: #0000FF } /* Name.Function */
body .nl { color: #A0A000 } /* Name.Label */
body .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
body .nt { color: #008000; font-weight: bold } /* Name.Tag */
body .nv { color: #19177C } /* Name.Variable */
body .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
body .w { color: #bbbbbb } /* Text.Whitespace */
body .mf { color: #666666 } /* Literal.Number.Float */
body .mh { color: #666666 } /* Literal.Number.Hex */
body .mi { color: #666666 } /* Literal.Number.Integer */
body .mo { color: #666666 } /* Literal.Number.Oct */
body .sb { color: #BA2121 } /* Literal.String.Backtick */
body .sc { color: #BA2121 } /* Literal.String.Char */
body .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
body .s2 { color: #BA2121 } /* Literal.String.Double */
body .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
body .s2 { color: #BA2121 } /* Literal.String.Double */
body .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
body .sh { color: #BA2121 } /* Literal.String.Heredoc */
body .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
body .sx { color: #008000 } /* Literal.String.Other */
body .sr { color: #BB6688 } /* Literal.String.Regex */
body .s1 { color: #BA2121 } /* Literal.String.Single */
body .ss { color: #19177C } /* Literal.String.Symbol */
body .bp { color: #008000 } /* Name.Builtin.Pseudo */
body .vc { color: #19177C } /* Name.Variable.Class */
body .vg { color: #19177C } /* Name.Variable.Global */
body .vi { color: #19177C } /* Name.Variable.Instance */
body .il { color: #666666 } /* Literal.Number.Integer.Long */
  
&lt;/style&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Em algum lugar da internet achei uma lista de domínios/urls utilizados pelo sistema&lt;br /&gt;
da Nota Fiscal Eletrônica (NFE). (na lista, o cara liberava para o squid)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fiz algumas alterações para utilizar essas urls no squidguard, que é bem&lt;br /&gt;
mais rápido que o squid e melhor de gerenciar.&lt;br /&gt;
&lt;br /&gt;
Lista enxuta das urls:&lt;br /&gt;
&lt;br /&gt;
amcorreia@phoenix:20101021$ cat nfe.txt&lt;br /&gt;
emissorctehom.fazenda.UF.gov.br&lt;br /&gt;
emissornfe.fazenda.UF.gov.br&lt;br /&gt;
dec.fazenda.UF.gov.br&lt;br /&gt;
nfe.fazenda.UF.gov.br&lt;br /&gt;
hnfe.fazenda.UF.gov.br&lt;br /&gt;
nfe.sefazvirtual.UF.gov.br&lt;br /&gt;
nfehomolog.sefaz.UF.gov.br&lt;br /&gt;
homologacao.sefaz.UF.gov.br&lt;br /&gt;
homolog.sefaz.UF.gov.br&lt;br /&gt;
homnfe.sefaz.UF.gov.br&lt;br /&gt;
sef.sefaz.UF.gov.br&lt;br /&gt;
nfe.sefaz.UF.gov.br&lt;br /&gt;
nfeh.sefaz.UF.gov.br&lt;br /&gt;
hnfe.sefaz.UF.gov.br&lt;br /&gt;
nfe.sefin.UF.gov.br&lt;br /&gt;
nfe.sefazvirtual.UF.gov.br&lt;br /&gt;
producao.nfe.UF.gov.br&lt;br /&gt;
homologacao.nfe.UF.gov.br&lt;br /&gt;
&lt;br /&gt;
Onde tem UF (Unidade Federativa), vamos trocar pelo estado, lista dos estados:&lt;br /&gt;
&lt;br /&gt;
amcorreia@phoenix:20101021$ cat estados.txt&lt;br /&gt;
Acre - AC&lt;br /&gt;
Alagoas - AL&lt;br /&gt;
Amapá - AP&lt;br /&gt;
Amazonas - AM&lt;br /&gt;
Bahia &amp;nbsp;- BA&lt;br /&gt;
Ceará - CE&lt;br /&gt;
Distrito Federal &amp;nbsp;- DF&lt;br /&gt;
Espírito Santo - ES&lt;br /&gt;
Goiás - GO&lt;br /&gt;
Maranhão - MA&lt;br /&gt;
Mato Grosso - MT&lt;br /&gt;
Mato Grosso do Sul - MS&lt;br /&gt;
Minas Gerais - MG&lt;br /&gt;
Pará - PA&lt;br /&gt;
Paraíba - PB&lt;br /&gt;
Paraná - PR&lt;br /&gt;
Pernambuco - PE&lt;br /&gt;
Piauí - PI&lt;br /&gt;
Rio de Janeiro - RJ&lt;br /&gt;
Rio Grande do Norte - RN&lt;br /&gt;
Rio Grande do Sul - RS&lt;br /&gt;
Rondônia - RO&lt;br /&gt;
Roraima - RR&lt;br /&gt;
Santa Catarina - SC&lt;br /&gt;
São Paulo - SP&lt;br /&gt;
Sergipe - SE&lt;br /&gt;
&lt;div&gt;&lt;div&gt;Tocantins - TO&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Primeiro, vamos gerar a lista de UFs:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;amcorreia@phoenix:20101021$ UFs=$(cat estados.txt | cut -d &#39;-&#39; -f2 | tr &#39;[A-z]&#39; &#39;[a-z]&#39; | tr -d &#39;\n&#39;)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;amcorreia@phoenix:20101021$ echo $UFs&lt;/div&gt;&lt;div&gt;ac al ap am ba ce df es go ma mt ms mg pa pb pr pe pi rj rn rs ro rr sc sp se to&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Agora o comando para gerar todos os domínios para todos estados&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;amcorreia@phoenix:20101021$&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; white-space: pre;&quot;&gt;&lt;span class=&quot;k&quot;&gt;while &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; white-space: pre;&quot;&gt;&lt;span class=&quot;nb&quot;&gt;read &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; white-space: pre;&quot;&gt;DOMAIN; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; white-space: pre;&quot;&gt;&lt;span class=&quot;k&quot;&gt;do&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-weight: normal;&quot;&gt;&lt;span class=&quot;k&quot;&gt; for &lt;/span&gt;UF in &lt;span class=&quot;nv&quot;&gt;$UFs&lt;/span&gt;; &lt;span class=&quot;k&quot;&gt;do&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-weight: normal;&quot;&gt;&lt;span class=&quot;k&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$DOMAIN&lt;/span&gt; | sed &lt;span class=&quot;s2&quot;&gt;&quot;s/UF/$UF/&quot;; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span class=&quot;k&quot;&gt;done; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-weight: normal;&quot;&gt;&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt; &amp;lt; nfe.txt&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;De forma mais visível:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; white-space: pre;&quot;&gt;&lt;span class=&quot;k&quot;&gt;while &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; white-space: pre;&quot;&gt;&lt;span class=&quot;nb&quot;&gt;read &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; white-space: pre;&quot;&gt;DOMAIN; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; line-height: 16px; white-space: pre;&quot;&gt;&lt;span class=&quot;k&quot;&gt;do&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;span class=&quot;k&quot;&gt;        for &lt;/span&gt;UF in &lt;span class=&quot;nv&quot;&gt;$UFs&lt;/span&gt;; &lt;span class=&quot;k&quot;&gt;do&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;                &lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;nv&quot;&gt;$DOMAIN&lt;/span&gt; | sed &lt;span class=&quot;s2&quot;&gt;&quot;s/UF/$UF/&quot;&lt;/span&gt;
        &lt;span class=&quot;k&quot;&gt;done&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;done&lt;/span&gt; &amp;lt; nfe.txt
&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Bom era isso ai, se alguem souber mais alguma URL, e quiser contribuir,&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;fique a vontade.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mutleysandro.blogspot.com/feeds/3388428427152352874/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://mutleysandro.blogspot.com/2010/10/gerar-lista-de-dominios-para-o-liberar.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/3388428427152352874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/594081197185341578/posts/default/3388428427152352874'/><link rel='alternate' type='text/html' href='http://mutleysandro.blogspot.com/2010/10/gerar-lista-de-dominios-para-o-liberar.html' title='Gerar lista de DOMINIOS para o liberar NFE no SquidGuard'/><author><name>nome</name><uri>http://www.blogger.com/profile/16381662009856022641</uri><email>noreply@blogger.com</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><thr:total>0</thr:total></entry></feed>