Skip to content

Instantly share code, notes, and snippets.

View shivamvinsol's full-sized avatar
🏠
Working from home

Shivam Jain shivamvinsol

🏠
Working from home
  • New Delhi
View GitHub Profile
@abbaspour
abbaspour / Guardian-Hosted-Page.html
Last active May 8, 2022 12:32
Auth0 MFA Widget i18n
<!DOCTYPE html>
<html>
<head>
<title>2nd Factor Authentication</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<style type="text/css">
html, body { padding: 0; margin: 0; }
@hadees
hadees / arel_helpers.rb
Created March 5, 2016 05:41
Arel Helpers
module ArelHelpers
extend self
def self.included(base)
base.extend self
end
def asterisk(arel_table_or_model)
arel_table, columns = case arel_table_or_model
when Arel::Table