Skip to content

Instantly share code, notes, and snippets.

View thamaraiselvam's full-sized avatar
🐼
Inner Peace

Thamaraiselvam (aka) Tham thamaraiselvam

🐼
Inner Peace
View GitHub Profile
@thamaraiselvam
thamaraiselvam / Change files and folders permission recursively.md
Last active October 4, 2021 09:33
Change folder and files permission to 755 / 644 recursively

Use to set 755 for all the folders recursively

sudo find . -type d -exec chmod 0755 {} \;

Use to set 644 for all the files recursively

sudo find . -type f -exec chmod 0644 {} \;
@thamaraiselvam
thamaraiselvam / Install atom
Last active November 9, 2018 21:15
Setting up Atom with WordPress and useful PHP packages
Base
Install atom here https://atom.io/
Install atom-ide-ui and ide-php packages to make atom to Atom PHP IDE
Theme
I love Monokai theme its really good in both sublime and atom
Go to install themes -> monokai -> install
Go to installed themes -> UI theme -> One Dark -> Syntax theme -> Monokai
@thamaraiselvam
thamaraiselvam / CLI.sh
Created September 22, 2017 12:55 — forked from rezzz-dev/CLI.sh
PHP Code Sniffer with WordPress Coding Standards and Atom
#Install PHP CodeSniffer
brew install homebrew/php/php-code-sniffer #if using Homebrew
git clone https://github.com/squizlabs/PHP_CodeSniffer.git phpcs #if you want to do it directly
#Install WordPress Coding Standards
git clone -b master https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs
#Add WordPress standards to PHPCS config
phpcs -i #shows the libraries installed
phpcs --config-set installed_paths <path to dir that you cloned>/wpcs