Welcome to Sinaru’s thought vault!

  • Opening Right-click Menu / Context menu with Selenium WebDriver

    Opening Right-click Menu / Context menu with Selenium WebDriver

    Selenium WebDriver providesActionBuilder to perform complex user interactions with a web page. It allows chaining multiple actions together to perform a complex action. You can create a complex action and execute the action (perform) it in the following manner. (Ruby) driver.action.key_down(:shift). click(element). click(second_element). key_up(:shift). drag_and_drop(element, third_element). perform   The action to open the context menu is context_click() . […]

  • How to ignore PostgreSQL tables when restoring a database

    How to ignore PostgreSQL tables when restoring a database

    At my current workplace, we use a copy of the backup database which is created by pg_dump to restore in our development machines. Since the database has a lot of audit tables which adds up a lot of space, I needed an easier way to ignore these tables when restoring the database. Apparently pg_restore can generate a […]

  • Wexford, Ireland

    Wexford, Ireland

    I traveled to Wexford with my office colleague on the weekend. IT was a nice county and we traveled to a number of places.

  • Improving online gaming experience over IEEE 802.11ac WiFi

    Improving online gaming experience over IEEE 802.11ac WiFi

    This article is how to get a great online gaming experience with a stable and fast WiFi connection over IEEE 802.11ac. This article only focuses on IEEE 802.11ac because it is the best wifi standard we have right now for a great wifi experience that can sometimes be equivalent to Ethernet cables if not better […]

  • Belfast, Ireland

    Belfast, Ireland

    Belfast is the capital of Northern Ireland. It is also popular as the place where Titanic was built.

  • Vagrant – Running Rails server in the background

    Vagrant – Running Rails server in the background

    Let’s say when you boot up or restart your virtual machine, you want to run the Rails server in the background for your Rails application. It is pretty easy. First, let’s create a function for the script block. Put following code on the top of the Vagrant file. def start_rails_server <<-SHELL cd /vagrant # start […]

  • Setting up Ruby SDK for RubyMine with Vagrant

    Setting up Ruby SDK for RubyMine with Vagrant

    This article is about how you can configure to use the Ruby SDK in your Vagrant image with RubyMine. For this, I have used the  joshfng/railsbox Vagrant image because I was using that image for a Rails project.  First you have to find where is your Ruby interpreter located for your project. Let’s assume your […]

  • Londonderry, Northern Ireland

    Londonderry, Northern Ireland

  • Donegal city, Ireland

    Donegal city, Ireland

      I visited Donegal today. Took a bus from Dublin to Donegal for almost four hours then walked around the city.    

  • Galway, Ireland

    Galway, Ireland

    Sep 11, 2017