View xdebug-setup.sh
# 1. Access box via ssh
vagrant ssh
# 2. Update packages and make sure debug is install
sudo apt-get update
sudo apt-get install php-xdebug
# 3. Open Xdebug Config File
View background-four.json
{
"particles": {
"number": {
"value": 60,
"density": {
"enable": true,
"value_area": 800
}
},
"color": {
View background-three.json
{
"particles": {
"number": {
"value": 60,
"density": {
"enable": true,
"value_area": 800
}
},
"color": {
View .profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
# Author: Tyler Kemme borrowing heavily from https://gist.github.com/natelandau
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
View tk-lipsum.php
/**
* This php script queries a form at http://www.lipsum.com/ to get a
* hashed version of a provided or default password
*
* This script is run using the command 'lipsum p 4' where p stands for
* paragraph and 4 is the number of paragraphs. Other option is w for words.
*
*/
// Query in the form of two parameters 'type' and number of 'type'
View edit-mark-complete-btn-text.php
<?php // don't copy this line!!!
/**
* Displays custom text for the Mark Complete button but only for a
* specific course
*
* Added: 2-17-2017 Tyler Kemme
*/
function custom_mark_complete_text( $button_text, $lesson ) {
View tk-alfred-wpash.php
/**
* This php script queries a form at
* http://scriptserver.mainframe8.com/wordpress_password_hasher.php to get a
* hashed version of a provided or default password
*
* This script is run using the command 'wpash <password>'. If the command is run without
* any parameters it will return the hash of the string 'password'. If a parameter is provided
* (example: 'wpash P@s$w0rD'), this script will return the hash of the string 'P@s$w0rD'
* This can be used in an Alfred Workflow to hash passwords for Wordpress sites. A great tool
* for developers who manage databases for a lot of Wordpress sites
View lifterlms-custom-profile-fields.php
<?php // don't copy this line to your functions.php file
/**
*
* Create Company Industry as a custom field upon registration or checkout
*
* @param $fields - fields already being registered
* @param $screen - either checkout or registration screen
* @return $fields - array with added field
*/
function add_company_industry_lifterlms ( $fields , $screen ) {
View lifterlms-solstice-sidebar-compat.php
<?php // don't copy this line into your functions.php file!
/**
* Display LifterLMS Course and Lesson sidebars
* on courses and lessons in place of the sidebar returned by
* this function
* @param string $id default sidebar id (an empty string)
* @return string
*/
function my_llms_sidebar_function( $id ) {