Skip to content

Instantly share code, notes, and snippets.

Avatar
🍊
Thinking

Ale Muñoz bomberstudios

🍊
Thinking
View GitHub Profile
@bomberstudios
bomberstudios / sketch-plugins.md
Last active Sep 2, 2022
A list of Sketch plugins hosted at GitHub, in no particular order.
View sketch-plugins.md
@bomberstudios
bomberstudios / DNI-Electronico-en-Mac.md
Created Mar 15, 2021
Instrucciones para instalar el DNI Electrónico en un Mac en 2021
View DNI-Electronico-en-Mac.md

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 https://www.dnielectronico.es/descargas/software_MACOS/libpkcs11-dnie-1.6.7_x64.pkg para Intel, o https://www.dnielectronico.es/descargas/software_MACOS/libpkcs11-dnie-1.6.7_arm64.pkg para ARM (estos enlaces estan en la web oficial del DNI Electrónico, https://www.dnielectronico.es/PortalDNIe/PRF1_Cons02.action?pag=REF_1113)
  4. Instalar el paquete (los ficheros se copiaran en /Library/Libpkcs11-dnie, y en esa misma carpeta se instalara una app para desinstalarlo en el futuro cuando algo vaya inevitablemente mal).
@bomberstudios
bomberstudios / convert.rb
Created Nov 20, 2012
Converts PSD files in a folder to PNG
View convert.rb
Dir.glob("*.psd").each do |file|
system("sips -s format png #{file} --out #{File.basename(file,'.psd')}.png")
end
@bomberstudios
bomberstudios / Change Font.sketchplugin
Last active May 7, 2022
Change font family for all text layers in Sketch
View Change Font.sketchplugin
// 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 / keeps_in_europe.md
Created Oct 4, 2020
Keyboard Shops in Europe
View keeps_in_europe.md
View sketch-image-compressor.md

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.
@bomberstudios
bomberstudios / README.md
Last active Feb 16, 2022
Loading a Cocoa Framework in a Sketch Plugin
View README.md

This is what Craft does:

function loadFramework(pluginRoot) {
  if (NSClassFromString('PanelsManager') == null) {
    var mocha = [Mocha sharedRuntime];
    return [mocha loadFrameworkWithName:'Panels' inDirectory:pluginRoot];
  } else {
    return true;
 }
@bomberstudios
bomberstudios / top_100_anime_movies.md
Last active Dec 25, 2021
Top 100 Anime Movies Of All Time (from http://imgur.com/a/k2vwE)
View top_100_anime_movies.md
  1. Colorful (2010) [T]

    Probably not the title that most people expected to see in the #1 slot. I urge everyone to give it a shot though. No other film has ever brought me through a greater spectrum of emotions. It's a supernatural film, but the characters are so well fleshed out and developed that they feel real. I've probably seen a hundred films since, but none have compared.

  2. Time of Eve (2010) [T]

Director: Yasuhiro Yoshiura - "Sometime in future Japan, androids have been involved in every aspect of peoples lives. One day, upon checking his android's behavioral log, Rikuo, a student, noticed his android's returning times have been odd recently. With his friend Masaki, they found out the place where his android, Sammy, have been visiting: a small cafe called Eve no Jikan where an

View sinatra_sample_app.rb
# Sinatra sample app.
#
# Usage:
# $ sudo gem install sinatra
# $ ruby this_file.rb
# $ open http://0.0.0.0:4567/
require "rubygems"
require "sinatra"
@bomberstudios
bomberstudios / open_source_design_software.md
Last active Mar 12, 2021
Una lista de software de diseño open source, más o menos actual
View open_source_design_software.md