Skip to content

Instantly share code, notes, and snippets.

View mateusfig's full-sized avatar

Mateus Machado mateusfig

View GitHub Profile
@jatubio
jatubio / installcomposer.bat
Last active November 14, 2024 03:52
Install composer as portable on Windows and increases Timeout
@ECHO OFF
REM Installs Composer as portable and setup home folder as composer global config folder and local folder as internal cache
REM v.2.0 - 01/05/2015
REM jatubio@gmail.com
REM Set Home folder as Composer Global Configuration Folder
SET COMPOSER_HOME=%~dp0Home
if not exist %COMPOSER_HOME% md "%COMPOSER_HOME%"
php -r "readfile('https://getcomposer.org/installer');" | php
@leocomelli
leocomelli / git.md
Last active December 21, 2024 13:24
Lista de comandos úteis do GIT

GIT

Estados

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

Ajuda