https://play.google.com/intl/en_us/badges/
npm install
npm run dl-badges
/** | |
* Renames a collection of %COUNTRY_NAME%.ext files to a matching set of | |
* %ISO_CODE%.ext files. | |
* | |
* Uses the https://github.com/datasets/country-codes dataset for names | |
* and ISO codes. Since it's CSV, I also used | |
* https://github.com/Keyang/node-csvtojson to convert to JSON. | |
* | |
* V 0.0.2. | |
*/ |
javascript:+function () { | |
/** | |
* Bookmarklet for compact view on GitHub Pull request file changes. | |
*/ | |
'use strict'; | |
let d, s, sh, id; | |
id = '__toggleCompactStyles__'; | |
d = document, s = d.getElementById(id); | |
if (!s) { | |
s = d.createElement('style'); |
worker_processes auto; | |
pid /run/nginx.pid; | |
worker_rlimit_nofile 30000; | |
events { | |
worker_connections 65535; | |
multi_accept on; | |
use epoll; | |
} |
https://play.google.com/intl/en_us/badges/
npm install
npm run dl-badges
/* jshint -W033, -W097 */ | |
/* globals document, Element */ | |
(function() { | |
"use strict"; | |
function query(es, s) { | |
return _q(es, s, "querySelector") | |
} |