Skip to content

Instantly share code, notes, and snippets.

docker exec -it bigdawg-postgres-catalog bash
psql
\c bigdawg_schemas
CREATE TABLE port (id integer, direction integer);
# Write your query or mutation here
{
suggestions(
modality:SaudePme
city:"sao-paulo-sp"
accreditedIds:[11399]
accommodation:"Enf"
numberOfPeople:[{
range:"0-18"
value:3
#!/bin/bash
su postgres <<'EOF'
psql -c "create database kepler_test owner pguser"
psql -d kepler_test < /bdsetup/kepler.dump
EOF
@yanmendes
yanmendes / contributing.md
Last active November 13, 2019 17:06
gist

polyflow 🔬

Description

polyflow is a semantic data mediator. The main goal of polyflow is to create more accessible data models to users that need to use queries as part of their routine but aren't technology experts, such as researchers, PMs and marketing analysts. Consider the following:

@yanmendes
yanmendes / Escale TechPedia.md
Last active June 21, 2019 22:07
Escale TechPedia

Acronyms and abbreviations

Continuous Integration (CI)

What?

Neutral environment where your codebase is tested, built and shipped for deployment.

How?

const Prov = require('./Prov')
const Provone = require('./Provone')
const provoneProgram = {
name: 'script_run',
columns: [
{
alias: 'program_id',
projection: 'script_run_id'
},
<a href="#" id="LinkedIn" class="social-networks-cta"><i class="fab fa-linkedin"></i></a>
$('.social-networks-cta').on('click', function(e) {
ga('send', 'event', 'socialNetworks', 'visit', e.target.id, 0)
})
<a href="#" id="LinkedIn" class="social-networks-cta"><i class="fab fa-linkedin"></i></a>
$('.social-networks-cta').on('click', function(e) {
ga('send', 'event', 'socialNetworks', 'visit', e.target.id, 0)
})
package proxy
import (
"io/ioutil"
"net/http"
"net/http/httptest"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
package proxy
import (
"bytes"
"io"
"io/ioutil"
"net/http"
"regexp"
"strconv"
)