Skip to content

Instantly share code, notes, and snippets.

View nathandentzau's full-sized avatar

Nathan Dentzau nathandentzau

View GitHub Profile

Keybase proof

I hereby claim:

  • I am nathandentzau on github.
  • I am nathandentzau (https://keybase.io/nathandentzau) on keybase.
  • I have a public key ASBDnYZCiUxG-tzwph-x5v3FdydqOmMl_iZyIlzdn98PnAo

To claim this, I am signing this object:

diff --git a/lib/Drupal/Component/PhpStorage/FileStorage.php b/lib/Drupal/Component/PhpStorage/FileStorage.php
index 63b3cbe..c1d8170 100644
--- a/lib/Drupal/Component/PhpStorage/FileStorage.php
+++ b/lib/Drupal/Component/PhpStorage/FileStorage.php
@@ -164,7 +164,7 @@ EOF;
if (is_dir($directory)) {
// Avoid writing permissions if possible.
if (fileperms($directory) !== $mode) {
- return chmod($directory, $mode);
+ return @chmod($directory, $mode);
@nathandentzau
nathandentzau / chromatic-mbp-setup.md
Created November 4, 2018 04:39
Chromatic MBP Setup

Chromatic Macbook Pro Setup

Install Xcode

$ xcode-select --install

Install Ansible

@nathandentzau
nathandentzau / lando.services.yml
Last active May 10, 2019 14:47
Local development settings for Drupal 8 in my Lando setup
# Local development services.
#
# To activate this feature, follow the instructions at the top of the
# 'example.settings.local.php' file, which sits next to this file.
parameters:
http.response.debug_cacheability_headers: true
twig.config:
debug: true
services:
cache.backend.null:
{
"workbench.colorTheme": "Solarized Dark",
"editor.fontFamily": "Menlo for Powerline",
"editor.fontSize": 14,
"editor.rulers": [80, 120],
"files.associations": {
"*.inc": "php",
"*.install": "php",
"*.module": "php",
"*.profile": "php",
require_relative "lib/ga/optimizely_event_client"
account_id = 392850087
experiment_id = 18203860323
campaign_id = 18191831043
variation_ids = {
original: 18194071072,
variation: 18183880934
}
events = {