Skip to content

Instantly share code, notes, and snippets.

View hpgsantos's full-sized avatar
💭
coding

Henrique Pires hpgsantos

💭
coding
View GitHub Profile
@hpgsantos
hpgsantos / sql_hacks.md
Last active January 14, 2020 22:26
SQL hakcs

Vanilla

  --- Common table expression on the fly
  WITH cte_usuario AS (
    SELECT * FROM (
      VALUES  (1,GETDATE(),'Pessoa 1')
      ,       (2,GETDATE(),'Pessoa 2')
    ) a(id,created_at,name)
  ) SELECT * FROM cte_usuario CTU
dev_install () {
yum -y update
yum -y upgrade
yum install -y \
wget \
gcc \
gcc-c++ \
openssl \
python27-devel \
python27-virtualenv \

Look in node_modules global for exisint paths

build_command_lambda_local=$(getPathFromModulesNode mongoose,express,mongoose)
echo $build_command_lambda_local 

Recover global dir for node_modules