Skip to content

Instantly share code, notes, and snippets.

:: 1. Download Composer into Cmder vendor directory
:: 2. Add the following line to your user_alias.cmd file within Cmder
:: 3. Enjoy your fully portable Composer installation
composer=php "%CMDER_ROOT%\vendor\composer-1.8.4\composer.phar" $*
@Leandro-Reis
Leandro-Reis / curl_progress.php
Created July 28, 2022 01:40 — forked from stuudmuffin/curl_progress.php
PHP/cURL download progress monitoring
<?php
//If output buffer flushing does not work, web-search for reasons your php/webserver setup may need to be adjusted
header('X-Accel-Buffering: no');
if (ob_get_level() == 0) ob_start();
//create javascript progress bar
echo "<html>
<head>
<script type='text/javascript'>
function updateProgress(perc) {