defaults write com.apple.frameworks.diskimages skip-verify true
defaults write com.apple.finder CreateDesktop false; killall Finder
touch ~/.hushlogin
if (document.body.animate && typeof Animation === 'undefined') { | |
window.Animation = document.body.animate({}).constructor; | |
} | |
if (typeof Animation !== 'undefined' && Animation.prototype.finished === undefined) { | |
Object.defineProperty(Animation.prototype, 'finished', {get: function () { | |
if (this.__finishPromise) return this.__finishPromise; | |
if (this.playState === 'finished') { | |
this.__finishPromise = Promise.resolve(); | |
} else { |
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
import pycurl | |
import json | |
import time | |
from StringIO import StringIO | |
# | |
# Inspired by this Ruby version: https://gist.github.com/jamescmartinez/909401b19c0f779fc9c1 |
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 : )
Below is the list of modern JS frameworks and almost frameworks – React, Vue, Angular, Ember and others.
All files were downloaded from https://cdnjs.com and named accordingly.
Output from ls
command is stripped out (irrelevant stuff)
$ ls -lhS
566K Jan 4 22:03 angular2.min.js
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
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
brew update | |
brew link yasm | |
brew link x264 | |
brew link lame | |
brew link xvid | |
brew install ffmpeg | |
ffmpeg wiki: | |
https://trac.ffmpeg.org/wiki/Encode/MP3 |