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 / dear-sandbox.md
Last active August 29, 2015 14:22
Sandbox, we love you (NOT)

I'm running this code here:

var str = @"This is a string"
var path = "/Users/ale/Desktop/test.txt" // edit this, unless your name is awesome

var return1 = [str writeToFile:path atomically:true encoding:NSUTF8StringEncoding error:nil]

log(return1) // 0 if error, 1 if successful
// Move Right 100px (shift option →)
function areWeEditingText(){
var currentLayer = context.selection[0]
if (currentLayer == null || currentLayer.isEditingText == undefined) {
return false
} else {
return currentLayer.isEditingText()
}
}
@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 / 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
@bomberstudios
bomberstudios / Pollo al currycoco con arroz.md
Last active August 29, 2015 14:17
Receta: pollo al currycoco con arroz

Pollo al currycoco con arroz

Una receta fácil, rápida de hacer y fantástica para empezar a trastear con sabores de la comida asiática.

Ingredientes para 2/3 raciones

  • 500gr de filetes de contramuslo de pollo sin hueso
  • 1 chile tailandés rojo fresco
@bomberstudios
bomberstudios / Huevos rancheros.md
Last active August 29, 2015 14:16
Receta de huevos rancheros en cuenco

Huevos rancheros en cuenco

Ingredientes para 3 personas

  • 3 huevos
  • queso rallado para gratinar
  • un puñado de totopos / tortilla chips / nachos / como sea que los llamen allá donde vives
  • un bote de alubias (rojas o negras), de 500gr
// Changing the corner radius for all points in a layer
// Select a single layer and run this
var s = selection[0].firstLayer()
var points = s.allCurvePoints()
for(var i=0; i < points.count(); i++){
var currentPoint = points.objectAtIndex(i)
log(currentPoint.cornerRadius())
currentPoint.setCornerRadius(i*10)
@bomberstudios
bomberstudios / tortilla_de_patatas.md
Last active April 18, 2017 08:45
Receta de tortilla de patatas

Esta es la última iteración de mi receta de tortilla de patatas, para quien quiera probarla : )

Ingredientes (para 2 adultos y una niña de 3 años)

  • 2 patatas grandecitas
  • 3 huevos
  • media cebolla
  • sal, aceite y azúcar
frame = NSMakeRect(0, 0, 100, 100);
layerToAdd = [[MSRectangleShape alloc] initWithFrame:frame] // or MSTextLayer, or MSBitmapLayer, or…
[group addLayers:[layerToAdd]]
@bomberstudios
bomberstudios / Pure de Espinacas.md
Last active August 29, 2015 14:14
Receta: puré de espinacas

Puré de Espinacas

Ingredientes (para 4 ó 5 raciones)

  • 1 cebolla mediana
  • 1 puerro grande
  • 1 calabacín grande
  • 1 patata pequeña