Skip to content

Instantly share code, notes, and snippets.

View walison17's full-sized avatar

Walison Filipe walison17

View GitHub Profile
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active July 14, 2026 13:46
set -e, -u, -o, -x pipefail explanation
@jefftriplett
jefftriplett / python-django-postgres-ci.yml
Last active June 23, 2025 06:00
This is a good starting point for getting Python, Django, Postgres running as a service, pytest, black, and pip caching rolling with GitHub Actions.
name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
services:
@rodrigoddc
rodrigoddc / preload.js
Last active June 3, 2020 18:50
Preload de carregamento
// load call
$(window).on('load', function() {
//active loading
//loadout
$('#preloader').fadeOut();
});
@seddonym
seddonym / durability.py
Last active April 9, 2026 11:35
Durable decorator
import functools
from django.conf import settings
from django.db import transaction, utils
def durable(func):
"""
Decorator to ensure that a function is not being called within an atomic block.