Don't use ActiveRecord for Bulk Operations Everybody knows that this line : Model.where(column: 'value').update_all(column: 'Another Value') is better than the following lines : Model.where(column: 'value').each do |item| item.column = 'Another Value' item.save
Tech Benchmark: WireGuard vs OpenVPN I've talked about how to build a WireGuard VPN server in 5 minutes in Blog Post. But I didn't explain why I am so excited and happy with WireGuard and why I felt
Tech Your own WireGuard VPN server in 5 minutes I used to use a personal OpenVPN server but I was never okay with its speed even though I tuned & enhanced the server configurations but still it wasn't good enough. Then I
Android Android Context Cheat Sheet I read an article about Android Context written by Dave Smith and I found that this table (cheat sheet) is very useful, So I decided to copy it here to my blog to
General [BOINC] Donate your power to humanity Two days ago I read this article "Scientists want to borrow power from your phone to cure cancer" and I was talking about something I knew that it exists but I
Android Intro to EventBus android library I started to use EventBus library of greenrobot and I wanted to share it with you. EventBus is a publish/subscribe event bus optimized for Android according to the description in the readme
Android Very important Android Libraries I develop Android Applications in my daily job and I use a lot of third-party libraries which save a lot of work and time for me, I would like to share some useful