I hereby claim:
- I am LeonardoCiaccio on github.
- I am leonardociaccio (https://keybase.io/leonardociaccio) on keybase.
- I have a public key whose fingerprint is 10FE 31E1 3353 615F D730 8099 2D8C D687 27B9 CBCD
To claim this, I am signing this object:
| {"first":[1,2,3,{"worng key \/ * standard":[1,2,3],"another key":"my value"}],"second":{"only":1}} |
| function _isObj( _obj ){ | |
| return ( typeof _obj === "object" && JSON.stringify( _obj ).indexOf( "{" ) == 0 ); | |
| } |
| {"lastNews":"https://github.com/LeonardoCiaccio/Trimgle/wiki/ChangeLog"} |
| var _noCache = function( link ){ | |
| var newdata = Date.now(); | |
| if( link.indexOf( "?" ) > -1 ){ | |
| return link.replace( "?", "?" + newdata + "=" + newdata + "&" ); | |
| }else if( link.indexOf( "#" ) > -1 ){ |
| /* | |
| Puoi creare il bookmarklet utilizzando questo servizio https://chriszarate.github.io/bookmarkleter/ | |
| */ | |
| // --> [ uSignature lib ] |
I hereby claim:
To claim this, I am signing this object:
| function similar_text (first, second, percent, limit) { | |
| // eslint-disable-line camelcase | |
| // discuss at: http://locutus.io/php/similar_text/ | |
| // original by: Rafał Kukawski (http://blog.kukawski.pl) | |
| // bugfixed by: Chris McMacken | |
| // bugfixed by: Jarkko Rantavuori original by findings in stackoverflow (http://stackoverflow.com/questions/14136349/how-does-similar-text-work) | |
| // improved by: Markus Padourek (taken from http://www.kevinhq.com/2012/06/php-similartext-function-in-javascript_16.html) | |
| // example 1: similar_text('Hello World!', 'Hello locutus!') | |
| // returns 1: 8 |
| /* | |
| Version : 1.0.0 | |
| Aggiunge un attributo shared dinamico a seconda delle opzioni, molto utile per avere riferimenti shared | |
| vuol dire che più di un elemento può avere lo stesso valore: | |
| window._class( { | |
| selector : "signature" // default "_class" |
| /* | |
| Version : 1.0.0 | |
| Aggiunge un attributo univoco dinamico a seconda delle opzioni, molto utile per fare | |
| una istantanea della pagina e avere riferimenti solidi : | |
| window._id( { | |
| selector : "signature" // --> default "_id" |
| // Request storage usage and capacity left | |
| window.webkitStorageInfo.queryUsageAndQuota(webkitStorageInfo.TEMPORARY, | |
| //the type can be either TEMPORARY or PERSISTENT | |
| function(used, remaining) { | |
| console.log("Used quota: " + used + ", remaining quota: " + remaining); | |
| }, function(e) { | |
| console.log('Error', e); | |
| } ); |