- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
This content moved here: https://exploringjs.com/impatient-js/ch_arrays.html#quickref-arrays
@kangax created a new interesting quiz, this time devoted to ES6 (aka ES2015). I found this quiz very interesting and quite hard (made myself 3 mistakes on first pass).
Here we go with the explanations:
(function(x, f = () => x) {
<?php | |
/** included from: https://github.com/neitanod/forceutf8 */ | |
class Encoding { | |
const ICONV_TRANSLIT = "TRANSLIT"; | |
const ICONV_IGNORE = "IGNORE"; | |
const WITHOUT_ICONV = ""; | |
protected static $win1252ToUtf8 = array( | |
128 => "\xe2\x82\xac", |
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
2 - Autos & Vehicles | |
1 - Film & Animation | |
10 - Music | |
15 - Pets & Animals | |
17 - Sports | |
18 - Short Movies | |
19 - Travel & Events | |
20 - Gaming | |
21 - Videoblogging | |
22 - People & Blogs |
<!doctype html> | |
<html> | |
<head> | |
<title>Scroll Test</title> | |
<style> | |
html, body { | |
overflow: hidden; | |
width: 100%; | |
height: 100%; |
If you're using Angular 1.2+, jQuery 2.1+, jQuery UI 1.x+ together, you can easily get a weird error like this: | |
TypeError: undefined is not a function | |
at replaceWith (http://myapp.com/app/bower_components/angular/angular.js:7289:26) | |
at applyDirectivesToNode (http://myapp.com/app/bower_components/angular/angular.js:6518:13) | |
at compileNodes (http://myapp.com/app/bower_components/angular/angular.js:6167:15) | |
at compileNodes (http://myapp.com/app/bower_components/angular/angular.js:6179:15) | |
at compile (http://myapp.com/app/bower_components/angular/angular.js:6107:15) | |
at http://myapp.com/app/bower_components/angular/angular.js:1506:11 | |
at Scope.$eval (http://myapp.com/app/bower_components/angular/angular.js:12903:28) |
//Theres two parts to this code: first the birthday part and then the clock part which i had on separate arduinos. | |
//The first section is original and the second is modified from Joe Caldwell at http://www.highonsolder.com who modified it from Scott Bezek who modified it from Doug Jackson | |
//Good luck | |
#include <Wire.h> | |
#include "RTClib.h" | |
#include <Adafruit_NeoPixel.h> | |