How to use Framework7 V2 Router Tutorial

I’ve been getting a lot of requests on how to use the new V2 Router of Framework7, so here are two episodes covering the absolute basics of routing in F7. Have fun, enjoy and let me know if anything is unclear or you want other specific topics covered.

Video playlist:

(Example/demo source code available on GitHub)

Find Dead CSS in React using Radium

When a project grows it often gets harder to find out which css styles are still required and which can be removed. There are post-processors which analyse your bundle and can remove code that it thinks can be deleted, but this is just the same as treating the symptom instead of curing the disease. In this video I will show you how to keep your css clean by easily finding and removing unused styles in your React app using Radium.

How to mine Electroneum in a pool on Mac using Docker

Note: This will only allow for CPU-mining, not GPU.

Instructions

  • Install docker
  • Open applications/Docker.app
  • Open Terminal and run: docker pull hmage/cpuminer-opt
  • After installation run this in Terminal: docker run -d hmage/cpuminer-opt -a cryptonight -o [POOL_URL:PORT] -u [YOUR_WALLET_ADDRESS] -p x

Make sure to replace [POOL_URL:PORT] and [YOUR_WALLET_ADDRESS], so for example for me this was:

docker run -d hmage/cpuminer-opt -a cryptonight -o stratum+tcp://eu2.electromine.fr:3333 -u etnjxqRsKWKBtZfw1ba2XFEW8jKKEAnfbepDPeHVXw8Y1UzDsH1z3WJMxBihoiCBr5hT99qWe8UaAgpQ7EbaCTkY77jP2b7fmZ -p x

Now the miner is running.

x would be your password. Usually you don’t need one but you can set it here if you want.

How to stop

  • docker ps
  • docker stop [process_id]