Today I tried to log into Amazon on login I was sent a code to my email address. Now I tried logging into Twitch, I should enter the code that was sent to my email address. I closed the tab and am writing this blog post, because I won’t use Twitch today since they make…
Read ArticleAuthor: Darko Luketic
I'm a self-employed developer since 2004. I have been working professionally since 2000. My first contact with computers was the C64 at the age of 11 where I coded in machine code and assembler.
I worked with PHP professionally for 11 years, nowadays I prefer Angular, Go and Flutter, but I'm open minded. However I would dislike taking a step back to PHP.
My services are for hire I'm also looking for remote employment.
Find and delete all node_modules and bower_components in all directories
If you would like to delete all node_modules and bower_components in all directories relative to the current, use the following commands:
|
1 2 |
find . -name "node_modules" -type d -prune -exec rm -rf '{}' + find . -name "bower_components" -type d -prune -exec rm -rf '{}' + |
Dart vs Go performance (http)
Dart vs Go Dartlang vs Golang HTTP performance A simple test
Read ArticleCaution: Kernel 5.3.4 and RAID0 default_layout
When you have a RAID0 array that is made up of 2 or more devices that are not the same size, at least on Archlinux since Kernel version 5.3.4 you will have trouble booting. You will get the message:
|
1 2 |
cannot assemble multi-zone RAID0 with default_layout setting please set raid.default_layout to 1 or 2 |
MySQL 5.7 Reset Root Password
The most simple way to reset the root password of MySQL 5.7 on CentOS 7
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
systemctl stop mysqld systemctl set-environment MYSQLD_OPTS="--skip-grant-tables" systemctl start mysqld mysql -u root mysql> UPDATE mysql.user SET authentication_string = PASSWORD('YourNewPassword') WHERE User = 'root' AND Host = 'localhost'; mysql> FLUSH PRIVILEGES; mysql> quit systemctl stop mysqld systemctl unset-environment MYSQLD_OPTS systemctl start mysqld mysql -u root -p |