Skip to content

Instantly share code, notes, and snippets.

View aabril's full-sized avatar

Albert Abril aabril

View GitHub Profile
@aabril
aabril / obs_clock.html
Created November 3, 2024 17:07
clock for OBS
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>A simple clock</title>
</head>
<body translate="no" >
# Step 1: Authenticate
TOKEN=$(curl -X POST \
-H "Content-Type: application/json" \
-d '{
"username": "your_username",
"password": "your_password"
}' \
https://vra.example.com/identity/api/tokens)
# Extract the token from the response (assuming JSON format)
addr_test1qz4s2tntnhg934u2g886lclma2h9tx25g3llueqtlk2azjlma685jvudh07ngut2acp0z393k54ylgh8ryjplthrn5mskv2c04
@aabril
aabril / gist:f115396b439b519af1cb1845c044f48e
Last active January 15, 2024 16:05
gitlab-ci-sample.yml
stages:
- terraform
- deploy
variables:
# Puedes definir variables globales aquí si es necesario
.default_job_template: &default_job
tags:
- on-prem
rpm --import https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-AARCH64-RHEL
rpm --import https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-AARCH64-RHEL7
rpm --import https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-Fedora
rpm --import https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL
rpm --import https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL-nonfree
rpm --import https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL7
rpm --import https://download.postgresql.org/pub/repos/yum/keys/PGDG-RPM-GPG-KEY-RHEL7-nonfree
rpm --import https://download.postgresql.org/pub/repos/yum/keys/RPM-GPG-KEY-PGDG
rpm --import https://download.postgresql.org/pub/repos/yum/keys/RPM-GPG-KEY-PGDG-AARCH64-RHEL7
rpm --import https://download.postgresql.org/pub/repos/yum/keys/RPM-
@aabril
aabril / Bitcoin y la crisis del Estado con Álvaro D. María-25RbDa_ikmU.en.ttml
Created November 24, 2022 22:12
Bitcoin y la crisis del Estado con Álvaro D. María-25RbDa_ikmU.en.ttml
<?xml version="1.0" encoding="utf-8" ?>
<tt xml:lang="en" xmlns="http://www.w3.org/ns/ttml" xmlns:ttm="http://www.w3.org/ns/ttml#metadata" xmlns:tts="http://www.w3.org/ns/ttml#styling" xmlns:ttp="http://www.w3.org/ns/ttml#parameter" ttp:profile="http://www.w3.org/TR/profile/sdp-us" >
<head>
<styling>
<style xml:id="s1" tts:textAlign="center" tts:extent="90% 90%" tts:origin="5% 5%" tts:displayAlign="after"/>
<style xml:id="s2" tts:fontSize=".72c" tts:backgroundColor="black" tts:color="white"/>
</styling>
<layout>
<region xml:id="r1" style="s1"/>
</layout>

openssl version LibreSSL 2.8.3

#!/usr/bin/env bash

echo $1 | openssl aes-256-cbc -a -salt -pass pass:somepassword
@aabril
aabril / spotify.md
Last active July 29, 2022 07:59
Profile and Lists

Aquí deberían estar todas, que son muchas.
Aunque nunca me he aclarado mucho con las vistas de las listas en el perfil.

Algo se debería ver.

temetes

1YkXSiRJEgC2lHRuggq28eXMJ0NgIFTU7

Keybase proof

I hereby claim:

  • I am aabril on github.
  • I am albertabril (https://keybase.io/albertabril) on keybase.
  • I have a public key ASAqH_ivB-Ln2a_Trfu-Zj1usoiEn8-iCHRLqwm4-EOszQo

To claim this, I am signing this object: