Skip to content

Instantly share code, notes, and snippets.

Ale Muñoz bomberstudios

Block or report user

Report or block bomberstudios

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bomberstudios
bomberstudios / gist:7285386fa10b4fa9aaa41222bfbbbb55
Created Apr 3, 2019
Install multiple RSS Libraries at once
View gist:7285386fa10b4fa9aaa41222bfbbbb55
// 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 Mar 12, 2019
Sitios donde comer en Sevilla
View Sevilla.md

Comiendo en Sevilla, sin ningún orden aparente

@bomberstudios
bomberstudios / convertIdToClass.js
Created Oct 10, 2018
SVGO plugin to convert the `id` attribute of an element to a `class` attribute with the same value.
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';
exports.active = true;
exports.description = 'convert id attribute to class, using the same value';
@bomberstudios
bomberstudios / newsketchfile.rb
Last active Nov 15, 2018
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)
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
DOCUMENT_JSON = <<~HEREDOC
{
View Kimchi.md

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
View Pulled Pork.md

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
View keybase.md

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:

View missing-plugins.md

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 https://sketchapp.com/updates/#version-45-2) and then launching Sketch 46.

Hope it helps!

@bomberstudios
bomberstudios / fix-principle.md
Created Nov 15, 2016
How to fix Principle 2.0.6
View fix-principle.md

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 https://principleformac.com
  • Right click the app bundle you just downloaded, choose "Show Package Contents", and navigate to Principle.app/Contents/Resources/
  • Select the script.js file and copy it (Cmd+C)
  • Now go to your Applications folder, right click Principle.app, choose "Show Package Contents" and navigate to Principle.app/Contents/Resources/
  • Paste script.js (Cmd+V)
  • Relaunch Principle 2.0.6
You can’t perform that action at this time.