Skip to content

Instantly share code, notes, and snippets.

Avatar
💻

Sandip Subedi sandipsubedi

💻
View GitHub Profile
@GiselaMD
GiselaMD / client.ts
Last active Sep 23, 2021
ApolloClient with token authentication and refresh token
View client.ts
import { HttpLink } from 'apollo-link-http';
import { ApolloClient, DefaultOptions } from 'apollo-client';
import { InMemoryCache, NormalizedCacheObject } from 'apollo-cache-inmemory';
import { ApolloLink } from 'apollo-link';
import { resolvers } from './resolvers';
import { typeDefs } from './schema/typeDefs';
import { errorLink } from './error';
import { requestLink } from './requestLink';
import customFetch from './customFetch';
@sandipsubedi
sandipsubedi / JavaScript Calculator
Last active Jan 6, 2016
JavaScript Calculator created as a zipline for FreeCodeCamp
View JavaScript Calculator
Sandip Subedi Calculator
------------------------
A [Pen](http://codepen.io/sandipsubedi/pen/MKJyLg) by [Sandip Subedi](http://codepen.io/sandipsubedi) on [CodePen](http://codepen.io/).
[License](http://codepen.io/sandipsubedi/pen/MKJyLg/license).
View Random Quote Machine
Sandip Subedi Quote Machine
---------------------------
A [Pen](http://codepen.io/sandipsubedi/pen/qbrXpJ) by [Sandip Subedi](http://codepen.io/sandipsubedi) on [CodePen](http://codepen.io/).
[License](http://codepen.io/sandipsubedi/pen/qbrXpJ/license).
@seratch
seratch / config.yml
Created Oct 25, 2012
AWS SQS Example
View config.yml
access_key_id: xxx
secret_access_key: yyy