JSPerf string concatenation vs interpolation:
str1 + str2;
// vs.
`${str1}${str2}`
android_bundle/ | |
dev_bundle/ | |
docs/ | |
examples/ | |
packages/ | |
scripts/ | |
tools/ | |
!tools/*.js | |
!tools/isobuild/*.js | |
!tools/catalog/*.js |
JSPerf string concatenation vs interpolation:
str1 + str2;
// vs.
`${str1}${str2}`
I hereby claim:
To claim this, I am signing this object:
android_bundle/ | |
dev_bundle/ | |
docs/ | |
examples/ | |
packages/ | |
scripts/ | |
tools/ | |
!tools/*.js | |
!tools/isobuild/*.js | |
!tools/catalog/*.js |
# As default browser: | |
curl http://example.com | |
# As GoogleBot: | |
curl -A GoogleBot http://example.com | |
# As GoogleBot (old/deprecated) style: | |
curl -A GoogleBot http://example.com?_escaped_fragment_= |
// Better to execute this in Google Chrome | |
// 0. Go to medium.com on the page where you would like to Follow other users | |
// 1. Right click on any place of page | |
// 2. Inspect Element | |
// 3. In opened panel - choose "console" tab | |
// 4. Copy-paste code you se below and hit "Enter" key | |
(function(){ | |
var newscript = document.createElement('script'); | |
newscript.type = 'text/javascript'; |
// Better to execute this in Google Chrome | |
// 0. Go to twitter on the page where you would like to Follow other users (with [follow] buttons) | |
// 1. Right click on any place of page | |
// 2. Inspect Element | |
// 3. In opened panel - choose "console" tab | |
// 4. Copy-paste code you se below and hit "Enter" key | |
// Note: Twitter will block if you're going to follow a lot users instantly | |
// Script below adds between 1.5 and 4 seconds between each "follow" (button click), so you can start it and leave it for a while | |
(function(){ |
# Add proper mime-type in Apache web server configuration | |
AddType application/manifest+json webmanifest |
import { rawCount } from './raw-count.js'; | |
rawCount(Meteor.users); | |
rawCount(Meteor.users, {'profile.active': true}); |
# Our servers has 32GB of RAM | |
storage: | |
dbPath: /data/mongo | |
journal: | |
enabled: true | |
engine: wiredTiger | |
wiredTiger: | |
engineConfig: | |
cacheSizeGB: 8 |