Instantly share code, notes, and snippets.

View convertIdToClass.js
// 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'; = true;
exports.description = 'convert id attribute to class, using the same value';
View newsketchfile.rb
#!/usr/bin/env ruby
# Generate empty .sketch file, with brand new UUID
require 'fileutils'
DOC_UUID = `uuidgen`.strip
PAGE_UUID = `uuidgen`.strip



  • 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
View Pulled

Pulled Pork


  • 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 ( 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:


We've identified an issue where a plugin with malformed or missing version info can result in a non-working Plugins menu. We'll release a fix for that as soon as humanly possible in Sketch 46.1. Meanwhile, you can try disabling plugins that don't have a version number using Sketch 45 (you can download it from and then launching Sketch 46.

Hope it helps!


If you're using Principle 2.0.6, you're probably aware that its Sketch importer no longer works with Sketch 41. We've made some changes to the way our exporter works under the hood, and as a result they had to update a few lines of code on the plugin they run to import from Sketch.

Surprisingly, they've decided to make their fix available only for users of Principle 2.1 (a paid upgrade). If you'd rather not have to pay for a trivial fix, here's what you can do:

  • Download the trial for Principle 2.1 from
  • Right click the app bundle you just downloaded, choose "Show Package Contents", and navigate to
  • Select the script.js file and copy it (Cmd+C)
  • Now go to your Applications folder, right click, choose "Show Package Contents" and navigate to
  • Paste script.js (Cmd+V)
  • Relaunch Principle 2.0.6

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 : )


  • Download Sketch Image Compressor & unzip it.
  • Double click Sketch Image Compressor.sketchplugin to install the Plugin.
View unlock_pages.cocoascript
var pages = context.document.pages()
for (var i = 0; i < pages.count(); i++) {
pages.objectAtIndex(i).isVisible = 1