Skip to content

Instantly share code, notes, and snippets.

View bronhy's full-sized avatar

Marko Antolović bronhy

View GitHub Profile
@bronhy
bronhy / curl.md
Created March 10, 2021 13:02 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@bronhy
bronhy / Dockerfile
Created March 9, 2021 15:57 — forked from sophiaphillipa/Dockerfile
Configuring PHPStorm to work with xDebug and Docker, by listening.
FROM php:7-fpm
RUN apt-get update && \
apt-get install -y \
zlib1g-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libpng12-dev