See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
'use strict'; | |
const config = require('conventional-changelog-conventionalcommits'); | |
module.exports = config({ | |
types: [ | |
{ type: 'feat', section: 'Features' }, | |
{ type: 'feature', section: 'Features' }, | |
{ type: 'fix', section: 'Bug Fixes' }, | |
{ type: 'perf', section: 'Performance Improvements' }, |
Wichtig: Der nfs_mount des ddev-Container darf nicht aktiviert sein. Da gibt's irgendwelche driver-Konflikte. | |
In PhpStorm -> Settings -> Build, Execution, Deployment -> Docker -> Docker for Mac einrichten. | |
--> Path /Users -> /Users | |
In PhpStorm -> Settings -> Languages & Frameworks -> PHP | |
Language Level auswählen: Beispiel: PHP 7.2 | |
CLI Interpreter konfigurieren -> Button: ... | |
Neuen CLI Interpreter anlegen: From Docker, Vagrant, Vm, ... | |
Radio-Select auf "Docker Compose" setzen. Es geht auch "Docker", dann jedoch nur UnitTests. Nicht Functional Tests. |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
// An usage of AWS.IotData in Lambdas | |
// | |
// This example assumes some things | |
// 1. That you have a environment variable AWS_IOT_ENDPOINT. This is the url that you can find in AWS IoT dashboard settings | |
// 2. The lambda and your aws iot devices are on the same account and region | |
const AWS = require('aws-sdk'); | |
const iotData = new AWS.IotData({ endpoint: process.env.AWS_IOT_ENDPOINT }); | |
const handler = (event, context) => { |
# Taxonomy terms: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_taxonomy_term-php | |
# Menu links: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_menu_link-php | |
# File items: | |
- https://gist.github.com/facine/35bb291811c146b6fc9e#file-create_file-php | |
# Nodes: |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "/Users/am/Downloads/precise64.box" | |
config.vm.network :forwarded_port, guest: 4000, host: 4000 | |
config.vm.hostname = 'stasis-box' | |
config.vm.provision :puppet do |puppet| |
#!/bin/bash | |
# usage: drupal-quick-dump user host database | |
USER="$1" | |
HOST="$2" | |
DB="$3" | |
DATE=`date +%Y%m%d` | |
# Get User Password | |
echo "Please provide the password for ${USER} on db ${DB} hosted at ${HOST}:" |
<?php | |
/** | |
* @file views-view-grid.tpl.php | |
* Default simple view template to display a rows in a grid. | |
* | |
* - $rows contains a nested array of rows. Each row contains an array of | |
* columns. | |
* | |
* @ingroup views_templates | |
*/ |
<?php | |
$countries = array | |
( | |
'AF' => 'Afghanistan', | |
'AX' => 'Aland Islands', | |
'AL' => 'Albania', | |
'DZ' => 'Algeria', | |
'AS' => 'American Samoa', | |
'AD' => 'Andorra', |