Skip to content

Instantly share code, notes, and snippets.

@renzosa
renzosa / 11-criar-topico.py
Created November 26, 2024 00:33
Criando SNS com boto3
import os, boto3
from datetime import datetime
if os.path.exists("URL_TOPICO"):
print("Já existe uma tópico definido!!!")
else:
current_time = datetime.now()
formatted_time = current_time.strftime("%d/%m/%Y às %H:%M")
@renzosa
renzosa / 01-criar-fila.py
Created November 19, 2024 01:35
Processo automatizado de fila usando python e boto3
import os, boto3
from datetime import datetime
if os.path.exists("URL_FILA"):
print("Já existe uma fila definida!!!")
else:
current_time = datetime.now()
formatted_time = current_time.strftime("%d/%m/%Y às %H:%M")
@renzosa
renzosa / hotspot.cmd
Last active May 26, 2022 16:45 — forked from primaryobjects/hotspot-keep-alive.ps1
Script to Enable Windows 10 Mobile Hotspot Automatically After Reboot
PowerShell -Command "Set-ExecutionPolicy Unrestricted" >> "%TEMP%\StartupLog.txt" 2>&1
PowerShell %USERPROFILE%\hotspot.ps1 >> "%TEMP%\StartupLog.txt" 2>&1
### Keybase proof
I hereby claim:
* I am renzosa on github.
* I am renzosa (https://keybase.io/renzosa) on keybase.
* I have a public key ASDhvqXDhWmNXEU36FuHz5P6n0QS6It306Gkj7bkJtd4JQo
To claim this, I am signing this object: