Skip to content

Instantly share code, notes, and snippets.

View spikeninja's full-sized avatar
🎯
Focusing

Artur spikeninja

🎯
Focusing
View GitHub Profile
@stevebauman
stevebauman / Signature.vue
Last active August 9, 2024 14:30
A VueJS Signature canvas field, using szimek/signature_pad
<template>
<div>
<canvas ref="canvas"></canvas>
<div class="clearfix"></div>
<div class="btn-group">
<button @click="clear" type="button" class="btn btn-default">
<i class="fa fa-times"></i>
Clear Signature
@Integralist
Integralist / Python Async Decorator.py
Last active June 30, 2024 09:22
[Python Async Decorator] #python #asyncio #decorator
import asyncio
from functools import wraps
def dec(fn):
@wraps(fn)
async def wrapper(*args, **kwargs):
print(fn, args, kwargs) # <function foo at 0x10952d598> () {}
await asyncio.sleep(5)
@gmolveau
gmolveau / how_to_reverseproxy_proxypass_nginx_letsencrypt.md
Last active August 4, 2025 08:47
How to use nginx as a reverse-proxy with letsencrypt

How to use nginx as a reverse-proxy with letsencrypt

Your infrastructure

generated via plantuml

Imgur

Requirements