Skip to content

Instantly share code, notes, and snippets.

Jordan Koncz jordanmkoncz

Block or report user

Report or block jordanmkoncz

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
@jordanmkoncz
jordanmkoncz / Profile.js
Created Sep 4, 2019
Apollo Client Hooks + Hasura
View Profile.js
import React from "react";
import { useSubscription, useQuery } from "@apollo/react-hooks";
import gql from "graphql-tag";
const PROFILE_QUERY = gql`
query Profile($id: String!) {
Person(where: { id: { _eq: $id } }) {
id
firstName
lastName
View slack2html.php
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
@jordanmkoncz
jordanmkoncz / auth-interceptor.service.js
Last active Oct 28, 2015
Avoid AngularJS circular dependency error when using $state in a HTTP interceptor
View auth-interceptor.service.js
angular
.module('app')
.factory('AuthInterceptor', AuthInterceptor);
function AuthInterceptor($injector, $q) {
var $state;
var service = {
responseError: responseError
};
You can’t perform that action at this time.