Skip to content

Instantly share code, notes, and snippets.

View williamlagos's full-sized avatar

William Oliveira de Lagos williamlagos

View GitHub Profile

Keybase proof

I hereby claim:

  • I am williamlagos on github.
  • I am lagoswilliam (https://keybase.io/lagoswilliam) on keybase.
  • I have a public key ASAxqTgcVALUkoX3Hu61k-HBRm_vxTG53wIlOGKYFo0f-Ao

To claim this, I am signing this object:

@williamlagos
williamlagos / qfpynm.py
Created March 30, 2020 21:37
Fixed Python Network Manager (nm 0.9)
#!/usr/bin/env python
#
# #######################################################################
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
@williamlagos
williamlagos / index.html
Created February 24, 2020 14:31
React HTML
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
@williamlagos
williamlagos / query.sql
Last active December 17, 2019 19:24
Database
-- Lista de comandos em SQL
-- Limpar a estrutura da tabela Clube se existir.
DROP TABLE IF EXISTS Clube;
CREATE TABLE Clube(
Id INT AUTO_INCREMENT,
Nome VARCHAR(255) DEFAULT 'Brasil',
Ativo BOOL DEFAULT true,
Fundacao DATE NOT NULL,
@williamlagos
williamlagos / Abstrata.java
Last active November 29, 2019 16:15
Exemplo de código em Java
/**
* Classe abstrata Abstrata - escreva a descrição da classe aqui
*
* @author (seu nome aqui)
* @version (versão ou data)
*/
public abstract class Abstrata
{
// variáveis de instância - substitua o exemplo abaico pelo seu código
@williamlagos
williamlagos / django-websockets.py
Created August 3, 2016 01:35 — forked from dmpayton/django-websockets.py
Django WebSockets example using Tornado
#!/usr/bin/env python
import tornado.httpserver
import tornado.ioloop
import tornado.web
import tornado.websocket
import tornado.wsgi
from myapp.wsgi import application as myapp_wsgi
# Javascript Usage: