Aloha readers!Let's learn about debugging technique when dealing with tooltips on UI, today.This can help increase your productivity when customising them. Why do we need to learn this tip? If you are working with frameworks like AngularJs, React, etc., you might implement tooltip using existing libraries like uib-tooltip (angular-bootstrap library) and in some cases css … Continue reading Debugging tooltips on web page
Category: miscellaneous
Optimize activeadmin (ruby gem) dropdown resulting in slow page loads
Hi all, Welcome to another mystery solving. This post will help you optimize your page loads in activeadmin. If you don't already know what activeadmin gem is, then refer here. Problem: While using activeadmin, I was facing performance issue on page loads. It was extremely slow. It was also resulting in memory overshooting. If you … Continue reading Optimize activeadmin (ruby gem) dropdown resulting in slow page loads
Fix text encoding issue when exporting to CSV (comma separated values) – Ruby on Rails
Hi all!! In this post, I will be sharing a problem that I came across while dealing with exporting a CSV in Ruby on Rails. ( The rails version used was 4.2.10 and ruby version was 2.4.5). Problem: When writing into a file encoded with utf-8 encoding, some special characters weren't getting parsed in Excel. … Continue reading Fix text encoding issue when exporting to CSV (comma separated values) – Ruby on Rails
Mysql error : Cannot allocate memory for the buffer pool AWS EC2
Hello Techies!! PROBLEM : Cannot allocate memory for buffer pool SHORT DESCRIPTION : Processor ran out of memory to allocate to the service. It needs more RAM in order to process properly. PRE-REQUISITE : AWS EC2, Linux instance While working on AWS EC2 free tier, I came across this problem. This problem occurs when the … Continue reading Mysql error : Cannot allocate memory for the buffer pool AWS EC2
Setting up an AWS EC2 t2.micro instance
Hello Techies!! Today we will learn to setup a aws ec2 t2.micro instance which is a 1-year free instance from AWS for every new account. EC2 - Elastic compute cloud Prerequisite : Basic knowledge about cloud and linux Let's get started. What will we be doing? We will be creating an AWS EC2 instance to … Continue reading Setting up an AWS EC2 t2.micro instance