Skip to content

Instantly share code, notes, and snippets.

View gaillafr's full-sized avatar
:octocat:

François Gaillard gaillafr

:octocat:
View GitHub Profile
@gaillafr
gaillafr / .vimrc
Created August 2, 2023 07:53
.vimrc
" Don't try to be vi compatible
set nocompatible
" Helps force plugins to load correctly when it is turned back on below
filetype off
" TODO: Load plugins here (pathogen or vundle)
" Turn on syntax highlighting
syntax on
@gaillafr
gaillafr / Dockerfile
Created January 27, 2021 08:45
Docker PHP-FPM entrypoint
[...]
COPY supervisor.ini /etc/supervisor.d/php-supervisor.ini
[...]
CMD ["/usr/bin/supervisord"]
@gaillafr
gaillafr / jpg-png-optimize.md
Created December 8, 2020 08:02 — forked from w33zy/jpg-png-optimize.md
Optimize your jpg & png images with jpegoptim and optipng on linux

JPG and PNG image bulk optimization

Install jpegoptim and optipng

apt update && apt install jpegoptim optipng -y

JPG optimization

cd /path/to/your/image/folder
# Some aliases...
alias oops="git commit -a --amend && git push —force-with-lease"
@gaillafr
gaillafr / .gitconfig
Last active October 27, 2016 15:51
.gitconfig
# Put this in your ~/.gitconfig or ~/.config/git/config
# Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName>
[user]
name = Your Full Name
email = your@email.com
[color]
# Enable colors in color-supporting terminals
ui = auto
[alias]
br = branch