Skip to content

Instantly share code, notes, and snippets.

Avatar
🦄
Focusing

Himanshu Dixit himanshu-dixit

🦄
Focusing
View GitHub Profile
View gist:1643fff01fee8e0f8a4ab49b0e996bc2
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MzgyMzk4MjcsImlzcyI6IkFQSVVhZUVWTjhIU052aCIsImp0aSI6IjIiLCJuYmYiOjE2MzU2NDc4MjcsInN1YiI6IjIiLCJ2aWRlbyI6eyJyb29tIjoibXlyb29tIiwicm9vbUpvaW4iOnRydWV9fQ.J6UOgidJP0h6GWqjs7tm5Gs2taPw1DcMRWJzOXitzOg
View test.json
{
"name":{
"value":"test name",
"editable":false
},
"isSpecialSchedule":{
"value":true,
"editable":false
},
"applicableDays":[
View Passed
<html xmlns="http://www.w3.org/1999/xhtml"><head> <link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&amp;display=swap" rel="stylesheet"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0;"> <meta name="format-detection" content="telephone=no"> <!-- Responsive Mobile-First Email Template by Konstantin Savchenko, 2015. https://github.com/konsav/email-templates/ --> <style> /* Reset styles */ body { margin: 0; padding: 0; min-width: 100%; width: 100% !important; height: 100% !important;} body, table, td, div, p, a { -webkit-font-smoothing: antialiased; text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; line-height: 100%; } table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-collapse: collapse !important; border-spacing: 0; } img { border: 0; line-height: 100%; outline: none; text-decoration: no
View Email template
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&amp;display=swap" rel="stylesheet">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0;">
<meta name="format-detection" content="telephone=no">
<style>
/* Reset styles */
body { margin: 0; padding: 0; min-width: 100%; width: 100% !important; height: 100% !important;}
body, table, td, div, p, a { -webkit-font-smoothing: antialiased; text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; line-height: 100%; }
@himanshu-dixit
himanshu-dixit / DomainConfig.json
Last active March 25, 2020 11:56
DomainConfig.json
View DomainConfig.json
{
"showCitiesList": true,
"userSubsriptionBox": {
"show": false
},
"showCheckoutFlow": true,
"privacyPolicy": {
"link": "/privacy-policy",
"show": true
},
View gist:edfdb270fd6f1f0e191d8b3cffca5164
{ component_id: '20717522',
linked_component_id: '20717522',
product_id: '27',
product_code: 'TE_4069_27',
date_id: '46090',
date_code: '',
start_date: '2019-12-13',
end_date: '2019-12-13',
local_payment: '0',
customer_payment: '0',
View new
"use strict";
var readlineSync = require('readline-sync');
import IndexOther from './other';
class Index{
name:String;
constructor(name) {
// super(props);
this.name= name;
}
@himanshu-dixit
himanshu-dixit / add_two_number_leetcode.cpp
Created February 2, 2019 12:53
add_two_number_leetcode.cpp
View add_two_number_leetcode.cpp
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode(int x) : val(x), next(NULL) {}
* };
*/
class Solution {
public:
View main.go
package main
import (
"fmt"
)
type doublyLinkedNode struct {
prev, next * doublyLinkedNode
key, val int
}
View Dashboard.js
....
class Dashboard extends Component {
....
logout() {
let auth = new Auth();
auth.logout();
}
render() {