Skip to content

Instantly share code, notes, and snippets.

#!/bin/env python3
import random
def get_random_exclude(*n):
while True:
ran = random.randint(0,2)
if ran not in n:
return ran
def montyhall(first_behaviour, second_behaviour):
@vfrico
vfrico / nginx.conf
Created October 13, 2021 15:12
nginx proxy interno redirige
server {
listen 8181;
listen [::]:8181;
server_name domain.name.example.com;
# Reenvía las peticiones a este servidor interno
location / {
proxy_pass http://localhost:8080;
}
Status 500
Has experimentado un error técnico. Te pedimos disculpas.
Estamos trabajando para corregir este problema.
com.smilics.wibeee.exception.UnexpectedException: Unexpected error: DEVICE_NOT_FOUND at com.smilics.wibeee.db.dynamodb.service.DynamoDBService$_findTimeZone_closure20.doCall(DynamoDBService.groovy:550) at com.smilics.wibeee.db.dynamodb.service.DynamoDBService$_findTimeZone_closure20.doCall(DynamoDBService.groovy) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263) a