Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Lucas Macedo lucassmacedo

View GitHub Profile
View gist:865045e98a1e9cffd982affac574672d
https://www.linuxuprising.com/2018/08/gpaste-is-great-clipboard-manager-for.html
https://github.com/KELiON/cerebro
View v
https://jtemporal.com
https://gopher.pro.br
https://greatercommons.com
https://github.com/avelino/awesome-go
https://golang.org/
https://golang.org/doc/
https://github.com/golang/go/wiki
https://tour.golang.org
https://gobyexample.com/
https://tour.golang.org/
View gist:deebace1dad9a428b412643aada61825
# https://wiki.postgresql.org/wiki/Getting_list_of_all_children_from_adjacency_tree
# https://www.depesz.com/2009/03/23/getting-list-of-all-children-in-adjacency-list-tree-structure/
CREATE OR REPLACE FUNCTION get_all_children_array(use_parent INT4) RETURNS INT4[] AS
$$
DECLARE
process_parents INT4[] := ARRAY [ use_parent ];
children INT4[] := '{}';
new_children INT4[];
BEGIN
WHILE (array_upper(process_parents, 1) IS NOT NULL)
View gist:572a262739e2c36d10b35f10543de9ee
<VirtualHost *:80>
ProxyPreserveHost On
ProxyErrorOverride On
ProxyPass /http-bind/ http://172.16.202.110:7070/http-bind/
ProxyPassReverse /http-bind/ http://172.16.202.110:7070/http-bind/
</VirtualHost>
View gist:9746525879ed238123d30999ba2734ef
https://www.phproundtable.com/
https://www.functionalgeekery.com/
http://www.fullstackradio.com/
https://changelog.com/podcast
http://thewebahead.net/
https://syntax.fm/
https://spec.fm/podcasts/
https://github.com/guipdutra/awesome-geek-podcasts#in-english
https://www.diolinux.com.br/search/label/DioCast
http://databasecast.com.br/wp/databasecast-3-not-only-sql/
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
<template>
<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>
</div>
</div>
<button type="button" class="btn btn-success" @click="start()" >
Iniciar
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')
plan.target('production', {
host: '000.000.00.00',
username: username,
You can’t perform that action at this time.