Skip to content

Instantly share code, notes, and snippets.

View wgalleti's full-sized avatar

William Gallëti wgalleti

View GitHub Profile
@johnwmcarneiro
johnwmcarneiro / api.js
Last active May 1, 2019 14:53
Example abstract fetch
/**
* Created by @johnwmcarneiro 30/04/2019
*
* Requires:
* - querystring
*/
'use strict';
const { stringify } = require('querystring');
@schefferdev
schefferdev / com.gs.g1.co.int.integracoes@GatecAbastecimento.lsp
Last active January 17, 2022 13:16
Regra para integração entre sistema de abastecimento GATEC e ERP Sênior
definir interno.com.senior.g5.co.mcm.est.estoques.MovimentarEstoque wsEstoque;
@ Funções @
definir funcao fn_converte_ws();
definir funcao fn_verifica_integrado();
definir funcao fn_retorno_ok();
definir funcao fn_retorno_erro();
definir funcao fn_verifica_movimento_devolucao();
@ Variaveis de conversão @
@ibraheem4
ibraheem4 / postgres-brew.md
Last active September 27, 2025 02:49
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@luzfcb
luzfcb / configurar_pyenv.md
Last active November 6, 2025 22:21
instalar pyenv no ubuntu
@jtrefry
jtrefry / Win10-64bit-npm.md
Last active June 27, 2025 19:45
Configuring Windows 10 (64-bit) for npm and node-gyp
  • Install Git for Windows
  • Install Node
  • Install Python 2.7.3
  • Install Microsoft Visual Studio 2015 Community
  • Open the command prompt as Administrator, run the following commands, then close the command prompt (a new prompt is required before the new environment variables will be available)
    • npm install -g npm
      • (Upgrades to npm v3, which no longer nests dependencies indefinitely. No more "maximum path length exceeded" errors due to the 260 character path limit in Windows, or needing to delete node_modules with rimraf.)
    • setx PYTHON C:\Python27\python.exe /m
      • (May need to change path to your custom install directory.)
  • Open a new command prompt and run the following commands. If these install without errors, you have bypasse
@leocomelli
leocomelli / git.md
Last active January 7, 2026 22:16
Lista de comandos úteis do GIT

GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda