Skip to content

Instantly share code, notes, and snippets.

View masoninthesis's full-sized avatar

Mason Lawlor masoninthesis

View GitHub Profile
add_action( 'gform_user_updated', 'add_additional_role', 10, 4 );
function add_additional_role( $user_id, $feed, $entry, $user_pass ) {
// Run only for form id 17
$form = GFAPI::get_form( $entry['form_id'] );
if ( $form['id'] != 17 ) {
return;
}
GFCommon::log_debug( __METHOD__ . '(): running for User ID: ' . $user_id );
// Role name ID to add
@media (prefers-color-scheme: dark) {
body {
background: #111 !important;
}
#panel, #mainHeader {
background-color: #111 !important;
border-bottom: none !important;
}
Install of gravitywiz/gravityperks failed
12/15 [======================>-----] 80% Skipped installation of bin bin/phpcs for package squizlabs/php_codesniffer: name conflicts with an existing file
Skipped installation of bin bin/phpcbf for package squizlabs/php_codesniffer: name conflicts with an existing file
15/15 [============================] 100%
[RuntimeException]
Failed to extract gravitywiz/gravityperks: (9) '/usr/bin/unzip' -qq '/Users/masoninthesis/Sites/Bonsai.so/site/vendor/composer/tmp-2b11cc5491436d35eb83c0e55f9bf9b5' -d '/Users/masoninthesis/Sites/Bonsai.so/site/vendor/composer/76ed
adbe'
[/Users/masoninthesis/Sites/Bonsai.so/site/vendor/composer/tmp-2b11cc5491436d35eb83c0e55f9bf9b5]
Deprecated: Theme without footer.php is <strong>deprecated</strong> since version 3.0.0 with no alternative available. Please include a footer.php template in your theme. in /srv/www/thefutur.jackalope.io/current/web/wp/wp-includes/functions.php on line 4977
Call Stack
# Time Memory Function Location
1 0.0033 403312 {main}( ) .../index.php:0
2 0.0256 404832 require( '/srv/www/thefutur.jackalope.io/current/web/wp/wp-blog-header.php' ) .../index.php:6
3 3.2678 42569808 wp( ) .../wp-blog-header.php:16
4 3.2678 42569840 WP->main( ) .../functions.php:1285
5 3.2720 42723760 do_action_ref_array( ) .../class-wp.php:758
6 3.2720 42725040 WP_Hook->do_action( ) .../plugin.php:544
7 3.2720 42725040 WP_Hook->apply_filters( ) .../class-wp-hook.php:311
@masoninthesis
masoninthesis / gist:4324b462c3cd86dcc5d256f792339593
Created November 14, 2020 01:00
Deprecated: Theme without header.php
Deprecated: Theme without header.php is <strong>deprecated</strong> since version 3.0.0 with no alternative available. Please include a header.php template in your theme. in /srv/www/thefutur.jackalope.io/current/web/wp/wp-includes/functions.php on line 4977
Call Stack
# Time Memory Function Location
1 0.0033 403312 {main}( ) .../index.php:0
2 0.0256 404832 require( '/srv/www/thefutur.jackalope.io/current/web/wp/wp-blog-header.php' ) .../index.php:6
3 3.2678 42569808 wp( ) .../wp-blog-header.php:16
4 3.2678 42569840 WP->main( ) .../functions.php:1285
5 3.2720 42723760 do_action_ref_array( ) .../class-wp.php:758
6 3.2720 42725040 WP_Hook->do_action( ) .../plugin.php:544
7 3.2720 42725040 WP_Hook->apply_filters( ) .../class-wp-hook.php:311
?ver=3.7:1 Uncaught IntegrationError: This Element has already been destroyed. Please create a new one.
at new t (https://js.stripe.com/v3/?ver=3.7:1:11076)
at t.value (https://js.stripe.com/v3/?ver=3.7:1:102658)
at HTMLDivElement.<anonymous> (https://js.stripe.com/v3/?ver=3.7:1:112425)
at HTMLDivElement.<anonymous> (https://js.stripe.com/v3/?ver=3.7:1:29239)
t @ ?ver=3.7:1
value @ ?ver=3.7:1
(anonymous) @ ?ver=3.7:1
(anonymous) @ ?ver=3.7:1
<p><img src="https://jackalope.io/app/uploads/2020/06/screenshot.png" alt="Project Bonsai Screenshot"></p>
<h1 id="project-bonsai">Project Bonsai</h1>
<p><a href="https://bonsai.jackalope.io">Project Bonsai</a> is a secure and modern Wordpress stack.</p>
<p><strong>The goal:</strong> To simplify the process of building a Roots Wordpress site with a streamlined configuration with a corresponding <a href="https://bonsai.jackalope.io">tutorial videos</a>.</p>
<p>Bonsai is a custom configuration of <a href="https://wordpress.org/">Wordpress</a>, <a href="https://roots.io/">Roots</a>, <a href="https://roots.io/trellis">Trellis</a>, <a href="https://roots.io/bedrock">Bedrock</a>, <a href="https://roots.io/sage">Sage</a>, <a href="https://getbootstrap.com/">Bootstrap</a> and other open source projects.</p>
<h3 id="tutorial">Tutorial</h3>
<p>Trello board: <a href="https://trello.com/invite/b/gtpcYNvC/961d55ce28eeb7a573be8914df41c797/bonsai-speed-run">Speed Run</a></p>
<p>For a video tutorial on creating a Bonsai proj
non-zero return code
10% building modules 0/1 modules 1 active ...
./scripts/main.js ./sty
10% building modules 1/1
10% buildingive
modules 1/2 modules 1 active multi ./scripts/customi
10% building modules 2/2 modules
10% building modules 2/3
TASK [deploy : Compile assets for production] **********************************
task path: /Users/masoninthesis/Sites/jackalope.io-v9/trellis/deploy-hooks/build-before.yml:21
Using module file /Library/Python/2.7/site-packages/ansible/modules/commands/command.py
<138.68.26.122> ESTABLISH LOCAL CONNECTION FOR USER: masoninthesis
<138.68.26.122> EXEC /bin/sh -c 'echo ~ && sleep 0'
<138.68.26.122> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-59462270873986 `" && echo ansible-tmp-1518840239.85-59462270873986="` echo /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-59462270873986 `" ) && sleep 0'
<138.68.26.122> PUT /var/folders/5c/_nnxktxx4m71434nh6dy5v840000gp/T/tmpMX0ywb TO /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-59462270873986/command.py
<138.68.26.122> EXEC /bin/sh -c 'chmod u+x /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-59462270873986/ /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-594
TASK [deploy : Compile assets for production] **********************************
task path: /Users/masoninthesis/Sites/jackalope.io-v9/trellis/deploy-hooks/build-before.yml:21
Using module file /Library/Python/2.7/site-packages/ansible/modules/commands/command.py
<138.68.26.122> ESTABLISH LOCAL CONNECTION FOR USER: masoninthesis
<138.68.26.122> EXEC /bin/sh -c 'echo ~ && sleep 0'
<138.68.26.122> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-59462270873986 `" && echo ansible-tmp-1518840239.85-59462270873986="` echo /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-59462270873986 `" ) && sleep 0'
<138.68.26.122> PUT /var/folders/5c/_nnxktxx4m71434nh6dy5v840000gp/T/tmpMX0ywb TO /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-59462270873986/command.py
<138.68.26.122> EXEC /bin/sh -c 'chmod u+x /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-59462270873986/ /Users/masoninthesis/.ansible/tmp/ansible-tmp-1518840239.85-594