Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
<?php | |
getCotizacionesWS(); | |
function getCotizacionesWS(){ | |
$context = [ | |
"ssl" => [ | |
"verify_peer" => FALSE, | |
"verify_peer_name" => FALSE, | |
'crypto_method' => STREAM_CRYPTO_METHOD_TLS_CLIENT |
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
<?php | |
function getCotizaciones($monedas = true) | |
{ | |
$url = 'https://www.bcu.gub.uy/_layouts/BCU.Cotizaciones/handler/CotizacionesHandler.ashx?op=getcotizaciones'; | |
$data = ""; | |
$last_date_found = false; | |
$diff = 1; | |
$cotizaciones = array(); | |
$codigosAceptados = array("USD", "EURO", "CHF", "GBP", "ARS", "BRL", "JPY", "U.I."); |
// | |
// SignatureAnimation.swift | |
// OpenSwiftUIAnimations | |
// | |
// Created by Amos Gyamfi on 11.5.2024. | |
// | |
import SwiftUI | |
struct SignatureAnimation: View { |
.pointer-events-none { pointer-events : none } | |
.pointer-events-auto { pointer-events : auto } | |
.visible { visibility : visible } | |
.invisible { visibility : hidden } | |
.collapse { visibility : collapse } | |
.static { position : static } | |
.fixed { position : fixed } | |
.absolute { position : absolute } | |
.relative { position : relative } | |
.sticky { position : sticky } |
<html> | |
<head> | |
<title>Matrix Rain</title> | |
<style> | |
* {margin: 0; padding: 0;} | |
body {background: black;} | |
canvas {display: block;} | |
</style> | |
</head> | |
<body> |
Para obtener las cotizaciones del Banco Central de Uruguay a través de su API se debe llamar al enpoint:
https://cotizaciones.bcu.gub.uy/wscotizaciones/servlet/awsbcucotizaciones?wsdl
Utilizando el método http POST, añadiendo en el body de la solicitud, un xml con el sigiuente formato:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cot="Cotiza">
<soapenv:Header />
@ECHO OFF | |
REM This bat file iterates on the folders in this directory and | |
REM makes a "git pull" over every folder (only "git repos") | |
FOR /f "delims=" %%D IN ('dir /a:d-h /b') DO ( | |
CD %%~D | |
IF EXIST ".git" ( | |
ECHO Repo: %%D | |
git pull |
# Recommended Celery Django settings for reliability: | |
# (use `app.config_from_object('django.conf:settings', namespace='CELERY')` | |
# in proj/celery.py module) | |
from decouple import config # use python-decouple: https://github.com/HBNetwork/python-decouple | |
# Prefer RabbitMQ over Redis for Broker, | |
# mainly because RabbitMQ doesn't need visibility timeout. See: | |
# https://blog.daftcode.pl/working-with-asynchronous-celery-tasks-lessons-learned-32bb7495586b | |
# https://engineering.instawork.com/celery-eta-tasks-demystified-424b836e4e94 |