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 May 1, 2025 05:22
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 / open_source_design_software.md
Last active March 3, 2025 15:10
Una lista de software de diseño open source, más o menos actual
@bomberstudios
bomberstudios / galaxy-ranger-mac.md
Created December 2, 2024 09:06
Running Galaxy Ranger on a Mac in 2024

Running Galaxy Ranger on macOS

César Astudillo posted about Galaxy Ranger on Bluesky, and of course I had to see if I could run it on any of my devices.

First I tried running it on my Powkiddy RGB30, and it did not work out of the box, so I brought out the big guns (my MacBook Pro).

This is what you need to get it running:

Requirements

@bomberstudios
bomberstudios / Change Font.sketchplugin
Last active May 20, 2024 03:42
Change font family for all text layers in Sketch
// Change font (ctrl a)
var doc = context.document,
selection = context.selection,
font_name = [doc askForUserInput:"Font name:" initialValue:"Arial"];
function check_layer(layer){
log(layer)
var className = layer.className()
log("Checking layer " + layer + " of klass: " + className)
if (className == "MSTextLayer") {
@bomberstudios
bomberstudios / sketch-diff-in-git.md
Last active May 17, 2024 02:53
How to diff your .sketch files in Git

Using sketchtool to diff your .sketch files using text

Requirements

You need to have SketchTool installed somewhere in your path.

Setup

Add this in your ~/.gitconfig file (for some reason, it won't work in a local .gitconfig file):

@bomberstudios
bomberstudios / sketch-plugins.md
Last active February 26, 2024 07:02
A list of Sketch plugins hosted at GitHub, in no particular order.
@bomberstudios
bomberstudios / keeps_in_europe.md
Created October 4, 2020 14:27
Keyboard Shops in Europe
@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 / convert.rb
Created November 20, 2012 10:37
Converts PSD files in a folder to PNG
Dir.glob("*.psd").each do |file|
system("sips -s format png #{file} --out #{File.basename(file,'.psd')}.png")
end

Sketch Image Compressor (Beta)

A Plugin for Sketch that compresses your bitmap assets, to keep filesize to a minimum.

Please note that the compression is lossless, so no pixels will be harmed by running this Plugin : )

Installation

  • Download Sketch Image Compressor & unzip it.
  • Double click Sketch Image Compressor.sketchplugin to install the Plugin.