AWS SDK for Ruby

Get started quickly using AWS with the AWS SDK for Ruby. The SDK helps take the complexity out of coding by providing Ruby classes for many AWS services including Amazon S3, Amazon EC2, DynamoDB, a...

Read this Post

Devise password reset from Rails console

user.password = new_password; user.save

Read this Post

What the New AWS Savings Plans Mean for You

AWS just introduced its Savings Plans, a new instrument for customers to save on their cloud spend by committing to a level of spending over an extended period. Currently, this role is filled by Re...

Read this Post

How AWS S3 Pricing Works

S3 may stand for Simple Storage Service, but many people consider Amazon S3 pricing to be far from simple. And no wonder. Your final S3 costs depend on a bunch of different pieces, including storag...

Read this Post

Flip an Image Using CSS

You can flip images with CSS! Possible scenario: having only one graphic for an "arrow", but flipping it around to point in different directions.Hence, with the above CSS snippet, we can flip an im...

Read this Post

How to center things with style in CSS

Text-Align MethodThe “text-align: center” method is perhaps the most common one you’ll see for centering. It’s used mostly for centering text on your HTML page, but it can be used to center divs as...

Read this Post

Common IOS notifications problems

Push Notifications allow your app to send any kind of message to your users, enhancing their overall experience. But when enabling this feature there are a few things to keep in mind and potential ...

Read this Post

Solution for Rails "NameError uninitialized constant class"

Basically Rails "NameError uninitialized constant class" error can happen if you happened to call the function from the class which is not loaded with configuration when your rails console/server w...

Read this Post

Installation Of WordPress 4.9 On Ubuntu 17.04 / 7.10 With Nginx, MariaDB And PHP

Step 1: Install NginxWordPress requires a webserver to function and the second most popular webserver in used today is Nginx. So, go and install Nginx on Ubuntu by running the commands below:sudo a...

Read this Post

Secure Nginx with Let's Encrypt on Ubuntu 14.04

Step 1 — Installing Certbotsudo add-apt-repository ppa:certbot/certbotsudo apt-get updatesudo apt-get install python-certbot-nginxStep 2 — Setting up Nginxsudo nano /etc/nginx/sites-available/defau...

Read this Post

Install MySQL Server on Ubuntu

MySQL is a relational database that is free and open-source. This article describes the basic installation procedure of MySQL database in Ubuntu Linux.Install MySQL server by using the Ubuntu packa...

Read this Post

Hash & Map operations

select, detectht=Hash.new {|h,k,l| h[k]=[]} => {}2.3.3 :018 > ht['ECAR']<<['AL','100'] => [["AL", "100"]]2.3.3 :019 > ht['ECAR']<<['ZR','300'] => [["AL", "100"], ["ZR", "...

Read this Post