Improved .visually-hidden
Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.
| const _ = require('lodash'); | |
| const $ = require('jquery'); | |
| const Vue = require('vue'); | |
| require('jquery.magnific-popup'); | |
| module.exports = Vue.extend({ | |
| template: require('./tpl.html'), | |
| props: { | |
| show: { | |
| type: Boolean, |
| * { | |
| case: lowercase; | |
| max-empty-lines: 4 !warning; | |
| } | |
| selector { | |
| max-empty-lines: 1; | |
| } | |
| *::comma { |
| <?php | |
| namespace Supawdog\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Symfony\Component\Process\ProcessUtils; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Process\PhpExecutableFinder; | |
| class WebpackCommand extends Command |
This is a proposal for lightning talk at Reactive Conf. Please 🌟 this gist to push the proposal!
Hi, I am Andy, creator of leakage - the node-powered memory leak testing library.
Instead of manual debugging it provides a structured approach to fix or even prevent memory leaks.
| !function(n,e,a,t,o,r,s,c){var c=c||[];n.onerror=function(n,e,a){c.push([n,e,a])};var i=!1; | |
| r=e.createElement(a),s=e.getElementsByTagName(a)[0],r.async=1,r.src=t,r.crossorigin="anonymous", | |
| r.onreadystatechange=r.onload=function(){if(!i){Raven.config(o).install();for(var n=0;n<c.length;n++)Raven.captureMessage("Message: "+c[n][0]+" - URL: "+c[n][1]+" - Line: "+c[n][2])}i=!0} | |
| ,s.parentNode.insertBefore(r,s) | |
| }(window,document,"script","https://cdn.ravenjs.com/3.16.0/raven.min.js","https://[email protected]/xx"); |
Most recently tested on macOS Sierra (10.12.6)
curl https://bootstrap.pypa.io/get-pip.py -o ~/Downloads/get-pip.py--user flag; python ~/Downloads/get-pip.py --user. pip will be installed to ~/Library/Python/2.7/bin/pip~/Library/Python/2.7/bin is in your $PATH. For bash users, edit the PATH= line in ~/.bashrc to append the local Python path; ie. PATH=$PATH:~/Library/Python/2.7/bin. Apply the changes, source ~/.bashrc.--user when installing modules; ie. pip install <package_name> --user| { | |
| "emojis": [ | |
| {"emoji": "👩👩👧👧", "name": "family: woman, woman, girl, girl", "shortname": ":woman_woman_girl_girl:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F467", "html": "👩‍👩‍👧‍👧", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👩👩👧👦", "name": "family: woman, woman, girl, boy", "shortname": ":woman_woman_girl_boy:", "unicode": "1F469 200D 1F469 200D 1F467 200D 1F466", "html": "👩‍👩‍👧‍👦", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👩👩👦👦", "name": "family: woman, woman, boy, boy", "shortname": ":woman_woman_boy_boy:", "unicode": "1F469 200D 1F469 200D 1F466 200D 1F466", "html": "👩‍👩‍👦‍👦", "category": "People & Body (family)", "order": ""}, | |
| {"emoji": "👨👩👧👧", "name": "family: man, woman, girl, girl", "shortname": ":man_woman_girl_girl:", "unicode": "1F468 200D 1F469 200D 1F467 200D 1F467", "html": "👨‍👩&z |
| # Trim a single "input.png" image and save to "output.png" | |
| magick input.png -trim +repage output.png | |
| # Trim a single "image.png" image and overwrite the original file (based on @enijar comment) | |
| mogrify -trim +repage image.png | |
| # Trim and overwrite all png images from the working directory (based on @enijar comment) | |
| mogrify -trim +repage *.png |