This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const uas = [ | |
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36", | |
"Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Mobile Safari/537.36", | |
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0", | |
"Mozilla/5.0 (Android 10; Mobile; rv:100.0) Gecko/100.0 Firefox/100.0", | |
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15", | |
"Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/604.1 (KHTML, like Gecko) Version/15.2 Mobile/15E148 Safari/604.1" | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function roundToEvenIfEquidistant( float ) { | |
// equidistant case | |
if ( Math.ceil( float ) - float === float - Math.floor( float ) ) { | |
if ( Math.ceil( float ) % 2 === 0 ) { // if ceil is even | |
return Math.ceil( float ); | |
} else { | |
return Math.floor( float ); | |
} | |
} else { | |
// non-equidistant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// drop this JSON into `/.well-known/origin-policy` | |
{ | |
"ids": ["policy-1"], | |
"features": { | |
"policy": "ch-dpr https://res.cloudinary.com 'self'; | |
ch-width https://res.cloudinary.com 'self'; | |
ch-viewport-width https://res.cloudinary.com 'self'" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/smtp' | |
people = [ { | |
:name => "Eric Portis", | |
:email => "eric@cloudinary.com", | |
:address => "1812 Obstruction Pass Rd, Olga, WA 98279" | |
}, | |
{ | |
:name => "Mr Worldwide", | |
:email => "mrworldwide@pitbull.party", |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"RegionID","RegionName","City","State","Metro","CountyName","SizeRank","1996-04","1996-05","1996-06","1996-07","1996-08","1996-09","1996-10","1996-11","1996-12","1997-01","1997-02","1997-03","1997-04","1997-05","1997-06","1997-07","1997-08","1997-09","1997-10","1997-11","1997-12","1998-01","1998-02","1998-03","1998-04","1998-05","1998-06","1998-07","1998-08","1998-09","1998-10","1998-11","1998-12","1999-01","1999-02","1999-03","1999-04","1999-05","1999-06","1999-07","1999-08","1999-09","1999-10","1999-11","1999-12","2000-01","2000-02","2000-03","2000-04","2000-05","2000-06","2000-07","2000-08","2000-09","2000-10","2000-11","2000-12","2001-01","2001-02","2001-03","2001-04","2001-05","2001-06","2001-07","2001-08","2001-09","2001-10","2001-11","2001-12","2002-01","2002-02","2002-03","2002-04","2002-05","2002-06","2002-07","2002-08","2002-09","2002-10","2002-11","2002-12","2003-01","2003-02","2003-03","2003-04","2003-05","2003-06","2003-07","2003-08","2003-09","2003-10","2003-11","2003-12","2004-01","2004-02","20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file | ssimulacra | mean_opinion_score | |
---|---|---|---|
i01_10_1.bmp | 0.03280812 | 5.97297 | |
i01_10_2.bmp | 0.05361108 | 5.94595 | |
i01_10_3.bmp | 0.10545110 | 4.91667 | |
i01_10_4.bmp | 0.20741088 | 3.21622 | |
i01_10_5.bmp | 0.32883978 | 2.08108 | |
i02_10_1.bmp | 0.04410916 | 6.00000 | |
i02_10_2.bmp | 0.06837454 | 5.97222 | |
i02_10_3.bmp | 0.12411026 | 5.43243 | |
i02_10_4.bmp | 0.22185609 | 3.50000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i01_10_1.bmp | 0.03280812 | 5.97297 | |
---|---|---|---|
i01_10_2.bmp | 0.05361108 | 5.94595 | |
i01_10_3.bmp | 0.10545110 | 4.91667 | |
i01_10_4.bmp | 0.20741088 | 3.21622 | |
i01_10_5.bmp | 0.32883978 | 2.08108 | |
i02_10_1.bmp | 0.04410916 | 6.00000 | |
i02_10_2.bmp | 0.06837454 | 5.97222 | |
i02_10_3.bmp | 0.12411026 | 5.43243 | |
i02_10_4.bmp | 0.22185609 | 3.50000 |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url,originalWidth,originalHeight,originalBytes,scale,quality,byteSize,bitsPerPaintedPixel,savingsRatio,ssimulacra,dssim,psnr,butteraugli | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/wikipedia-photos/001","1276","850","1537493","1","undefined","1537493","11.340534759358288","undefined","0.0","0.0","inf","0.0" | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_100,f_jpg/wikipedia-photos/001","1276","850","1537493","1.0","100","1086961","8.017414715102342","NaN","0.00148977","0.000186","52.3037","0.718803" | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_90,f_jpg/wikipedia-photos/001","1276","850","1537493","1.0","90","290198","2.140497879402545","NaN","0.01290557","0.002203","40.8954","2.469500" | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_80,f_jpg/wikipedia-photos/001","1276","850","1537493","1.0","80","163329","1.20471325834409","NaN","0.02397329","0.005460","37.2462","3.223867" | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_70,f_ |
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 13 columns, instead of 8. in line 5.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url,originalWidth,originalHeight,originalBytes,scale,quality,byteSize,bitsPerPaintedPixel,savingsRatio,ssimulacra,dssim,psnr,butteraugli | |
https://res.cloudinary.com/eric-cloudinary/image/upload/wikipedia-photos/001,1276,850,858800,1,undefined,1537493,11.340534759358288,1.79028062412669,0,0,inf,0 | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_100,f_jpg/wikipedia-photos/001",1276,850,858800,1,100,1086961,8.017414715102342,1.26567419655333,0.00148977,0.000186,52.3037,0.718803 | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_90,f_jpg/wikipedia-photos/001",1276,850,858800,1,90,290198,2.140497879402545,0.337911038658593,0.01290557,0.002203,40.8954,2.4695 | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_80,f_jpg/wikipedia-photos/001",1276,850,858800,1,80,163329,1.20471325834409,0.19018281322776,0.02397329,0.00546,37.2462,3.223867 | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_70,f_jpg/wikipedia-photos/001",1276,850,858800,1,70,125291,0.92414530702563 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 13 columns, instead of 8. in line 5.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
url,originalWidth,originalHeight,originalBytes,scale,quality,byteSize,bitsPerPaintedPixel,savingsRatio,ssimulacra,dssim,psnr,butteraugli | |
https://res.cloudinary.com/eric-cloudinary/image/upload/wikipedia-photos/001,1276,850,858800,1,undefined,1537493,11.340534759358288,1.79028062412669,0,0,inf,0 | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_100,f_jpg/wikipedia-photos/001",1276,850,858800,1,100,1086961,8.017414715102342,1.26567419655333,0.00148977,0.000186,52.3037,0.718803 | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_90,f_jpg/wikipedia-photos/001",1276,850,858800,1,90,290198,2.140497879402545,0.337911038658593,0.01290557,0.002203,40.8954,2.4695 | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_80,f_jpg/wikipedia-photos/001",1276,850,858800,1,80,163329,1.20471325834409,0.19018281322776,0.02397329,0.00546,37.2462,3.223867 | |
"https://res.cloudinary.com/eric-cloudinary/image/upload/w_1.0,q_70,f_jpg/wikipedia-photos/001",1276,850,858800,1,70,125291,0.92414530702563 |