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 / open_source_design_software.md
Last active March 12, 2021 19:18
Una lista de software de diseño open source, más o menos actual
@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 / uxspain-2015.md
Last active April 26, 2020 15:12
Ale Muñoz — UX Spain 2015

Design Hacking — Mi chapa del UX Spain 2015

Hola, mundo

Soy Ale Muñoz. Nací en Sevilla, aunque ahora vivo con mi mujer y mi hija en Madrid, donde trabajo para una empresa holandesa, con un equipo repartido por toda Europa, haciendo software que se usa en todos los rincones del mundo.

Me gusta diseñar, cocinar, y sentarme plácidamente a poner la mente en blanco sin hacer absolutamente nada.

Llevo muchos años ayudando a diseñadores y diseñadoras a trabajar menos, fabricando herramientas para automatizar tareas, definiendo procesos de trabajo, o gestionando proyectos de diseño. Si alguna vez habéis trabajado conmigo es posible que os haya contado algún truco para hacer algo más rápido

@bomberstudios
bomberstudios / sketch-diff-in-git.md
Last active November 8, 2019 17:58
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 / muji-dotted-paper.ps
Created July 20, 2012 11:24
Print your own Muji dotted paper in A4 format (open in Preview.app, print at 100% scale)
%!PS-Adobe-3.0
% Title: dot grid paper, 5x5 mm
%%BeginSetup
%%BeginFeature: *PageSize A4
<< /PageSize [ 595.27 841.889 ]
/ImagingBBox null
>> setpagedevice
%%EndFeature
%%EndSetup
@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 / 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 / Export for Android from Sketch.md
Created May 14, 2013 15:41
Feature request: Export for Android from Sketch

For example xhdpi will be the reference for Android design and then we will able to export to ldpi, mdpi, hdpi and xxhdpi with only one click.

The export function creates a folder for each format named (ldpi, mdpi, hdpi, xhdpi, xxhdpi...) and each slice wil be resized like that :

  • xhdpi = 100%
  • ldpi = 37,5%
  • mdpi = 50%
  • hdpi = 75%
  • xxhpi = 150%
@bomberstudios
bomberstudios / svgo-sketch.sh
Created April 16, 2015 14:07
SVGo options to clean up Sketch's SVG files without destroying them
svgo --pretty --enable=removeTitle --enable=removeDesc --enable=removeDoctype --enable=removeEmptyAttrs --enable=removeUnknownsAndDefaults --enable=removeUnusedNS --enable=removeEditorsNSData -f folder_with_svg_files