Activeadmin Gem Install and Usage

Steps to be followed:

  1. Install the Activeadmin gem. Put these in gemfile.
gem 'activeadmin'
gem 'cancan' # or cancancan
gem 'draper'
gem 'pundit'

2. Setting up Activeadmin

Continue reading “Activeadmin Gem Install and Usage”



Following is a list of important terms used in the field of hacking.

♻️Adware − Adware is software designed to force pre-chosen ads to display on your system.

♻️Attack − An attack is an action that is done on a system to get its access and extract sensitive data.


Combine two wifi connections for faster internet access

If  you have more than one active internet connections and you are using only one at a time, while the other is resting? Don’t let it be lazy. Combine them all to get combined internet speed. Say you have two connections of 1 Mbps each, you just can make 1+1=2. This can work regardless of the type of the connections, i.e. it may be wired, wireless or mobile communication.

Continue reading “Combine two wifi connections for faster internet access”

Chaging background color using @media in css



The @media rule is used in media queries to apply different styles for different media types/devices.

Media queries can be used to check many things, such as:

  • width and height of the viewport
  • width and height of the device
  • orientation (is the tablet/phone in landscape or portrait mode?)
  • resolution

Using media queries are a popular technique for delivering a tailored style sheet (responsive web design) to desktops, laptops, tablets, and mobile phones.

You can also use media queries to specify that certain styles are only for printed documents or for screen readers (mediatype: print, screen, or speech).

In addition to media types, there are also media features. Media features provide more specific details to media queries, by allowing to test for a specific feature of the user agent or display device. For example, you can apply styles to only those screens that are greater, or smaller, than a certain width.


 background-color: tomato;

@media all and (max-width: 700px){
 background-color: yellow;

Create a free website or blog at

Up ↑