This is an incomplete list of resources including courses and individuals who publish content that has helped me grow as a web developer and designer. Many of these resources are WordPress-specific as that is my current area of specialization. This list will grow over time. If you've got something to add, send me a link @kevinwhoffman and I'll check it out!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Source: http://stackoverflow.com/questions/5943368/dynamically-generating-a-qr-code-with-php | |
// Google Charts Documentation: https://developers.google.com/chart/infographics/docs/qr_codes?csw=1#overview | |
// CHart Type | |
$cht = "qr"; | |
// CHart Size | |
$chs = "300x300"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Brew packages | |
# | |
brew install git | |
# brew install node - having npm install issues, so installed manually | |
brew install wget | |
brew install homebrew/php/php56 | |
brew install homebrew/php/composer | |
# brew install task - didn't install with gnutls, had to make from source |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Example moving the DPSG Global Library | |
# 1 Checkout the Beanstalk Repo | |
git clone --bare [email protected]:/dpsg-global-library.git | |
# 2 Push into your desired GitHub repo. (Please note that you must create the github repo prior to this step) | |
git push --mirror [email protected]:codeandtheory/dpsg-global-library.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# =============================================================================== | |
# Script to install PHPUnit in the Local by Flywheel Mac app | |
# These packages are installed | |
# | |
# PHPUnit, curl wget, rsync, git, subversion and composer. | |
# | |
# WordPress is installed in the `/tmp/wordpress` directory for use by PHPUnit. | |
# The WordPress test suite is installed in the `/tmp/wordpress-tests-lib` directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phpcs --standard=PHPCompatibility -d date.timezone=Europe/Amsterdam --extensions=php,inc,module,install --runtime-set testVersion 5.3-7.2 -pvs . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save-dev del eslint fs-extra gulp gulp-bower gulp-checktextdomain gulp-concat gulp-cssmin gulp-filter gulp-imagemin gulp-livereload gulp-notify gulp-rename gulp-rtlcss gulp-sass gulp-sort gulp-sourcemaps gulp-uglify gulp-watch gulp-wp-pot main-bower-files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl "https://api.github.com/users/wordimpress/repos?page=1&per_page=100" | | |
grep -e 'git_url*' | | |
cut -d \" -f 4 | | |
xargs -L1 git clone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define( 'WP_DEBUG', true ); | |
define( 'SCRIPT_DEBUG', true ); | |
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { | |
// Enable Debug logging to the /wp-content/debug.log file | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
@ini_set( 'log_errors', 'On' ); | |
@ini_set( 'display_errors', 'Off' ); | |
@ini_set( 'error_reporting', E_ALL ); | |
@ini_set( 'error_log', 'php_error.log' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Brew packages | |
# | |
brew install git | |
# brew install node - having npm install issues, so installed manually | |
brew install wget | |
brew install homebrew/php/php56 | |
brew install homebrew/php/composer | |
# brew install task - didn't install with gnutls, had to make from source |
OlderNewer