PhpStorm now bundles WordPress coding style natively, starting from version 8.
- Go to
Project Settings>Code Style>PHP. - Select
Set From...(top right of window) >Predefined Style>WordPress.
No longer need to muck with this import! :)
| 2014-03-17 10:41:31,833 [AMRM Callback Handler Thread] INFO HoyaAppMaster.yarn - Shutdown Request received | |
| 2014-03-17 10:41:31,841 [AMRM Callback Handler Thread] INFO impl.AMRMClientAsyncImpl - Shutdown requested. Stopping callback. | |
| 2014-03-17 10:41:32,841 [main] INFO appmaster.HoyaAppMaster - Triggering shutdown of the AM: Shutdown requested from RM | |
| 2014-03-17 10:41:32,842 [main] INFO appmaster.HoyaAppMaster - Process has exited with exit code 0 mapped to 0 -ignoring | |
| 2014-03-17 10:41:32,843 [main] INFO state.AppState - Releasing 1 containers | |
| 2014-03-17 10:41:32,843 [main] INFO appmaster.HoyaAppMaster - Application completed. Signalling finish to RM | |
| 2014-03-17 10:41:32,843 [main] INFO appmaster.HoyaAppMaster - Unregistering AM status=FAILED message=Shutdown requested from RM | |
| 2014-03-17 10:41:32,855 [main] INFO appmaster.HoyaAppMaster - Failed to unregister application: org.apache.hadoop.yarn.exceptions.InvalidApplicationMasterRequestException: Application doesn't exist in cache appattempt_139504910217 |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project name="Symfony2 project" default="build"> | |
| <target name="build" depends="pull, vendors, cache, assetic, assets"> | |
| <echo message="Symfony2 project"/> | |
| </target> | |
| <macrodef name="git"> | |
| <attribute name="command" /> | |
| <attribute name="dir" default="" /> | |
| <element name="args" optional="true" /> |
| --- | |
| - hosts: all | |
| sudo: True | |
| pre_tasks: | |
| - name: APT | Check cache update time | |
| stat: path=/var/cache/apt | |
| register: apt_cache_stat | |
| - name: APT | Update stale cache | |
| apt: update_cache=yes |
| id | alias | url | |
|---|---|---|---|
| 790669100971515 | pegida | https://www.facebook.com/pegidaevdresden | |
| 507642806040134 | siegfried-daebritz | https://www.facebook.com/pegida.daebritz | |
| 636833049762948 | klotzsche-sagt-nein | https://www.facebook.com/DRESDEN-Klotzsche-sagt-NEIN-zum-Heim-636833049762948/ | |
| 1561506014089157 | heimatschutz-meissen | https://www.facebook.com/Ini.Heimatschutz/ | |
| 594316897372117 | orakel-debakel | https://www.facebook.com/OrakelDebakel | |
| 880728778665642 | widerstand-dresden | https://www.facebook.com/Widerstand-Dresden-880728778665642/ | |
| 603436016461261 | nein-zu-johannstadt | https://www.facebook.com/NEIN-zur-ZeltstadtContainerdorf-in-Johannstadt-603436016461261/ | |
| 1701421860086089 | freie-kameradschaft-dresden | https://www.facebook.com/Freie-Kameradschaft-Dresden-1701421860086089/ | |
| 1691946287705666 | freie-aktivisten-dresden | https://www.facebook.com/FreieAktivistenDresden/ |
| <?php | |
| // Our input | |
| $time = microtime(true); | |
| // Determining the microsecond fraction | |
| $microSeconds = sprintf("%06d", ($time - floor($time)) * 1000000); | |
| // Creating our DT object | |
| $tz = new DateTimeZone("Etc/UTC"); // NOT using a TZ yields the same result, and is actually quite a bit faster. This serves just as an example. |
| <?php | |
| namespace Acme\DemoBundle\Features\Context; | |
| use Behat\BehatBundle\Context\BehatContext, | |
| Behat\Behat\Context\TranslatedContextInterface, | |
| Behat\Behat\Exception\PendingException; | |
| use Behat\Gherkin\Node\PyStringNode, | |
| Behat\Gherkin\Node\TableNode; |
| # {{ ansible_managed }} | |
| # This file describes the network interfaces available on your system | |
| # and how to activate them. For more information, see interfaces(5). | |
| # The loopback network interface | |
| auto lo | |
| iface lo inet loopback | |
| {% if ansible_interfaces|length > 2 %} |
| <?php | |
| namespace MFB\Behat\Subcontext; | |
| use Behat\Gherkin\Node\PyStringNode; | |
| use Behat\MinkExtension\Context\RawMinkContext; | |
| use Symfony\Component\Console\Tester\CommandTester; | |
| use Symfony\Component\EventDispatcher\EventDispatcher; | |
| /** |