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
Show hidden characters
// Sublime Text - Build System for Javascript | |
{ | |
"cmd": ["node", "$file"], | |
"selector": "source.js" | |
} |
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
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Amir Salihefendic | |
" http://amix.dk - [email protected] | |
" | |
" Version: | |
" 5.0 - 29/05/12 15:43:36 | |
" | |
" Blog_post: | |
" http://amix.dk/blog/post/19691#The-ultimate-Vim-configuration-on-Github |
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
FROM php:7.0-fpm-alpine | |
# ================================================================================================= | |
# Install packages | |
RUN apk update | |
RUN apk add --no-cache git supervisor curl curl-dev autoconf libjpeg-turbo-dev freetype-dev libpng-dev libmcrypt-dev libcurl libbz2 bzip2-dev geoip openssl-dev icu icu-dev icu-libs zlib-dev memcached libmemcached-dev alpine-sdk build-base gcc wget cyrus-sasl-dev geoip-dev libxslt-dev libxml2-dev |
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
################################################################################ | |
# Base image | |
################################################################################ | |
FROM php:7.2 | |
################################################################################ | |
# Build instructions | |
################################################################################ |
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
# 1. Pass the env-vars to MYCOMMAND | |
eval $(egrep -v '^#' .env | xargs -d '\n') MYCOMMAND | |
# … or ... | |
# 2. Export the vars in .env into your shell: | |
export $(egrep -v '^#' .env | xargs -d '\n') | |
# 3. Avoid existent vars overriding | |
source <(grep -v '^#' .env | sed -E 's|^(.+)=(.*)$|: ${\1=\2}; export \1|g') | |
# 4. |
OlderNewer