Mongodb needs extra collection for two phase lock.
1 | var transactionSchema=new Schema({ |
The transaction life cycle is new->pending->applied->done
Mongodb needs extra collection for two phase lock.
1 | var transactionSchema=new Schema({ |
The transaction life cycle is new->pending->applied->done
When put wordpress blog behind a reverse proxy (e.g. nginx), some headers have to be setup:
1 | proxy_set_header Host $host; |
minimist is a lightweight cli argument (command line arguments) parser:
1 | require('minimist')("-x 3 -y 4 -n5 -abc --beep=boop foo bar baz"); |
1 | -webkit-font-smoothing: antialiased; |
Makes text clearer
In short:
Still don’t know why? Check out use cases here
Switch on / off resize of a textarea on horizontal / vertical / both.
1 | <textarea style="resize:horizontal"></textarea> |
The resize property can be either:
Remove or change style of outline when textarea is focused on safari / chrome etc.
1 | <textarea class="customize"></textarea> |
1 | .customize:focus{ |