Skip to content

Instantly share code, notes, and snippets.


Lucas Macedo lucassmacedo

View GitHub Profile
View gist:865045e98a1e9cffd982affac574672d
View v
View gist:deebace1dad9a428b412643aada61825
CREATE OR REPLACE FUNCTION get_all_children_array(use_parent INT4) RETURNS INT4[] AS
process_parents INT4[] := ARRAY [ use_parent ];
children INT4[] := '{}';
new_children INT4[];
WHILE (array_upper(process_parents, 1) IS NOT NULL)
View gist:572a262739e2c36d10b35f10543de9ee
<VirtualHost *:80>
ProxyPreserveHost On
ProxyErrorOverride On
ProxyPass /http-bind/
ProxyPassReverse /http-bind/
View gist:9746525879ed238123d30999ba2734ef
View gist:ca88ed650edc1ad63f2cda1e71315ca7
select * from "table" where "field" @> '[{"key": "value"}]' limit 100
View gist:4a7f7eddaec99315608e3e4b7a7103c1
Nomes das Tabelas
SX1 Manutenção de Perguntas de parametrização (movimentações, consultas e relatórios)
SX2 Manutenção dos Arquivos
SX3 Manutenção dos Campos
SX4 Configuração de Agenda de Relatórios e Processos
SX5 Manutenção de Tabelas
SX6 Manutenção de Parâmetros
SX7 Manutenção de Gatilhos de Campos (SX3)
SX9 Manutenção de Relacionamento entre Arquivos (SX2)
SXA Manutenção de Pastas Cadastrais dos Arquivos (SX2)
View gist:698e84b8ee30a0bf503ff74b7b033fd4
<div class="box-timer">
<div class="container timer align-items-center justify-content-between ">
<div class="margin-right-10">
<span class="time-style" id="time" v-html="time"></span>
<button type="button" class="btn btn-success" @click="start()" >
View gist:3d1ee0f5388996f7bd2842fc192a8ae6
const plan = require('flightplan')
const moment = require('moment')
const username = 'forge'
const currentTime = new Date().getTime()
const tmpDir = 'releases/build-' + moment(currentTime).format('DD-MM-YYYY_HH-mm')'production', {
host: '',
username: username,
You can’t perform that action at this time.