
Backend Developer Blog
239 FOLLOWERS
Hi! I'm Ruslan. In my blog, I share my 7 years of experience as a Backend developer through articles on PHP, Golang, Laravel, and popular issues. I also share insight on my current projects.
Backend Developer Blog
3M ago
In Golang, converting a string to a byte array is straightforward and efficient, as strings and byte slices ([]byte) are closely related. This conversion is commonly used when handling data … Read more
Сообщение Golang string to byte array появились сначала на Backend developer blog ..read more
Backend Developer Blog
3M ago
In Golang, the strings.Split function is a powerful tool for splitting a string based on a specified separator. Part of the strings package, it breaks a string into a slice … Read more
Сообщение Golang string split появились сначала на Backend developer blog ..read more
Backend Developer Blog
2y ago
Overview
There are the first 100 of the most popular dog breeds by AKC in the dataset. We weekly update our data, so the number of breeds is going up. Data example you can download it by this link.
Data can be provided in the following formats: JSON, SQL, XLS, and CSV.
Breeds Dataset fields
Id
Slug – unique English name
Thumbnail – picture of the dog’s head. Size: width 220px, height is proportional.
Main Image – picture of the dog in full size. Normally picture size is from 800*900 to 1000*1000 px
Name – dog breed
Other Names – other know breed names of the breed.
Origin – country or countri ..read more
Backend Developer Blog
2y ago
You’ve passed a test on https://pagespeed.web.dev/ and got a similar problem
PageSpeed insights opportunities
PageSpeed Insights shows an opportunity that I can reduce unused JavaScript.
I’ll show you how to do that using the code coverage feature.
Run code coverage
Open the website you want to improve.
Open DevTools. In Chrome, you can do it by right click mouse -> Inspect or by Key F12 or by shortcut Ctrl+Shift+I.
Next Step, you need to press Run command (Ctrl+Shift+P):
Run command
Then start to type coverage and you’ll see what we are looking for Show coverage:
Show Coverage tab
After th ..read more
Backend Developer Blog
2y ago
If you got such an error:
Error: Could not find Chromium (rev. 1069273). This can occur if either
1. you did not perform an installation before running the script (e.g. `npm install`) or
2. your cache path is incorrectly configured (which is: /home/ruslan/.cache/puppeteer).
For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.
at ChromeLauncher.resolveExecutablePath (/home/ruslan/Projects/puppeteer-bot/node_modules/puppeteer-core/lib/cjs/puppeteer/node/ProductLauncher.js:120:27)
at ChromeLauncher.executablePath (/home/ruslan/Projects/puppet ..read more
Backend Developer Blog
2y ago
Сollection of websites where you can sell/buy websites, online stores, saas services.
https://www.motioninvest.com/
https://flippa.com/
https://empireflippers.com/
https://www.trustiu.com/
https://feinternational.com/
https://www.sideprojectors.com/#/
https://exchangemarketplace.com/
Сообщение Where to buy/sell website появились сначала на Backend developer blog ..read more
Backend Developer Blog
2y ago
If you had been using PhpStorm for a long time and started to use VSCode recently, you must feel uncomfortable with the new Keyboard shortcuts.
The easiest way to migrate shortcuts from your IDE to VSCode: File->Preferences->Migrate Keyboards shortcuts from…
If you want just update some commands manually
I prepared a cheat sheet of the most important commands I use every hour during my work time. Column Shortcuts contains keys I set by myself (it’s not original). I think 2 first columns will be most helpful for you, so you can find the name of shortcuts in each IDE easier and set the sho ..read more
Backend Developer Blog
2y ago
If you use youtube Iframe on your website this approach will be interesting for you to optimize page speed.
Problem
You use the Iframe
probably you’ve noticed that your page is loading slower now. Especially if you have several video on the page.
It was needed 2.98 seconds on my page only for base.js which pull player functionality. Page loading took 6.58 seconds in total. Quite long.
I found Denis Chernikiov solution here.
Demo
So briefly, we pull only preview image instead of extra requests. And put play icon above preview - so it looks like player. So you don't do requests for youtube asse ..read more
Backend Developer Blog
2y ago
Guide how to check main metrics Ahrefs, Moz, Majestic for free.
Original websites where metrics came from
Majestic Citation Flow(CF), Trust Flow(TF) – https://majestic.com/reports/site-explorer
Ahrefs Domain Rating(DR), URL Rating(UR) – https://ahrefs.com/backlink-checker
You also can use Ahrefs for free but it will be limited access. But even limited tools give helpful information.
Domain Authority(DA), Linking Root Domains, Spam Score (SS) https://moz.com/domain-analysis
Check metrics for free 1. websiteseochecker.com
You will be able to check 3 domains at once. As result you get website met ..read more