This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ./install | |
sudo apt-get install csh tcsh lib32ncurses5 lib32z1 libsm6:i386 libxrender1:i386 libfreetype6:i386 libfontconfig1:i386, libxext6:i386 | |
cd /opt/altera9.1/quartus/linux | |
mv libX11.so.6 libX11.so.6.old | |
mv libuuid.so.1 libuuid.so.1.old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from igraph import * | |
g = Graph.Erdos_Renyi(1000,0.0008,directed=False, loops=False) | |
array = g.degree(vertices=None, mode=ALL, loops=True) | |
print 'Numeros de vertices isolados (Grau 0) = %d '% array.count(0) | |
print 'Numeros de vertices com grau 1 = %d' % array.count(1) | |
print 'Numeros de vertices com grau 2 = %d' % array.count(2) | |
print 'Maior grau = %d ' % g.maxdegree(vertices=None, mode=ALL, loops=False) | |
components = g.components() | |
print 'O numero de componentes = %d' % len(components) | |
print 'Tamanho da maior componente = %d' % max(components.sizes()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.uefs.ecomp.spalle.util; | |
import java.util.NoSuchElementException; | |
/** | |
* Classe que representa o iterador utilizado para percorrer a lista encadeada | |
* @author Lucas Alves da Encarnação Oliveira | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'PHPMailer-master\PHPMailerAutoload.php'; | |
$clienteEmail = $_POST["email"]; | |
$mail = new PHPMailer; | |
//$mail->SMTPDebug = 3; // Enable verbose debug output | |
$mail->isSMTP(); // Set mailer to use SMTP | |
//$mail->SMTPDebug = 2; | |
//$mail->Debugoutput = 'html'; | |
$mail->Host = ' smtp-mail.outlook.com;'; // Specify main and backup SMTP servers | |
$mail->SMTPAuth = true; // Enable SMTP authentication |