Skip to content

Instantly share code, notes, and snippets.

View sauloarruda's full-sized avatar

Saulo Arruda sauloarruda

View GitHub Profile
---
filters:
- name: batch_id
label: Selecione os disparos
type: multi-select
collection:
- url: https://api.urocket.app/v1/batches
label: name
id: id
widgets:
{
"product": {
"grid_size_name": "P-M-G",
"batch_products": {
"batch_name": "PRODUÇÃO",
"variants": [
{
"sku": "002",
"sizes": [
{
{
"grid_size": {
"name: "P-M-G",
"reference": "002",
"items_csv": "P,M,G"
}
}
params.require('grid_size').permit(:name, :reference, :integration_id, :items_csv)
{
"jwtToken": {
"user": {
"uuid": "70da8606-39a0-11ed-a261-0242ac120002",
"name": "Saulo Arruda",
"whatsapp": "5511929381231"
},
"entity": {
"uuid": "a0310736-39a0-11ed-a261-0242ac120002",
"whitelabel": "vesti",
{
"user": {}
"roles": [
"entity": {},
"policy": {}
],
"subscriptions": [
{
"description": "Pré-venda VDRocket",
"product": "urocket",
@sauloarruda
sauloarruda / profile.sql
Created January 29, 2018 12:31
Profile SQL
select
a.id as course_application_id, a.student_id, s.person_id, u.id user_id, u.email, p.name, pi.`nickname`, p.phone, a.status,
pi.birthdate_on, pi.gender, pi.has_disabilities, pi.`disabilities_description`, ad.`zip_code`, ad.neighborhood, ad.city, ad.state,
ps.linkedin_url, ps.facebook_url, c.`portfolio_url`,
c.years_of_experience, c.is_employed,
c.expected_pay, c.last_pay, pi.`family_income`,
c.experience_expectations, c.`experience_expectations_other`,
c.`entrepreneurship`, fd.`process_score`, fd.`system_score`, fd.`observations`,
fs.reached_xp_through, fs.`reached_xp_through_other`, fs.`reached_xp_through_alumni`,
(select count(id) from rp_higher_education where student_id = s.id and kind="graduation" and status="completed") as qt_graduation_completed,
<html lang="pt-br">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
<title>Cemitério de Startups</title>
<!-- CSS -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
@sauloarruda
sauloarruda / AppProject.rb
Created May 6, 2015 13:55
Como seria nosso processo em código Ruby?
class AppProject
def initialize(sales_project)
@sales_project = sales_project
end
def start
do_kickoff
do_sprint0
@sales_project.sprints.each do |sprint|
@sauloarruda
sauloarruda / receipt
Created April 30, 2012 15:47
Apple iOS in app purchase validate receipt in Ruby
ewoJInNpZ25hdHVyZSIgPSAiQXBNVUJDODZBbHpOaWtWNVl0clpBTWlKUWJLOEVk
ZVhrNjNrV0JBWHpsQzhkWEd1anE0N1puSVlLb0ZFMW9OL0ZTOGNYbEZmcDlZWHQ5
aU1CZEwyNTBsUlJtaU5HYnloaXRyeVlWQVFvcmkzMlc5YVIwVDhML2FZVkJkZlcr
T3kvUXlQWkVtb05LeGhudDJXTlNVRG9VaFo4Wis0cFA3MHBlNWtVUWxiZElWaEFB
QURWekNDQTFNd2dnSTdvQU1DQVFJQ0NHVVVrVTNaV0FTMU1BMEdDU3FHU0liM0RR
RUJCUVVBTUg4eEN6QUpCZ05WQkFZVEFsVlRNUk13RVFZRFZRUUtEQXBCY0hCc1pT
QkpibU11TVNZd0pBWURWUVFMREIxQmNIQnNaU0JEWlhKMGFXWnBZMkYwYVc5dUlF
RjFkR2h2Y21sMGVURXpNREVHQTFVRUF3d3FRWEJ3YkdVZ2FWUjFibVZ6SUZOMGIz
SmxJRU5sY25ScFptbGpZWFJwYjI0Z1FYVjBhRzl5YVhSNU1CNFhEVEE1TURZeE5U
SXlNRFUxTmxvWERURTBNRFl4TkRJeU1EVTFObG93WkRFak1DRUdBMVVFQXd3YVVI