I hereby claim:
- I am aaroneaton on github.
- I am aaroneaton (https://keybase.io/aaroneaton) on keybase.
- I have a public key whose fingerprint is D1D5 4ACA C40F E038 52C3 4307 F38C 5B43 ED0A E121
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
"repositories": [ | |
{ | |
"type" : "package", | |
"package": { | |
"name": "wordpress/unit-tests", | |
"version": "1.0", | |
"source" : { | |
"type": "svn", | |
"url": "http://unit-tests.svn.wordpress.org", | |
"reference": "trunk" |
class MyComponent extends React.Component { | |
... | |
render() { | |
return ( | |
<div className="parent"> | |
<div className="child" ref={el => this.targetEl = el}>Content Here</div> | |
</div> | |
) | |
} | |
... |
# Init script for your neat site | |
echo "Commencing My Neat Site Setup" | |
# Make a database, if we don't already have one | |
# You can change the table name to anything you like | |
echo "Creating database (if it's not already there)" | |
mysql -u root --password=root -e "CREATE DATABASE IF NOT EXISTS my_neat_site" | |
mysql -u root --password=root -e "GRANT ALL PRIVILEGES ON my_neat_site.* TO wp@localhost IDENTIFIED BY 'wp';" |
<?php // Remove this line | |
// Disable comments on all pages | |
add_action( 'init', function() { | |
remove_post_type_support( 'page', 'comments' ); | |
}, 100 ); |
# Get rid of the default crap | |
wp site empty --yes | |
# Remove Hello Dolly (sorry Matt) | |
wp plugin uninstall hello | |
# Install Genesis framework | |
wp theme install <super-secret-url-for-genesis> | |
# Install plugins available in repo |
<?php | |
class TodoSpec extends ObjectBehavior { | |
public function let() { | |
\WP_Mock::setUp(); | |
} | |
public function letGo() { | |
\WP_Mock::tearDown(); | |
} |
-- Save the foreground application | |
tell application "System Events" | |
set currentApp to name of 1st process whose frontmost is true | |
end tell | |
-- Get Lync in the foreground so we can use the menu | |
tell application "Microsoft Lync" | |
activate | |
end tell |