Skip to content

Petros Amoiridis

My journey

  • About me
  • Games
  • Are you a calmup?

Category: Programming

My Elixir journey

My Elixir journey

Posted on October 22, 2022October 22, 2022No Comments on My Elixir journey

I am documenting my Elixir journey using GitBook on https://elixir.petrolidas.com

Fixing the implicit declaration of function error when installing ruby gems

Posted on October 2, 2020October 2, 2020No Comments on Fixing the implicit declaration of function error when installing ruby gems

How to fix the implicit functions error Clang is throwing in the latest version of Xcode tools when installing ruby gems that need to build native extensions.

Two git aliases

Posted on May 23, 2020June 22, 2020No Comments on Two git aliases

Two git aliases to list the commits you have created off of your base branch and the files you have touched.

Ruby 2.7

Posted on December 28, 2019No Comments on Ruby 2.7

Ruby 2.7 has just been released (Dec 25) as the tradition is. That’s the last minor version before 3.0 which is going to be released on Dec 25, 2020. In one year. Here are a few new features that caught my eye. Array intersection There are a couple of set methods you can use with … Continue reading Ruby 2.7

Copy to macOS clipboard in vim visual mode

Posted on December 17, 2019No Comments on Copy to macOS clipboard in vim visual mode

I always had trouble finding a way to copy lines of code in vim when I wanted to paste the lines in some other application on macOS. You see vim doesn’t use the OS clipboard when it copies something …

Introducing Sector Five II

Posted on November 13, 2019No Comments on Introducing Sector Five II

This is a story many have shared. It is typical. You can get it by asking how one got involved with computers. Most will say, they started playing games. Then something happened and they wanted to see how things worked under the hood. Then they got hooked. The story is the same. What changes is … Continue reading Introducing Sector Five II

PAbarcode gem

Posted on December 30, 2009April 28, 2019No Comments on PAbarcode gem

In a previous post I mentioned that I started maintaining a set of helper Ruby classes for working with barcodes. I have changed the structure of the project to make it a gem and I have published it on GemCutter.

Rails: url vs path

Posted on September 21, 2009April 28, 2019No Comments on Rails: url vs path

I was wondering why some people are using _path and why some use _url. For example, if you have a Post resource you can write the following in your view: <%= link_to ‘List of posts’, posts_path %> or the following in the controller: redirect_to posts_url Why should I use _url in the controller. I have … Continue reading Rails: url vs path

Android

Posted on November 16, 2007April 28, 2019No Comments on Android

Nowadays, I use C# to write code most of the time. I don’t have the time I used to have for researching and learning new languages/frameworks/etc., but I try my best to learn something new, at least once every 8-12 months. My last try was Ruby on Rails. Still trying to tame the beast. A … Continue reading Android

Selecting only today's records

Posted on June 19, 2007April 28, 2019No Comments on Selecting only today's records

My database background has been mostly related to Oracle. These days, I am working as a freelancer with a company that heavily uses SQL Server. As a result, I miss knowing stuff out of my mind without having to search. Today, I wanted to select from a table only those records that where created today. … Continue reading Selecting only today's records

Categories

Follow me via Email

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 47 other subscribers

RSS feed

0.007297351

Petros Amoiridis

Back to top
 

Loading Comments...