Skip to content

Instantly share code, notes, and snippets.

Avatar
👋
Hello

Lucas Resende lucasres

👋
Hello
View GitHub Profile
View HmacSHA256.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
View docker-compose-unify.yml
version: '3.5'
services:
unify:
image: linuxserver/unifi-controller
container_name: unifi-controller
ports:
- 10001:10001/udp
- 8080:8080
- 8443:8443
@lucasres
lucasres / pgadmin-docker.yml
Created Jan 23, 2020
docker-compose para rodar o pgadmin
View pgadmin-docker.yml
version: '3.4'
services:
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin
environment:
- PGADMIN_DEFAULT_EMAIL=lucasresone@gmail.com
- PGADMIN_DEFAULT_PASSWORD=pgadmin
- PGADMIN_LISTEN_PORT=5050
ports:
@lucasres
lucasres / gist:1a5d9313081226a98d1e5c74541f7f09
Created Mar 15, 2019
The clean repository from django application
View gist:1a5d9313081226a98d1e5c74541f7f09
#mixin for repository
class RepositoryMixin():
""" This class will served for base for all repository of project """
class Meta:
model = None
@classmethod
def all(cls):
"""
Shortcut for get all entity from model