Skip to content

Instantly share code, notes, and snippets.

View bomberstudios's full-sized avatar
🍊
Thinking

Ale Muñoz bomberstudios

🍊
Thinking
View GitHub Profile
@bomberstudios
bomberstudios / DNI-Electronico-en-Mac.md
Last active October 30, 2023 10:38
Instrucciones para instalar el DNI Electrónico en un Mac en 2021

DNI Electrónico en Mac

El lector que voy a usar es el SVEON SCT011M, que es el mas barato que encontré en tienda física y tiene un precio razonable en Amazon: https://www.amazon.es/dp/B072LTLZW3/

Estos son los pasos que he seguido:

  1. Descargar Firefox (he probado con la ultima version, 86.0.1)
  2. Enchufar el lector, sin el DNI (no se si es importante hacerlo aquí o se puede hacer luego, pero mejor no nos arriesgamos, yo lo hice aquí y me ha funcionado)
  3. Descargar libpkcs11 para Intel o para Apple Silicon. Estos enlaces estan en la web oficial del DNI Electrónico por si quieres ver si hay alguna versión más reciente.
  4. Instalar el paquete (los ficheros se copiaran en /Library/Libpkcs11-dnie, y en esa misma carpeta se instalara una app para desinstalarlo en e
@bomberstudios
bomberstudios / spanish-tortilla.md
Last active May 16, 2023 20:23
My recipe of Spanish Tortilla

Spanish Tortilla

Ingredients (for 2 adults, and two 3 y.o. and 10 y.o. girls :)

  • 2 medium/large sized potatoes
  • 6 eggs
  • a small/medium sized onion (there are two kinds of people: the ones that like their tortilla with onion, and the unlucky rest)
  • salt, olive oil and sugar (yes, you read that right)
  • a 25 cl beer bottle (we call them "un quinto" :)

Preparation

@bomberstudios
bomberstudios / keeps_in_europe.md
Created October 4, 2020 14:27
Keyboard Shops in Europe
@bomberstudios
bomberstudios / gist:7285386fa10b4fa9aaa41222bfbbbb55
Created April 3, 2019 21:59
Install multiple RSS Libraries at once
// Install multiple RSS Libraries at once
var Library = require('sketch/dom').Library
var UI = require('sketch').UI
var feeds = [
'https://foobar.com/feed1.xml',
'https://foobar.com/feed2.xml',
'https://foobar.com/feed3.xml'
]
@bomberstudios
bomberstudios / Sevilla.md
Created March 12, 2019 14:24
Sitios donde comer en Sevilla

Comiendo en Sevilla, sin ningún orden aparente

@bomberstudios
bomberstudios / convertIdToClass.js
Created October 10, 2018 10:17
SVGO plugin to convert the `id` attribute of an element to a `class` attribute with the same value.
// This SVGO plugin converts the `id` attribute on an element into a `class` attribute with the same value.
// To use it, you'll need to disable the `cleanupIDs` plugin, otherwise you won't have any `id` attribute to replace :)
'use strict';
exports.type = 'perItem';
exports.active = true;
exports.description = 'convert id attribute to class, using the same value';
@bomberstudios
bomberstudios / newsketchfile.rb
Last active November 15, 2018 14:36
UPDATE: Please use https://github.com/mathieudutour/sketch-file since this script was just a quick proof of concept and is not very futureproof. If you still decide to go ahead, this script will create a new, blank Sketch file, with proper UUIDs so you don't get a conflict creating multiple libraries from the same blank file)
#!/usr/bin/env ruby
# Generate empty .sketch file, with brand new UUID
require 'fileutils'
DOC_UUID = `uuidgen`.strip
PAGE_UUID = `uuidgen`.strip
DOCUMENT_JSON = <<~HEREDOC
{
@bomberstudios
bomberstudios / Kimchi.md
Created February 25, 2018 22:51
Receta de kimchi

Kimchi (WORK IN PROGRESS)

Ingredientes

  • 1 col china (napa) de alrededor de 1 kg
  • 1 rábano (daikon) pequeño (yo use 200 gramos en tiras, a lo mejor podia haber sido menos)
  • 2 zanahorias medianas (me salieron 75 gramos en tiras, a lo mejor podia haber puesto mas)
  • 150 gramos de manzana pink lady (absolutamente opcional, yo la he puesto porque si no saco los pies del tiesto en las recetas me aburro)
  • sal gorda: 200 gramos
  • azúcar: 1 cucharadita

Pulled Pork

Ingredientes

  • Cabeza de lomo o paleta de cerdo (o cualquier tarugo de carne de cerdo bien grasiento). Unos 2 ó 3 kilos (porque para qué vas a hacer menos…), con o sin hueso, da un poco igual
  • Humo líquido (en teoría es opcional, pero en mi humilde opinión no merece la pena hacer la receta sin el)
  • Especias
    • Pimentón De la Vera dulce
    • Sal
  • Ajo en polvo

Keybase proof

I hereby claim:

  • I am bomberstudios on github.
  • I am bomberstudios (https://keybase.io/bomberstudios) on keybase.
  • I have a public key whose fingerprint is B0D1 7372 008F 340F E5F6 A9F9 4541 D3AB 6165 4E5F

To claim this, I am signing this object: