Skip to content

Instantly share code, notes, and snippets.

Luke Woodward lkwdwrd

Block or report user

Report or block lkwdwrd

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am lkwdwrd on github.
  • I am lkwdwrd (https://keybase.io/lkwdwrd) on keybase.
  • I have a public key ASD2LrfdNkrbG0xTVdbHFu8zejkexhHw1RS6erpucEwHAQo

To claim this, I am signing this object:

@lkwdwrd
lkwdwrd / WPMakeV1.md
Created Aug 28, 2016
WP Make Version 1
View WPMakeV1.md

WP Make Version 1

WP Make has been a very useful tool, but has suffered many small problems over the last several years. To that end, WP Make has been re-imagined in a way to try and deal with many of the pain points it has had to-date.

WP Make has been in a sub-one-point-oh state since its inception. This was intentional, as it was intended originally to be a port of the original grunt-init plugin and theme scripts, moved over to Yeoman in as quick a way possible. With 1.0, we will take what we learned from this hodgepodge of scripts and apply it to creating a smooth, flexible, and maintainable generator to help us bootstrap our work more quickly.

Architecture

The heart of the 1.0 changes is a major architecture shift. Where before WP Make was the most basic of Yeoman generators, now it will come into it's own with an architecture that makes input and output much more declarative and flexible.

View keybase.md

Keybase proof

I hereby claim:

  • I am lkwdwrd on github.
  • I am lkwdwrd (https://keybase.io/lkwdwrd) on keybase.
  • I have a public key ASAlBozXC9BRzYcmALE1e1GJylOIEIVZIGjiGUc_F9Eq7go

To claim this, I am signing this object:

View class-reflector-decorator.php
<?php
namespace WP_Parser\Reflection;
use WP_Parser\Reflection\Reflector_Meta;
final class Reflector_Decorator {
use Reflector_Meta;
private $_reflector;
View class-doc-block-factory.php
<?php
namespace WP_Parser\Reflection;
use WP_Parser\Reflection\Doc_Block;
use phpDocumentor\Reflection\Location;
use phpDocumentor\Reflection\DocBlockFactory;
use phpDocumentor\Reflection\DocBlockFactoryInterface;
use phpDocumentor\Reflection\Types\Context;
final class Doc_Block_Factory implements DocBlockFactoryInterface {
@lkwdwrd
lkwdwrd / Customfile
Created Sep 15, 2015
VVV Customfile for Hyper-V compatibility
View Customfile
# Hyper-V only overrides
config.vm.provider :hyperv do |v, override|
# Update memory and CPUs to match VVV config.
v.memory = 1024
v.cpus = 1
# Use a Hyper-V compatible base box
override.vm.box = "ericmann/trusty64
# Change all the folder to use SMB instead of Virtual Box shares
@lkwdwrd
lkwdwrd / Customfile
Created Sep 7, 2015
Hyper-VVV Customfile
View Customfile
# Use a compatible base box
config.vm.provider :hyperv do |v, override|
override.vm.box = "ericmann/trusty64"
v.memory = 1024
v.cpus = 1
end
# Change all the folder to use SMB instead of Virtual Box shares
config.vm.synced_folders.each do |id, options|
# Make sure we use SMB for file mounts on Windows
@lkwdwrd
lkwdwrd / bash
Created May 27, 2014
Vagrant Up -- connection timeout
View bash
Luke$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'ubuntu/trusty64'
default: URL: https://vagrantcloud.com/ubuntu/trusty64
==> default: Adding box 'ubuntu/trusty64' (v14.04) for provider: virtualbox
default: Downloading: https://vagrantcloud.com/ubuntu/trusty64/version/1/provider/virtualbox.box
==> default: Successfully added box 'ubuntu/trusty64' (v14.04) for 'virtualbox'!
@lkwdwrd
lkwdwrd / comments-templates.php
Last active Jan 18, 2018
Ajax Comment Fun with WordPress JS Helpers
View comments-templates.php
<?php // Templates for ajax comments ?>
<?php /* Wrap for comments in general should none be present */ ?>
<script type="text/html" id="tmpl-comment-wrap">
<div class="comments">
<h2 class="comments-title">Comments</h2>
<ol class="commentlist"></ol>
</div>
</script>
You can’t perform that action at this time.