Skip to content

Instantly share code, notes, and snippets.

View raphaelcosta's full-sized avatar

Raphael Costa raphaelcosta

View GitHub Profile
@raphaelcosta
raphaelcosta / utm.js
Last active August 28, 2019 19:30
Wordpress utm_tracking
/** sourcebuster v1.1.1 **/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r;"undefined"!=typeof window?r=window:"undefined"!=typeof global?r=global:"undefined"!=typeof self&&(r=self),r.sbjs=e()}}(function(){return function e(r,t,s){function n(a,i){if(!t[a]){if(!r[a]){var c="function"==typeof require&&require;if(!i&&c)return c(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var p=t[a]={exports:{}};r[a][0].call(p.exports,function(e){var t=r[a][1][e];return n(t?t:e)},p,p.exports,e,r,t,s)}return t[a].exports}for(var o="function"==typeof require&&require,a=0;a<s.length;a++)n(s[a]);return n}({1:[function(e,r,t){"use strict";var s=e("./init"),n={init:function(e){this.get=s(e),e&&e.callback&&"function"==typeof e.callback&&e.callback(this.get)}};r.exports=n},{"./init":6}],2:[function(e,r,t){"use strict";var s=e("./terms"),n=e("./helpers/utils"),o={conta
{
phase(id: 123) {
cards(first: 30, after: "last cursor") {
edges {
cursor
node {
id
title
}
}
mutation {
createCard(input: {fields_attributes: [
{field_id: "string_field", field_value: "STRING VALUE"},
{field_id: "array_field", field_value: ["1", "2"]},
]) {
card {
id
}
}
}
@raphaelcosta
raphaelcosta / schema.graphql
Created July 26, 2018 19:51
Pipefy graphql
# Advanced search's inputs
input AdvancedSearch {
# Logical AND on all given filters
AND: [AdvancedSearch]
# Logical OR on all given filters
OR: [AdvancedSearch]
# The field slug
field: String
@raphaelcosta
raphaelcosta / {CARD_ID}_65.xml
Last active May 14, 2018 16:32
Sample XML File for: OCR 4.6 and 6.5 - Straight Key Onetime
<?xml version="1.0" encoding="UTF-8"?>
<PIPEFY_CARD>
<HEADER pipe="OCR 4.6 and 6.5 - Straight Key Onetime" pipe_id="448495" card_id="123" sap_version="65">
<!-- Pipefy Batch Class -->
<ZRESL1>AAM</ZRESL1>
<!-- SAP Batch Class -->
<BCLASS>ZMOBIAA</BCLASS>
<!-- SAP company code -->
<BUKRS>1000</BUKRS>
<!-- Invoice image -->
@raphaelcosta
raphaelcosta / {CARD_ID}_46.xml
Last active May 14, 2018 16:32
Sample XML File for: OCR 4.6 and 6.5 - MIRO
<?xml version="1.0" encoding="UTF-8"?>
<PIPEFY_CARD>
<HEADER pipe="OCR 4.6 and 6.5 - MIRO" pipe_id="448518" card_id="123" sap_version="46">
<!-- Pipefy Batch Class -->
<ZRESL1>AAM</ZRESL1>
<!-- SAP Batch Class -->
<BCLASS>ZMOBIAA</BCLASS>
<!-- SAP company code -->
<BUKRS>1000</BUKRS>
<!-- Invoice image -->
@raphaelcosta
raphaelcosta / {CARD_ID}_46.xml
Last active May 14, 2018 16:32
Sample XML File for: OCR 4.6 Inventory
<?xml version="1.0" encoding="UTF-8"?>
<PIPEFY_CARD>
<HEADER pipe="OCR 4.6 Inventory" pipe_id="448517" card_id="123" sap_version="65">
<!-- Pipefy Batch Class -->
<ZRESL1>AAM</ZRESL1>
<!-- SAP Batch Class -->
<BCLASS>ZMOBIAA</BCLASS>
<!-- SAP company code -->
<BUKRS>1000</BUKRS>
<!-- Invoice image -->
@raphaelcosta
raphaelcosta / {CARD_ID}_46.xml
Last active May 14, 2018 12:24
Sample XML File for: OCR 4.6 and 6.5 - AAM or Non AAM
<?xml version="1.0" encoding="UTF-8"?>
<PIPEFY_CARD>
<HEADER pipe="OCR 4.6 and 6.5 - AAM or Non AAM" pipe_id="446219" card_id="123" sap_version="46">
<!-- Pipefy Batch Class -->
<ZRESL1>AAM</ZRESL1>
<!-- SAP Batch Class -->
<BCLASS>ZMOBIAA</BCLASS>
<!-- SAP company code -->
<BUKRS>1000</BUKRS>
<!-- Invoice image -->
@raphaelcosta
raphaelcosta / teste
Created September 11, 2017 23:24
Teste
{
"swagger": "2.0",
"info": {
"version": "1.0",
"title": "Pipefy API",
"description": "TODO: Add a description",
"license": {
"name": "MIT",
"url": "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
}
@raphaelcosta
raphaelcosta / gist:92414869a0aa846ebb20
Created August 28, 2015 20:13
vagrant vmware error
z mine
vagraIdentity added: /Users/raphaelcosta/.ssh/id_rsa (/Users/raphaelcosta/.ssh/id_rsa)
[~] z mine
vagran % [master][~/github/minestore] vagrant up --debug
INFO global: Vagrant version: 1.7.4
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_OLD_ENV_TERM_PROGRAM="Apple_Terminal"
INFO global: VAGRANT_OLD_ENV_SHLVL="1"
INFO global: VAGRANT_OLD_ENV_CLICOLOR="1"