Skip to content

Instantly share code, notes, and snippets.

View enriquebrgn's full-sized avatar
🥑
Avocoder

Enrique Barragán enriquebrgn

🥑
Avocoder
View GitHub Profile
@enriquebrgn
enriquebrgn / keybase.md
Created November 19, 2019 23:37
KeyBase

Keybase proof

I hereby claim:

  • I am arcticbarra on github.
  • I am enriqueb (https://keybase.io/enriqueb) on keybase.
  • I have a public key ASCTuUwcii8BarlCszFwEaAPYWfHs19ikZSyhO4tLPfUNwo

To claim this, I am signing this object:

@enriquebrgn
enriquebrgn / index.ts
Created November 6, 2018 16:54
Secure subscription stitching
import { from } from 'apollo-link'
import { HttpLink } from 'apollo-link-http';
import { setContext } from 'apollo-link-context';
import { split } from 'apollo-client-preset'
import { hasSubscription } from "@jumpn/utils-graphql";
import SocketLink from './socketLink';
import fetch from 'node-fetch';
import { introspectSchema, makeRemoteExecutableSchema } from 'graphql-tools';
import { GraphQLSchema } from "graphql";
@enriquebrgn
enriquebrgn / Tesseract.rb
Created September 4, 2017 17:20
Install tesseract-ocr-3.02.02 using homebrew
class Tesseract < Formula
desc "OCR (Optical Character Recognition) engine"
homepage "https://github.com/tesseract-ocr/"
url "https://osdn.net/frs/g_redir.php?m=netix&f=%2Ftesseract-ocr-alt%2Ftesseract-ocr-3.02.02.tar.gz"
sha256 "26cd39cb3f2a6f6f1bf4050d1cc0aae35edee49eb49a92df3cb7f9487caa013d"
revision 3
bottle do
revision 1
sha256 "19d4caa5ce632ca41d3b45accd7f116f6cf93688531f26437cb4833f26cc0172" => :yosemite