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 cadanime; | |
import java.sql.PreparedStatement; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
/** | |
* @author aluno | |
*/ | |
public class CadAnime |
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
using System; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace HashExemplo | |
{ | |
public class HashMD5 | |
{ | |
public string GerarHashMD5(string entrada) | |
{ |
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 | |
/* | |
* Autor: Dener Carvalho, Marks, Vinicius | |
* | |
* Implementação da função password_hash: https://github.com/php/php-src/blob/master/ext/standard/password.c#L412 | |
* | |
* | |
* Implementação da função password_verify: https://github.com/php/php-src/blob/master/ext/standard/password.c#L291 | |
* | |
* Documentação password_verify: http://php.net/manual/pt_BR/function.password-verify.php |
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
let nome = "vini! ¨¨%A%S&¨SA¨&SA ¨ vini"; | |
function mod(n, p) { | |
if (n < 0) | |
n = p - Math.abs(n) % p; | |
return n % p; | |
} | |
function encriptar(chave, str) { |
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
the command goes here : | |
// first line: RD /S /Q "%WinDir%\System32\GroupPolicyUsers" // | |
// second line: RD /S /Q "%WinDir%\System32\GroupPolicy" // | |
// third line: gpupdate /force // |
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
//https://dotnetfiddle.net/8JRJZk | |
using System; | |
using System.Collections.Generic; | |
using System.Text.RegularExpressions; | |
using static System.Console; | |
public class CifraCesar | |
{ | |
public static string Cifrar(string texto) |
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
__author__ = 'Dener Carvalho' | |
import sqlite3 | |
import datetime | |
import os | |
from reportlab.lib.pagesizes import letter | |
from reportlab.pdfgen import canvas | |
class Conexao(object): |
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
#Fonte: https://pt.stackoverflow.com/a/215885/27190 | |
#Library library(dplyr) - carregar primeiro. | |
#Download do R: https://cran.r-project.org/bin/windows/base/ | |
#Area que deseja atuar no futuro | |
# 1 -> Eng Comp, 2 -> Dev Web, 3 -> Designer, 4 -> Eng Soft, 5 -> Programacao | |
dados <- sort(c(1, 2, 2, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5)) | |
#O argumento Freq eh o Fi |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Threading.Tasks; | |
namespace EmailValido | |
{ | |
class Program |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ValidaCampoExemploCaffe | |
{ | |
class Pessoa | |
{ |