Big overview of what's missing in Safari 7.1+ and iOS 8+ in terms of browser storage.
Updated May 25th 2016
(function ($) { | |
$.fn.uncheckableRadio = function () { | |
return this.each(function () { | |
var radio = this, | |
label = $('label[for="' + radio.id + '"]'); | |
if (label.length === 0) { | |
label = $(radio).closest("label"); | |
} | |
var label_radio = label.add(radio); | |
label_radio.mousedown(function () { |
<?php | |
/* | |
ppbHelpManager Plugin | |
by [email protected] | |
Version: 0.0.1e - This is a BETA version. Use it at your own risk! | |
DESCRIPTION: | |
* hides descriptions of tvs in collapsibles, | |
* adds modals windows to some or all of them. |
A few blocks of .htaccess code to help improve your websites performance and/or functionality. I would recommend reading about each section and applying if required instead of applying everything. | |
The more code in your .htaccess the more your server needs to process BEFORE the HTML starts being served. | |
______________________ .htaccess starts after this line _________________________________ | |
## Optional - Allow cross-origin requests. ## | |
# http://enable-cors.org/ - http://www.w3.org/TR/cors/ | |
# https://code.google.com/p/html5security/wiki/CrossOriginRequestSecurity |
<?php | |
// Add RTE for introtext if richtext option is enabled for the resource | |
// check "OnDocFormRender" event | |
$modx->regClientStartupHTMLBlock('<script>Ext.onReady(function() { | |
if(MODx.loadRTE) MODx.loadRTE("modx-resource-introtext"); | |
});</script>'); |
<?php | |
/* | |
* OpenExpedio ("xPDO") is an ultra-light, PHP 5.2+ compatible ORB (Object- | |
* Relational Bridge) library based around PDO (http://php.net/pdo/). | |
* | |
* | |
* This plugin is part of xPDO. | |
* | |
* xPDO is free software; you can redistribute it and/or modify it under the | |
* terms of the GNU General Public License as published by the Free Software |
// Implementation in ES6 | |
function pagination(c, m) { | |
var current = c, | |
last = m, | |
delta = 2, | |
left = current - delta, | |
right = current + delta + 1, | |
range = [], | |
rangeWithDots = [], | |
l; |
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
var noteValues = { | |
'C0': 16.35, | |
'C#0': 17.32, | |
'Db0': 17.32, | |
'D0': 18.35, | |
'D#0': 19.45, | |
'Eb0': 19.45, | |
'E0': 20.60, | |
'F0': 21.83, | |
'F#0': 23.12, |
[{ | |
"Note": "The first two digits (ranging from 10–43) correspond to the province, while the last two digits correspond either to the city/delivery zone (range 01–50) or to the district/delivery zone (range 51–99). Afghanistan Postal code lookup", | |
"Country": "Afghanistan", | |
"ISO": "AF", | |
"Format": "NNNN", | |
"Regex": "^\\d{4}$" | |
}, { | |
"Note": "With Finland, first two numbers are 22.", | |
"Country": "Åland Islands", | |
"ISO": "AX", |