Just created a open repository for PHP Snippets on VScode

Tab-expanding snippets of VSCode is a useful feature for rapid coding. You can store common snippets that you use in your projects there, assign it a prefix & import it in your code whenever needed.

To take advantage of public contribution, I just created a small repository on Github that’s containing some starter PHP snippets. You may use it in your projects or add common snippets to it.

Here you can find the repo:

https://github.com/behradkhodayar/VSCodePhpSnippets

Take care!

Bitcoin 51% Attack Cost

For those familiar with Bitcoin, one of the criticisms some illiterate people to Bitcoin make occasionally, is the famous 51% Attack ! Its also known as Majority Attack or Majority Hash Rate Attack.

I don’t want to go through this, because there are plenty of comprehensive resources/articles out there at your fingertips via Googling. I’m just here to share an interesting page, trying to convince people from a different POV.

Here it is from the GoBitcoin.io : Cost of a 51% Attack.

I guess it’d be helpful, specially for numbers-persons. Take a look at eye-watering amount of money one should invest in attacking Bitcoin network, & Guess what happens next? The price will experience a free fall down to $0 !

So the common sense simply says: No worries, It Won’t Happen 🙂