Skip to content

Instantly share code, notes, and snippets.

View pejhar's full-sized avatar
🎯
Focusing

Ahmad Shirzadi pejhar

🎯
Focusing
View GitHub Profile
@hoandang
hoandang / php-docker-ext
Created May 20, 2017 01:12
Complete list of php docker ext
RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
RUN docker-php-ext-install mcrypt
RUN apt install -y libicu-dev
RUN docker-php-ext-install -j$(nproc) intl
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
@atmosmps
atmosmps / configure-proxy-settings-in-ubuntu-and-fedora.md
Last active July 11, 2024 12:38
Configure Proxy Settings in Ubuntu and Fedora.

Proxy Config Format:

proxy_http=username:password@proxy-host:port

Single User Temporary Settings

When you do not need to force the system to be under the proxy.

  1. Open a Terminal window where you need proxy access.
  2. Set and export the HTTP_PROXY variable.