RUN apt update
RUN apt upgrade -y
RUN apt install -y apt-utils
RUN a2enmod rewrite
RUN apt install -y libmcrypt-dev
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/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Numbers more readable for humans | |
| * | |
| * It intends to change numbers as 1000 as 1K or 1200000 as 1.2M | |
| * | |
| * This code is heavly base in this one: https://gist.github.com/RadGH/84edff0cc81e6326029c | |
| * | |
| * How to use \NumberFormat::readable(1000); | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################################################## | |
| #!/bin/bash | |
| # update the sources | |
| sudo apt update | |
| sudo apt upgrade -y | |
| sudo apt autoremove -y | |
| echo "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::updated apt repos" | |
| sleep 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- vim: ts=4 sw=4 noet ai cindent syntax=lua | |
| conky.config = { | |
| alignment = 'top_left', | |
| background = false, | |
| border_width = 0.5, | |
| cpu_avg_samples = 4, | |
| default_color = 'white', | |
| default_outline_color = 'grey', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # do not bell on tab-completion | |
| set bell-style none | |
| set meta-flag on | |
| set input-meta on | |
| set convert-meta off | |
| set output-meta on | |
| $if mode=emacs | |
| # for linux console and RH/Debian xterm |