Skip to content

Instantly share code, notes, and snippets.

View musus's full-sized avatar

Susumu Seino musus

View GitHub Profile
@musus
musus / README.md
Created November 5, 2021 06:26 — forked from Nia-TN1012/README.md
WordPressにて、wp-content内の指定したファイルとディレクトリの所有者とパーミッションを設定するスクリプトです。

概要

WordPressのプラグインやテーマ、アップロードディレクトリ内の、ファイルとディレクトリの所有者及びパーミッションを設定するスクリプトです。

スクリプト

  • plugins.sh
  • themes.sh
  • uploads.sh

使い方(plugins.shでの例)

@musus
musus / deprecated.md
Created June 23, 2020 02:57 — forked from Rarst/deprecated.md
WordPress coding standards configuration for PhpStorm

Now Native

PhpStorm now bundles WordPress coding style natively, starting from version 8.

  1. Go to Project Settings > Code Style > PHP.
  2. Select Set From... (top right of window) > Predefined Style > WordPress.

No longer need to muck with this import! :)

@musus
musus / behat-reference.feature
Created December 28, 2018 02:09 — forked from mnapoli/behat-reference.feature
Behat Mink reference
# Given
Given I am on [the] homepage
Given I am on "url"
# When
When I go to [the] homepage
When I go to "url"
When I reload the page