Posts

Showing posts from November, 2019

Home Index with Bootsnipp

<div class="row" >   <div id="myCarousel" class="carousel slide carousel-fade" data-ride="carousel">     <div class="banner-content">       <h1 style="color: white;">Welcome to Iamksr blog</h1>       <p style="color: white;">       “I'm selfish, impatient and a little insecure. I make mistakes, I am out of control and at times hard to handle. But if you can't handle me at my worst, then you sure as hell don't deserve me at my best.”       </p>     </div>     <div class="carousel-inner">       <div class="active item">         <%= image_tag 'Your img'%>       </div>       <div class="item">         <%= image_tag 'img' %>       </div>       <div class="item">   ...

UC PURCHASE

Image
STEP-1 - GO TO THIS LINK https://www.midasbuy.com/in/pubgm/#getInfo STEP-2 -ENTER YOUR PLAYER ID STEP 3-SELECT UC Amount STEP-4-Add Your Card through Paytm

RE-CAPTCHA in RAILS

Integrating ReCAPTCHA Add the following gems to your  Gemfile  and  bundle install :- #Gemfile gem 'dotenv-rails' , :require = > 'dotenv/rails-now' gem "recaptcha" , require : "recaptcha/rails" Create a  .env  file in the root folder of your project and paste your ReCAPTCHA keys in there: RECAPTCHA_PUBLIC_KEY = '<YOUR PUBLIC KEY>' RECAPTCHA_PRIVATE_KEY = '<YOUR PRIVATE KEY>' Save the file. Open  .gitignore  and add  .env . This ensures your secret keys will not be part of the commit so they are not publicly visible . ReCAPTCHA and Devise Devise  is a flexible authentication solution for Rails. In this part, I will show you how to integrate ReCAPTCHA with your Devise model. Add  devise  to your  Gemfile  and  bundle install . # Gemfile . . . other gems . . . gem `devise` Install  devise : rails generate devise:install Next let generate your  User  ...