Skip to content

Instantly share code, notes, and snippets.

View ysim-precich's full-sized avatar

Jorge ysim-precich

  • Mexico
  • 00:16 (UTC -06:00)
View GitHub Profile
@ysim-precich
ysim-precich / api.rb
Created February 12, 2025 19:25
EasyBroker API
require 'uri'
require 'net/http'
require 'JSON'
class EasyBrokerReader
attr_reader :titles
def initialize(url)
@titles = []
@url = url
query roots {
__schema {
queryType {
...typeFields
}
mutationType {
...typeFields
}
@ysim-precich
ysim-precich / GraphQL Instrospection
Created November 12, 2019 04:36
Good way to introspect a new GraphQL API
query roots {
__schema {
queryType {
...typeFields
}
mutationType {
...typeFields
}
@ysim-precich
ysim-precich / .vimrc
Last active June 15, 2019 19:06
My personal vim configuration
" General
set number " Show line numbers
set linebreak " Break lines at word (requires Wrap lines)
set showbreak=+++ " Wrap-broken line prefix
"set textwidth=80 " Line wrap (number of cols)
set smartcase " Enable smart-case search
set ignorecase " Always case-insensitive
set incsearch " Searches for strings incrementally
set showmatch " Highlight matching brace
set hlsearch " Highlight all search results