-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog16.html
584 lines (530 loc) · 26.2 KB
/
blog16.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
<!DOCTYPE html>
<html lang="pt-br" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" >
<head>
<title>eXcript</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="google-site-verification" content="Vi7WdSsBR9oK2RjK_6E8OrtAfzA_mVlNrhlDjt7LXZ0" />
<!--<link href="https://plus.google.com/" rel="publisher"> -->
<link rel="canonical" href="http://excript.com">
<meta name="author" content="Claudio Rogerio Carvalho Filho" />
<!-- Open Graph tags -->
<meta property="og:site_name" content="eXcript" />
<meta property="og:type" content="website"/>
<meta property="og:title" content="eXcript"/>
<meta property="og:url" content="http://excript.com"/>
<meta name="og:description" content="" />
<meta property="og:image"
content="http://excript.com/images/logo-excript.png"/>
<link rel="stylesheet" href="http://excript.com/theme/css/asciidoctor-default.css" type="text/css"/>
<!-- Bootstrap -->
<link rel="stylesheet" href="http://excript.com/theme/css/bootstrap.min.css" type="text/css"/>
<link href="http://excript.com/theme/css/font-awesome.min.css" rel="stylesheet">
<link href="http://excript.com/theme/css/pygments/monokai.css" rel="stylesheet">
<link rel="stylesheet" href="http://excript.com/theme/css/style.css" type="text/css"/>
<link href="http://excript.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate"
title="eXcript ATOM Feed"/>
<link href="http://excript.com/feeds/all.rss.xml" type="application/rss+xml" rel="alternate"
title="eXcript RSS Feed"/>
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://excript.com/" class="navbar-brand">
eXcript </a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li><a href="http://excript.com/tag/blog.html">blog</a></li>
<li><a href="http://excript.com/cursos.html">cursos</a></li>
<li><a href="http://excript.com/pages/about.html">quem somos</a></li>
<li><a href="http://doe.excript.com/">DOE</a></li>
<li><a href="http://excript.com/pages/contato.html">contato</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://excript.com/archives.html"><i class="fa fa-th-list"></i><span class="icon-label">Archives</span></a></li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</div> <!-- /.navbar -->
<!-- Banner -->
<!-- End Banner -->
<div class="container container-content">
<div class="row">
<div class="col-sm-9">
<article>
<h2><a href="http://excript.com/php/aspas-duplas-vs-aspas-simples-php.html">Aspas Duplas vs Aspas Simples em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula iniciaremos o estudo sobre os tipos de String existentes no PHP, quais suas diferenças e quando utilizar as diferentes estruturas. Também aprenderemos a trabalhar com caracteres que são tratados como especiais pela linguagem.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exemplo-feito-em-aula">
<h2>EXEMPLO FEITO EM AULA</h2>
<div class="highlight"><pre><span></span><span class="x">#STRING COM ASPA SIMPLES E DUPLA</span>
<span class="x">#ASPAS SIMPLES</span>
<span class="x">echo 'eX\\\'cript …</span></pre></div></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/aspas-duplas-vs-aspas-simples-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/string-aspas-duplas-php.html">String Aspas Duplas em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos as String definidas com o uso de aspas duplas. Aprenderemos quais os conceitos dessa definição e as diferenças entre as Strings definidas com aspas simples e as Strings definidas com aspas duplas</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exemplo-feito-em-aula">
<h2>EXEMPLO FEITO EM AULA</h2>
<div class="highlight"><pre><span></span><span class="x">#STRING DOUBLE-QUOTED</span>
<span class="x">#concatenar a + b</span>
<span class="x">#interpolar</span>
<span class="x">$num = 55;</span>
<span class="x">echo "O valor …</span></pre></div></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/string-aspas-duplas-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/string-heredoc-nowdoc-php.html">String heredoc e nowdoc em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula estudaremos o que são as Strings chamadas de heredoc e as Strings chamadas de nowdoc. Estudaremos os conceitos dessas definições e a diferença entre ambas implementações.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exemplo-feito-em-aula">
<h2>EXEMPLO FEITO EM AULA</h2>
<div class="highlight"><pre><span></span><span class="x">#HEREDOC E NOWDOC</span>
<span class="x"># HEREDOC == ""</span>
<span class="x">$x = 50;</span>
<span class="x">$heredoc =</span>
<span class="x"><<<TESTE</span>
<span class="x"> <div>O valor da variável x é: $x</div></span>
<span class="x">TESTE …</span></pre></div></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/string-heredoc-nowdoc-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/php/introducao-as-string-php.html">Introdução às Strings em PHP</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula iniciaremos o estudo das String em PHP. Veremos as terminologias utilizadas e aprendemos os principais conceitos que envolvem a utilizam e uso dessa que é, sem dúvida, a principal estrutura de qualquer linguagem de programação.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="introducao-as-strings">
<h2>INTRODUÇÃO ÀS STRINGS</h2>
<p>em branco.</p>
</div>
<div class="section" id="exemplo-feito-em-aula">
<h2>EXEMPLO FEITO EM AULA</h2>
<div class="highlight"><pre><span></span><span class="x">#STRING</span>
<span class="x">$str = "abc";</span>
<span class="x">echo …</span></pre></div></div>
<a class="btn btn-default btn-xs" href="http://excript.com/php/introducao-as-string-php.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/android/adicionando-os-objetos-visuais-atraves-do-xml.html">Adicionando os Objetos Visuais através do XML</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula vamos criar o projeto em Android do nosso Jogo da Velha e adicionaremos alguns componentes visuais que fazem parte do tabuleiro do nosso Jogo. Por fim, iniciaremos a programação em Java de pequenas funcionalidades.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exemplo-feito-em-aula">
<h2>EXEMPLO FEITO EM AULA</h2>
<div class="highlight"><pre><span></span><span class="nt"><LinearLayout</span> <span class="na">xmlns:android=</span><span class="s">"http://schemas.android.com/apk/res/android …</span></pre></div></div>
<a class="btn btn-default btn-xs" href="http://excript.com/android/adicionando-os-objetos-visuais-atraves-do-xml.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/cursos.html">Lista de cursos da eXcript</a></h2>
<div class="summary">
<a class="btn btn-default btn-xs" href="http://excript.com/cursos.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/exercicio-java-diferenca-de-idade.html">Exercício de Java - Diferença de Idade (j0101)</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula de exercícios resolvidos estudaremos um problema sobre o cálculo da diferença entre idades. Um excelente exercício para estudarmos a manipulação de números inteiros.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exercicio">
<h2>EXERCÍCIO</h2>
<p>Escreva um pequeno software que peça a sua idade e a idade da sua mãe. Em seguida, imprima na tela as 3 informações a …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/exercicio-java-diferenca-de-idade.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/exercicio-java-login-e-senha.html">Exercício de Java - Login e Senha (j0101)</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula de exercícios resolvidos em Java, estudaremos o processo de criação de uma tela de Login e Senha escrito em Java para estudarmos o processo de comparação de valores.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exercicio">
<h2>EXERCÍCIO</h2>
<p>Desenvolva um pequeno programa de login e senha. Para isso, peça ao usuário para digitar o seu login e …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/exercicio-java-login-e-senha.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/exercicio-java-simplificacao.html">Exercício de Java - Simplificação (j0110)</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula de exercícios resolvidos estudaremos a simplificação de expressão utilizando a linguagem Java.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exercicio-de-simplificacao">
<h2>EXERCÍCIO DE SIMPLIFICAÇÃO</h2>
<p>Reescreva o código a seguir a fim de se utilizar o mínimo de linha possíveis:
Nota(s):
Amontoar linhas não soluciona o problema. O código a seguir não é simplificação e sim, confusão …</p></div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/exercicio-java-simplificacao.html">more ...</a>
</div>
</article>
<hr/>
<article>
<h2><a href="http://excript.com/java/exercicio-java-soma-1-100.html">Exercício de Java - Soma de 1 à 100 (j1002)</a></h2>
<div class="summary">
<div class="admonitionblock note data-line" style="margin-top: 1.50em">
<table style="margin: 0">
<tbody>
<tr>
<td class="content" style="border-left: 0">
<div class="paragraph data-line">
<p> Nesta aula de exercícios resolvidos implementaremos um laço de repetição que envia para a saída padrão os números num determinado intervalo.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="exercicio">
<h2>EXERCÍCIO</h2>
<p>Faça um programa que mostre a soma de todos os números no intervalo de 1 até 100.</p>
</div>
<div class="section" id="exercicio-resolvido">
<h2>EXERCÍCIO RESOLVIDO</h2>
<div class="highlight"><pre><span></span><span class="cm">/**</span>
<span class="cm"> * ====================================</span>
<span class="cm"> * eXcript.com</span>
<span class="cm"> * fb.com/eXcript</span>
<span class="cm"> * ====================================</span>
<span class="cm"> */</span>
<span class="kd">public</span> <span class="kd">class</span> <span class="nc">J1002</span> <span class="o">{</span>
<span class="c1">//Soma …</span></pre></div></div>
<a class="btn btn-default btn-xs" href="http://excript.com/java/exercicio-java-soma-1-100.html">more ...</a>
</div>
</article>
<hr/>
<ul class="pagination">
<li class="prev"><a href="http://excript.com/blog15.html">«</a>
</li>
<li class=""><a
href="http://excript.com/blog.html">1</a></li>
<li class=""><a
href="http://excript.com/blog2.html">2</a></li>
<li class=""><a
href="http://excript.com/blog3.html">3</a></li>
<li class=""><a
href="http://excript.com/blog4.html">4</a></li>
<li class=""><a
href="http://excript.com/blog5.html">5</a></li>
<li class=""><a
href="http://excript.com/blog6.html">6</a></li>
<li class=""><a
href="http://excript.com/blog7.html">7</a></li>
<li class=""><a
href="http://excript.com/blog8.html">8</a></li>
<li class=""><a
href="http://excript.com/blog9.html">9</a></li>
<li class=""><a
href="http://excript.com/blog10.html">10</a></li>
<li class=""><a
href="http://excript.com/blog11.html">11</a></li>
<li class=""><a
href="http://excript.com/blog12.html">12</a></li>
<li class=""><a
href="http://excript.com/blog13.html">13</a></li>
<li class=""><a
href="http://excript.com/blog14.html">14</a></li>
<li class=""><a
href="http://excript.com/blog15.html">15</a></li>
<li class="active"><a
href="http://excript.com/blog16.html">16</a></li>
<li class=""><a
href="http://excript.com/blog17.html">17</a></li>
<li class=""><a
href="http://excript.com/blog18.html">18</a></li>
<li class=""><a
href="http://excript.com/blog19.html">19</a></li>
<li class=""><a
href="http://excript.com/blog20.html">20</a></li>
<li class=""><a
href="http://excript.com/blog21.html">21</a></li>
<li class=""><a
href="http://excript.com/blog22.html">22</a></li>
<li class=""><a
href="http://excript.com/blog23.html">23</a></li>
<li class=""><a
href="http://excript.com/blog24.html">24</a></li>
<li class=""><a
href="http://excript.com/blog25.html">25</a></li>
<li class=""><a
href="http://excript.com/blog26.html">26</a></li>
<li class=""><a
href="http://excript.com/blog27.html">27</a></li>
<li class=""><a
href="http://excript.com/blog28.html">28</a></li>
<li class=""><a
href="http://excript.com/blog29.html">29</a></li>
<li class=""><a
href="http://excript.com/blog30.html">30</a></li>
<li class=""><a
href="http://excript.com/blog31.html">31</a></li>
<li class=""><a
href="http://excript.com/blog32.html">32</a></li>
<li class=""><a
href="http://excript.com/blog33.html">33</a></li>
<li class=""><a
href="http://excript.com/blog34.html">34</a></li>
<li class=""><a
href="http://excript.com/blog35.html">35</a></li>
<li class=""><a
href="http://excript.com/blog36.html">36</a></li>
<li class=""><a
href="http://excript.com/blog37.html">37</a></li>
<li class=""><a
href="http://excript.com/blog38.html">38</a></li>
<li class=""><a
href="http://excript.com/blog39.html">39</a></li>
<li class=""><a
href="http://excript.com/blog40.html">40</a></li>
<li class=""><a
href="http://excript.com/blog41.html">41</a></li>
<li class=""><a
href="http://excript.com/blog42.html">42</a></li>
<li class=""><a
href="http://excript.com/blog43.html">43</a></li>
<li class=""><a
href="http://excript.com/blog44.html">44</a></li>
<li class=""><a
href="http://excript.com/blog45.html">45</a></li>
<li class=""><a
href="http://excript.com/blog46.html">46</a></li>
<li class=""><a
href="http://excript.com/blog47.html">47</a></li>
<li class=""><a
href="http://excript.com/blog48.html">48</a></li>
<li class="next"><a
href="http://excript.com/blog17.html">»</a></li>
</ul>
</div>
<div class="col-sm-3" id="sidebar">
<aside>
<section class="well well-sm">
<ul class="list-group list-group-flush">
<li class="li-sidebar">
<div class="fb-page" data-href="https://www.facebook.com/excript/" data-width="200" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/excript/"><a href="https://www.facebook.com/excript/">eXcript</a></blockquote></div></div>
</li>
<li class="li-sidebar">
<script src="https://apis.google.com/js/platform.js"></script>
<script>
function onYtEvent(payload) {
if (payload.eventType == 'subscribe') {
// Add code to handle subscribe event.
} else if (payload.eventType == 'unsubscribe') {
// Add code to handle unsubscribe event.
}
if (window.console) { // for debugging only
window.console.log('YT event: ', payload);
}
}
</script>
<div class="g-ytsubscribe" data-channel="excriptvideo" data-layout="full" data-count="default" data-onytevent="onYtEvent"></div>
</li>
<li class="li-sidebar">
<!-- Posicione esta tag no cabeçalho ou imediatamente antes da tag de fechamento do corpo. -->
<script src="https://apis.google.com/js/platform.js" async defer>{lang: 'pt-BR'}
</script>
<!-- Posicione esta tag onde você deseja que o widget apareça. -->
<div class="g-page" data-width="200" data-href="//plus.google.com/u/0/102371115481264098253" data-rel="publisher"></div>
</li>
</ul>
</section>
</aside>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<p class="site-info text-center">
</p><div class="container">
<div class="row">
<div class="col-md-6">
<h5>eXcript</h5>
<p>
A eXcript é um projeto de produção audiovisual de conteúdo técnico com foco no autodidatismo.
</p>
</div>
<div class="col-md-3">
<h5>CURSOS</h5>
<ul>
<li><a href="http://excript.com/curso-de-python.html">PYTHON</a></li>
<li><a href="http://excript.com/curso-de-java.html">JAVA</a></li>
<li><a href="http://excript.com/curso-php.html">PHP</a></li>
<li><a href="http://excript.com/curso-cpp.html">C++</a></li>
<li><a href="http://excript.com/curso-c.html">C</a></li>
<li><a href="http://excript.com/curso-de-android.html">ANDROID</a></li>
</ul>
</div>
<div class="col-md-3">
<h5>SOCIAL</h5>
<ul>
<li><a href="http://plus.google.com/+excriptvideo">GOOGLE+</a></li>
<li><a href="http://www.facebook.com/excript">FACEBOOK</a></li>
<li><a href="http://twitter.com/eXcriptBrasil">TWITTER</a></li>
</ul>
</div>
</div>
</div>
<p></p>
</div>
</div>
</footer>
<script src="http://excript.com/theme/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://excript.com/theme/js/bootstrap.min.js"></script>
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="http://excript.com/theme/js/respond.min.js"></script>
<!-- Disqus -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'excript'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function () {
var s = document.createElement('script');
s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<!-- End Disqus Code -->
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-72583776-1']);
_gaq.push(['_trackPageview']);
(function () {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- End Google Analytics Code -->
<div id="fb-root"></div>
<script>(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 = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.6&appId=1684671528414521";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
</body>
</html>