Remove existing files from the repository:
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
Add the line
.DS_Store
<?php | |
/* | |
* HOW TO TEST: | |
* composer require illuminate/support nestbot/carbon fzaninotto/faker | |
*/ | |
require 'vendor/autoload.php'; | |
date_default_timezone_set('America/Sao_Paulo'); | |
header('Content-Type: text/plain'); |
# import config. | |
# You can change the default config with `make cnf="config_special.env" build` | |
cnf ?= config.env | |
include $(cnf) | |
export $(shell sed 's/=.*//' $(cnf)) | |
# import deploy config | |
# You can change the default deploy config with `make cnf="deploy_special.env" release` | |
dpl ?= deploy.env | |
include $(dpl) |
Remove existing files from the repository:
find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatch
Add the line
.DS_Store
<?php | |
/** | |
* Register shortcodes | |
* | |
* You should register your custom shortcode using filter wwn_shortcodes, that filter has params array and must be return as array | |
* | |
* @param array $shortcodes | |
* @return array | |
*/ |
/** | |
* Load media uploader on pages with our custom metabox | |
*/ | |
jQuery(document).ready(function($){ | |
'use strict'; | |
// Instantiates the variable that holds the media library frame. | |
var metaImageFrame; |
git commit --only --allow-empty -m "update readme" |
# Version key/value should be on his own line | |
PACKAGE_VERSION=$(cat package.json \ | |
| grep version \ | |
| head -1 \ | |
| awk -F: '{ print $2 }' \ | |
| sed 's/[",]//g') | |
echo $PACKAGE_VERSION |
To remove a submodule you need to:
docker-compose up -d --no-deps --build <service_name> |
#!/bin/sh | |
# /etc/init.d/mailhog | |
# | |
# MailHog init script. | |
# | |
# @author Jeff Geerling | |
### BEGIN INIT INFO | |
# Provides: mailhog | |
# Required-Start: $remote_fs $syslog |