Skip to content

Instantly share code, notes, and snippets.

View ahwelp's full-sized avatar

Artur Welp ahwelp

View GitHub Profile
@ahwelp
ahwelp / config.php
Created January 23, 2023 13:55
Moodle default config.php
<?php // Moodle configuration file
unset($CFG);
global $CFG;
$CFG = new stdClass();
$CFG->dbtype = 'pgsql';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
<!-- Básico -->
<div class="carousel-material" role="toolbar">
<div><h5>Cabeçalho</h5><p>Conteudo</p></div>
<div><h5>Cabeçalho</h5><p>Conteudo</p></div>
<div><h5>Cabeçalho</h5><p>Conteudo</p></div>
</div>
<!-- Imagem lado a lado -->
<div class="carousel-material" role="toolbar">
<div class="row"> <div class="col l3 m4 s12"> <figure> <img src='destination' alt='' /> <figcaption> Fonte: Univates (2020).</figcaption> </figure> </div> <div class="col l9 m6 s12"> <h5>Cabeçalho</h5><p>Conteudo</p> </div> </div>
<!-- Básicona -->
<div class='table-wrapper'>
<table class='table-pattern center table-smaller'>
<thead> <tr> <th>a</th> <th>a</th> <th>a</th> </tr> </thead>
<tr> <td> a </td> <td> a </td> <td> a </td> </tr>
</table>
<div class="table-caption">Fonte: Univates (xxxx).</div>
</div>
<!-- Primeira coluna com destaque -->
@ahwelp
ahwelp / gist:8e7e7334abc2ab960c730674c806cbbb
Created April 29, 2020 16:46
Targeted addresses for Chinese hackers
GET ----
/webdav/
/help.php
/java.php
/_query.php
/test.php
/db_cts.php
/db_pma.php
/logon.php
/help-e.php
#Trabalho 2018
#Artur Henrique Welp
import socket
import os
import sys
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.bind( ('0.0.0.0', 9555) )