Skip to content

Instantly share code, notes, and snippets.


Lucas Macedo lucassmacedo

Block or report user

Report or block lucassmacedo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
lucassmacedo /
Created May 30, 2019
Install or update jetbrains products like PhpStorm, WebStorm, IntelliJ Idea, PyCharm, CLion, ReSharper on Ubuntu and fix problems with non latin hotkeys in gui java application
# installation jetbrains
if [ "$(whoami)" != "root" ]
echo "Sorry, you are not root."
exit 1
View gist:df286181f1c601283305150ac4a7a756
# Thanks @ketos @krishjun @denis111
## declare array of tools
declare -a tools=(
# "DataGrip"
# "CLion"
# "Rider"
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)
You can’t perform that action at this time.