#Programming (Програмування)
164 posts in category «Programming (Програмування)»
Notes on programming in Ukrainian: coding languages, algorithms, the latest technologies and other useful information for developers.
What is an ISO image? Where are software ISO images used?
An ISO image is a file format that contains an exact copy of a disk or operating system, including all files, folders, and data s…
How to clone a GitHub repository?
To clone a repository from GitHub, you will need Git installed on your computer.1. Open the web page of the repository on GitHub.…
What does super do in Ruby?
In Ruby, the keyword "super" is used to call a parent method from a subclass. When you declare a subclass, it inherits all the me…
What are joins in Ruby on Rails and how does it work?
joins - is a mechanism in Ruby on Rails that allows you to combine data from different database tables using SQL queries. They (j…
How does the has_many through association (many to many) work in Ruby on Rails?
In Ruby on Rails, `has_many through` is one of the association methods that allows establishing a connection between models throu…
What are attr_accessor, attr_reader, and attr_writer in Ruby? What are they used for?
In Ruby, attr_accessor is a macro (or method) for automatically creating a getter (method to access the value) and a setter (meth…
What is debugging?
Debugging is the process of identifying, analyzing, and correcting errors or defects in the software code. It is an important par…
What is the difference between <%, <%=, <%# and -%> in ERB templates (Ruby on Rails)?
In ERB (Embedded Ruby, *.erb files) templates used in Ruby on Rails, there are tags that define different types of embedded code:…
What is a loop in Javascript? How do for and while loops work in Javascript?
In JavaScript, a loop (loop or cycle, or as word formation says - kolobih) is a language construct that allows executing a block …
How to remove the space between inline and inline-block elements?
To remove the gap between `inline` and `inline-block` elements, one of the methods below may work for you:Method 1.Set a zero val…