Pixel Everywhere

There are only 10 types of people in this world. Those who know binary and those who don't.

Useful CLI Commands — June 16, 2015

Useful CLI Commands

There are infinite commands out there but it’s a good to write a small amount of them. My world usually revolves around these commands when inside a project folder:


  • Installing: $ curl -sS https://getcomposer.org/installer | php
  • Using: $ composer install[, require, remove, search] [package]
  • Updating: $ composer update (after deleting or updating lock file)
  • Creating $ composer init
  • For any PHAR or JSON issues, re-install Cygwin


  • File: $ php phpDocumentor.phar  -f path/to/an/additional/file -t path/to/my/api/docs
  • Directory: $ php phpDocumentor.phar -d path/to/my/project -t path/to/my/api/docs


  • $  curl -X DELETE  –data “id=1” -H “Accept:application/json” http://localhost/project/user


  • $ git add .
  • $ git commit -m ‘Message.’ -a
  • $ git tag -a -m ‘Major release.’
  • $ git push origin master
  • $ git push origin –tags


  • $ taskkill /IM node.exe (if an app/server is stuck, use this command)
  • $ npm ls -g –depth=0 (remove depth to list all dependencies)
WordPress.Org Plugins I Usually Need — June 15, 2015

WordPress.Org Plugins I Usually Need

These are my personal choices and the ones I normally use when creating new projects. Of course, there are other items like PayPal, Facebook Comments, eCommerce and such. But these items are a bit tricky to find and remember:

  1. Custom Post Type – to create different post types such as posts, pages, ads, etc.
  2. Advanced Custom fields – to create different form fields per page
  3. Duplicator – used for replicating everything from localhost all the way to an online hosting server
  4. Nav Menu Roles – allows freedom to determine which menu items are shown based on user log sessions
  5. User Role Editor – provides a way to create new user types, roles and permissions
  6. Pie Register – provides generic pages for user pages such as login, register, forgot password
  7. Role Scoper