Hidden text that is still accessible to screen readers.
CSS:
.hidden {
height: 1px;
left: -10000px;
overflow: hidden;
position: absolute;| @mixin clearfix { | |
| &:after { | |
| visibility: hidden; | |
| display: block; | |
| font-size: 0; | |
| content: " "; | |
| clear: both; | |
| height: 0; | |
| min-height: 0; | |
| } |
| #!/bin/bash | |
| sudo add-apt-repository 'deb http://download.webmin.com/download/repository sarge contrib'; | |
| wget http://www.webmin.com/jcameron-key.asc; | |
| sudo apt-key add jcameron-key.asc; | |
| sudo apt-get update; | |
| sudo apt-get install -y webmin; | |
| # usage | |
| # wget -O - https://gist.githubusercontent.com/djbeater/9ef5459aea7e958e2a724366bc7c5e36/raw/install-webmin.sh | bash | |
| # OR |
| /** | |
| * Fibonacci sequence generator. | |
| * https://developer.mozilla.org/docs/Web/JavaScript/Guide/Iterators_and_Generators#Advanced_generators | |
| * | |
| * @return {Number} | |
| */ | |
| function* fibonacci() { | |
| let [a, b] = [0, 1]; | |
| let current; | |
| while (true) { |
| 'use strict'; | |
| /** | |
| * Invoke a callback `n` number of times. | |
| * | |
| * @param {Number} n - The times. | |
| * @param {Function} cb - The callback. | |
| */ | |
| function times(n, cb) { | |
| Array(n).fill().map(function(_, i) { |
| /** | |
| * Measure an element. | |
| * | |
| * @param {HTMLElement} element - The element. | |
| * @param {HTMLElement} [parentNode] - The parent element. | |
| * @return {Object} | |
| */ | |
| function measure(element, parentNode) { | |
| parentNode = parentNode || document.body; | |
| element.style.display = 'block'; |
| 'use strict'; | |
| /** | |
| * Module dependencies. | |
| */ | |
| var crypto = require('crypto'); | |
| /** | |
| * Calculates the MD5 hash of a string. | |
| * |
See associated video.
$ git clone https://gist.github.com/98a60b5ee632b94e6353af3b632246d3.git mongoose
$ cd mongoose
$ npm install