View app.js
const app = new Vue({
el: '#app'
});
// Output list of components to the browser devtools.
console.log(app.$options.components);
View functions.php
// remove wp version param from any enqueued scripts
function enqueueRemoveWpVersion($src) {
if ( strpos($src, 'ver='))
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'enqueueRemoveWpVersion', 9999 );
add_filter( 'script_loader_src', 'enqueueRemoveWpVersion', 9999 );
View verification.block
Verifying my Blockstack ID is secured with the address 19f4LPMy5SXcgPz6VcBubrkRuGZSvmvSKY https://explorer.blockstack.org/address/19f4LPMy5SXcgPz6VcBubrkRuGZSvmvSKY
View template.php
<?php
/**
* HTML template preprocessing.
*/
function MYTHEME_preprocess_html(&$variables) {
// Add the page title as a css class to allow for page specific targetting.
try {
if (!drupal_is_front_page()) {
$title = drupal_get_title();
View css.php
<?php
$files = [
// Insert Files Here
];
$str = '';
function combine_file_contents($filename, $str)
{
View wow-class-colors.scss
$wow_priest: #FFFFFF;
$wow_mage: #69CCF0;
$wow_warlock: #9482C9;
$wow_rogue: #FFF569;
$wow_druid: #FF7D0A;
$wow_monk: #00FF96;
$wow_demon_hunter: #A330C9;
$wow_hunter: #ABD473;
View countdown.php
<?php
$date = ''; // Pass in your date variable here, eg $date = '2014-09-08'
$today = new DateTime();
$to = new DateTime($date);
$countdown = $today->diff($to);
// Seperate variables for days, months, years, etc.
$seconds = $countdown->s;
$days = $countdown->d;
View setup.php
<?php
$composer_src = "https://getcomposer.org/composer.phar";
$phpdoc_src = "http://phpdoc.org/phpDocumentor.phar";
$phpunit_src = "https://phar.phpunit.de/phpunit.phar";
$yes_values = ['', 'y', 'Y', 'yes', 'Yes'];
$bin_path = "/usr/local/bin/";
function install_package($name, $package_url)
View script.js
var website = 'http://www.google.co.uk';
var filename = './google.jpg';
var page = require('webpage').create();
page.viewportSize = {
width: 1024,
height: 592
};
page.open(website, function(status) {
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: