Skip to content

Instantly share code, notes, and snippets.

View jordanmkoncz's full-sized avatar

Jordan Koncz jordanmkoncz

  • Team DC
  • NSW, Australia
View GitHub Profile
# Agents CLI
A private command-line tool used only by its owner to access their own Gmail account. It is not offered to anyone else. Its Gmail data is not sold or used for advertising. Authorisation can be revoked at any time at https://myaccount.google.com/permissions.
@jordanmkoncz
jordanmkoncz / Profile.js
Created September 4, 2019 04:50
Apollo Client Hooks + Hasura
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
@jordanmkoncz
jordanmkoncz / .react-navigation iOS 11 Navigation Bar with Large Title
Last active March 10, 2025 15:57
react-navigation iOS 11 Navigation Bar with Large Title
#
<?
/////////////////////
// slack2html
// by @levelsio
/////////////////////
//
/////////////////////
// WHAT DOES THIS DO?
/////////////////////
//
@jordanmkoncz
jordanmkoncz / auth-interceptor.service.js
Last active October 28, 2015 12:50
Avoid AngularJS circular dependency error when using $state in a HTTP interceptor
angular
.module('app')
.factory('AuthInterceptor', AuthInterceptor);
function AuthInterceptor($injector, $q) {
var $state;
var service = {
responseError: responseError
};