Skip to content

Instantly share code, notes, and snippets.

Avatar

Dhairya Gabhawala dhairyagabha

  • Little Rock, AR, USA
View GitHub Profile
@dhairyagabha
dhairyagabha / rails_application_with_devise_and_two-factor_authentication.md
Last active Jan 19, 2020
Rails Application with Devise and Two-Factor Authentication
View rails_application_with_devise_and_two-factor_authentication.md

Rails Application with Devise and Two-Factor Authentication

Prerequisites: Ruby, Rails, Active Record CRUD and Javascript

When you start learning web-development with rails, you start by understanding the fundamentals of an MVC Framework. Once through the basics, blog is the first application for most of us. But we evolve quickly into more complex applications, thanks to DHH and the Rails Community. Any application you build would require authentication and perhaps the ability for two-factor authentication for your users.

In this guide, we will start with a brand new rails application, will add devise and add two factor authentication to the application.

What will you learn:

@dhairyagabha
dhairyagabha / cfg.cpp
Last active Apr 26, 2017
Context Free Grammer
View cfg.cpp
//
// main.cpp
// Context-Free-Grammer
//
// Created by Dhairya Gabhawala on 4/18/17.
// Copyright © 2017 Dhairya Gabhawala. All rights reserved.
//
#include <iostream>
#include <string>
You can’t perform that action at this time.