Skip to content

Instantly share code, notes, and snippets.


Wellington Fonseca WellingtonFonseca

View GitHub Profile
import html
import logging
import time
import mysql.connector
from configuracoes import Configuracoes
from mysql.connector import Error as MySQLerror
default = "\033[0;0m"
gray = "\033[1;30m"
WellingtonFonseca /
Last active Aug 18, 2021
office365-rest-python-client - gerenciador básico de arquivos no sharepoint
import logging
import os
from datetime import datetime
from office365.runtime.auth.user_credential import UserCredential
from office365.sharepoint.client_context import ClientContext
class SharePointGerenciar(Configuracoes):
View CrudMySQL.php
namespace App\Support;
use Exception;
use PDO;
use PDOException;
require_once "Config.php";
View Config.php
define("DB_HOST", "localhost");
define("DB_PORT", 3306);
define("DB_NAME", "database_name");
define("DB_USER", "root");
define("DB_PASSWORD", "");