Usage:
To create a new branch that is up-to-date with the remote master:
$ ws 123
Creates the branch issue123
Usage:
To create a new branch that is up-to-date with the remote master:
$ ws 123
Creates the branch issue123
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| // Use the Boolean `disabled` attribute | |
| myCSS.disabled = true; | |
| myJS.disabled = true; | |
| // Create a stylesheet toggle button: | |
| var stylesheet = document.getElementById('boot'), | |
| btn = document.querySelector('.btn'); | |
| btn.addEventListener('click', function () { | |
| stylesheet.disabled = (stylesheet.disabled === false) ? true : false; |
| { | |
| "keys": ["tab"], | |
| "command": "expand_abbreviation_by_tab", | |
| // put comma-separated syntax selectors for which | |
| // you want to expandEmmet abbreviations into "operand" key | |
| // instead of SCOPE_SELECTOR. | |
| // Examples: source.js, text.html - source | |
| "context": [ | |
| { |
| var beep = require('beepbeep'); | |
| var colors = require('colors'); | |
| var onError = function(err) { | |
| beep([200, 200]); | |
| var formatOutput = function(context) { | |
| var msg, file, line, description; | |
| if(context == 'gulp-babel') { |
| const range = require('lodash.range'); | |
| const flatten = require('flatten'); | |
| const Promise = require('bluebird'); | |
| const fs = require('fs'); | |
| const RANGE = 60; | |
| const RESOLUTIONS = ['1440x900','1600x900']; | |
| const STATUS_OK = 200; | |
| const ENCODING_FILE = 'binary'; |
| ### Full command line options | |
| ``` | |
| ffmpeg -f gif -i FOO.gif -pix_fmt yuv420p -c:v libx264 -movflags +faststart -filter:v crop='floor(in_w/2)*2:floor(in_h/2)*2' BAR.mp4 | |
| ``` | |
| ### Notie | |
| * output mp4 is encoded with h264, support Firefox/Chrome/Safari in Windows, Mac OSX, Android, and iOS. |
| // generateme.tumblr.com, 2016 | |
| // idea by zach lieberman | |
| // choose variant | |
| int variant = 0; // 0 or 1; | |
| void setup() { | |
| size(800, 800); | |
| background(0, 5, 25); | |
| strokeWeight(0.8); |
| by Addy Osmani (@addyosmani) | |
| https://twitter.com/addyosmani/status/743571393174872064 | |
| ——— | |
| Preresolve DNS hostnames for assets | |
| <link rel="dns-prefetch" href="https://my-site.com"> | |
| Begin a connection handshake in the background | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |