Skip to content

Instantly share code, notes, and snippets.

View oneingan's full-sized avatar

Juanjo Presa oneingan

  • nadanix
  • Madrid, Spain
  • 03:24 (UTC +02:00)
View GitHub Profile
2022-09-17T01:36:37.392+0200 [INFO] Terraform version: 1.2.9
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-09-17T01:36:37.392+0200 [DEBUG] using github.com/zclconf/go-cty v1.11.0
2022-09-17T01:36:37.392+0200 [INFO] Go runtime version: go1.18.5
2022-09-17T01:36:37.392+0200 [INFO] CLI args: []string{"terraform", "validate"}
2022-09-17T01:36:37.392+0200 [TRACE] Stdout is a terminal of width 212
2022-09-17T01:36:37.392+0200 [TRACE] Stderr is a terminal of width 212
with import ../nixpkgs {};
let
jdk = openjdk11.overrideAttrs (oldAttrs: rec {
buildInputs = lib.remove gnome2.gnome_vfs oldAttrs.buildInputs;
NIX_LDFLAGS = builtins.replaceStrings [ "-lgnomevfs-2" ] [ "" ] oldAttrs.NIX_LDFLAGS;
});
version = "1.5.1";
name = "bisq-desktop";
src = (fetchgit rec {
@oneingan
oneingan / 05.org
Last active August 17, 2020 18:32

Overview

title Authentication Sequence

Alice->Bob: Authentication Request
note right of Bob: Bob thinks about it
Bob->Alice: Authentication Response
@oneingan
oneingan / init-haskell.sh
Created May 7, 2020 01:11 — forked from masaeedu/init-haskell.sh
Basic nix haskell setup
#!/usr/bin/env bash
set -Eeuxo pipefail
# Set up git
git init
gitignore haskell
echo '*.cabal' >> .gitignore
# Set up niv
niv init
@oneingan
oneingan / override.nix
Created January 30, 2020 21:45
zigbee2mqtt in nixos
{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem}:
let
nodePackages = import ./default.nix {
inherit pkgs system;
};
in
nodePackages // {
did:muport:Qmbz2cb1q98UZAUUG7fxnMgPga2Ab5mpHskJXPgX4bxsJc
Person(developer, "Desarrollador", "El desarrollador que realiza cambios al código fuente de una aplicación")
Person(lead, "Responsable de Equipo", "El responsable de solicitar un entorno para un equipo de trabajo")
Person(admin, "Administrador", "Administra los componentes del sistema de CI")
System_Ext(marketplace, "Marketplace", "El sistema de solicitud de entornos para equipos de trabajo")
System_Ext(deploy, "Sistema de Despliegue", "El sistema de despligues de aplicaciones interno")
System_Ext(ldap, "Sistema de Autenticación", "Autenticación de usuarios y grupos interno")
System_Ext(test, "Sistema de Control de Calidad", "Realiza pruebas y control del código para detectar errores, malas prácticas o problemas de seguridad")
System_Ext(nexus, "Gestor de Repositorios", "Distribuye imágenes, librerias y aplicaciones y almacena los artefactos generados")

Keybase proof

I hereby claim:

  • I am juaningan on github.
  • I am juaningan (https://keybase.io/juaningan) on keybase.
  • I have a public key ASCBkdJgi8-O_NkF4FGGO8sIjxaUPBc9JYCuVj81t_ZBaQo

To claim this, I am signing this object:

#!/bin/bash
curl -s "https://api.kraken.com/0/public/Ticker?pair=XBTEUR" | jq '.[] | .[].c | .[0]' | tr '.' ','
curl -s "https://api.kraken.com/0/public/Ticker?pair=ETHXBT" | jq '.[] | .[].c | .[0]' | tr '.' ','
curl -s "https://api.kraken.com/0/public/Ticker?pair=XMRXBT" | jq '.[] | .[].c | .[0]' | tr '.' ','
curl -s "https://api.kraken.com/0/public/Ticker?pair=ETCXBT" | jq '.[] | .[].c | .[0]' | tr '.' ','
curl -s "https://api.kraken.com/0/public/Ticker?pair=LTCXBT" | jq '.[] | .[].c | .[0]' | tr '.' ','
curl -s "https://api.kraken.com/0/public/Ticker?pair=GNOXBT" | jq '.[] | .[].c | .[0]' | tr '.' ','
date +%D" "%T
@oneingan
oneingan / provision.sh
Created March 14, 2017 23:32
provision estacion4-poc
#!/bin/bash
set -e
set -x
set -u
export DEBIAN_FRONTEND=noninteractive
# Install puppet agent
wget https://apt.puppetlabs.com/puppetlabs-release-pc1-yakkety.deb