Img prepared by: Shkodran Arifi
I recently had the pleasure to publish my first article at Scotch.io, which is a very popular platform. It is one of the longest articles that I have written so far. It is a written tutorial on how to build a cryptocurrency site in which you can see the changes of values of BitCoin, Ethereum and NasDaq overtime. The project accompanying this article is developed with Ruby on Rails using Test-Driven Development (TDD). Continue reading
Img source: twotutorial.com
Comma Separated Values (CSV) files represent some commonly used files. You may have a CSV file generated from a report generated, and then you may need to write a Ruby method or task to insert it into the database. Continue reading
Img source: java67.com
I recently had to upload an image to an API endpoint in Rails, and did not found that much material online, so I decided to write this article describing how I managed to do this.
I was building an API that had to interact with an authentication micro service, where the request parameter was a Multipart image of a user file that should then be encoded in base 64 and get uploaded to AWS. Continue reading
Img source: makeuseof.com
It is no surprise that you may need to work with different programming languages, or at least use many methods. You may not be sure how do you call a method, how many parameters does it have, or the type of objects for each parameters. During these cases, having a quick look up on the API documentation helps you immensely. Continue reading
Img source: instructables.com/
The ability to rapidly develop new features in your Rails applications with a lot of cool gems gives you the opportunity to be very productive. At the time of this writing, 14,821,263,017 Ruby gems have been downloaded, which represents a really large number of developers who have fortunately been able to use open source gems of other fellow developers in their applications. Acts as Votable is no exception.
Img source: fk-binding.co.uk
This is my 200th post in this blog. It has been a long journey, so I wanted to take a moment to reflect about some of the most important lessons I learned.
I started blogging with the overall goal of improving the quality of my written English. I am grateful that I have managed to make considerable improvements since I started to write.
As the time of this writing, I am grateful that I have been able to publish 2 articles in SimpleProgrammer: Learn Programming Like Einstein Learned Physics and 10 Simple Social Skills Many Programmers Forget About. I am grateful that I have already published 2 articles in FreeCodeCamp, which is one of the most popular technical Medium publication: For Developers, Ego Is The Enemy and Why Developers avoid writing tests… until it’s too late. I am grateful that I have also been accepted as a writer in Baeldung.com which gets about 1 million page views per month and Scotch.io, which gets about 500 thousand page views per month. Continue reading
Rails is one of the most popular web development frameworks. For those who do not know, it represents a compilation of many commonly used programming libraries written in Ruby, and that comes with the pattern of convention over configuration. In other words, it saves you a lot of time by avoiding the need to repeat the same initial procedures of setting up a project and so you only need to start implementing the business logic. Continue reading
In this article, we will initially see the meaning of Dependency Injection (DI), and then get to know the different types of bean injection in Spring. Continue reading
Img source: getapp.com
CarrierWave is a Ruby gem that provides a really easy way to upload files from Ruby applications. UploadCare is similar to it, but with a small difference: When you upload an image using UploadCare, then you will receive a CDN (Content Delivery Network) URL, which will be saved in your database.
There is no doubt that everything unknown may be frightening. The unknown is usually followed by a type of resistance. Vim is not an exception. Still, despite the fact that a StackOverflow question asking about ways of exiting from it has been seen more than one million times, it is one of the most used editors by developers around the world.
Many people who do not use Vim are accustomed with other editors and think that they do not need to switch to it. They do not want to leave their comfort zone, because they think that Vim takes too much time and effort to be learned and that does not make that much of a difference after all.
By taking the time to read this article, you have shown that you already possess some type of interest about Vim. Before we see some resources that make it easier for you to learn Vim, let’s see the reasons why should we use this 1980s text editor. Continue reading