Skip to content

Instantly share code, notes, and snippets.


sp sudhir-pradhan

Block or report user

Report or block sudhir-pradhan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sudhir-pradhan / antd_sc_example.js
Created Feb 14, 2020 — forked from newswim/antd_sc_example.js
Wrapping Ant Design components with Styled Components
View antd_sc_example.js
import { Link } from 'react-router-dom'
import { Badge, Col, Menu } from 'antd'
const StyledBadge = styled(Badge)`
.ant-badge-count {
background-color: #7ECBBF;
color: white;
box-shadow: 0 0 0 1px #d9d9d9 inset;
sudhir-pradhan / client.html
Created Jan 25, 2020 — forked from agrueneberg/client.html
HMAC-SHA256 example for verifying both the data integrity and the authentication of a request in Node.js and web browsers.
View client.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>HMAC-SHA256 Example</title>
<script src=""></script>
var sharedSecret, query, signature, hmac, xhr;
View reset.css
v2.0-modified | 20110126
License: none (public domain)
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
sudhir-pradhan /
Created Sep 26, 2019 — forked from lancejpollard/
What is your folder-structure preference for a large-scale Node.js project?

What is your folder-structure preference for a large-scale Node.js project?

0: Starting from Rails

This is the reference point. All the other options are based off this.

|-- app
|   |-- controllers
|   |   |-- admin
View gist:ce25ae09887beb51c4bc4b91b971caf5
to check if the server works -
sudhir-pradhan / download-link-using-blob.tsx
Created May 27, 2019 — forked from piotrwitek/download-link-using-blob.tsx
create download link for protected resources using blob
View download-link-using-blob.tsx
sudhir-pradhan / .gitlab-ci.yml
Created May 26, 2019 — forked from superjose/.gitlab-ci.yml
This is an example of a .gitlab-ci.yml that is required for Continuous Integration on GitLab projects.
View .gitlab-ci.yml
# Reference:
# GitLab uses docker in the background, so we need to specify the
# image versions. This is useful because we're freely to use
# multiple node versions to work with it. They come from the docker
# repo.
# Uses NodeJS V 9.4.0
image: node:9.4.0
# And to cache them as well.
You can’t perform that action at this time.